Bug report #3399

unitialized mouseButtonDown variable in qgsmapcanvas.cpp

Added by Steven Mizuno about 12 years ago. Updated about 12 years ago.

Assignee:nobody -
Category:Map Canvas
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:13459


in QgsMapCanvas::CanvasProperties the mouseButtonDown class member is not initialized. This causes the keyboard panning and zooming not to work until after a mouse click occurs on the map canvas. The behavior may depend on the platform -- I noticed this on Windows.

to demonstrate:

1. start QGIS

2. load a layer or project; the focus should be on the map canvas

3. use an arrow key to pan - nothing happens

4. click the mouse on the map

5. now an arrow key will pan

Associated revisions

Revision b543c66f
Added by Jürgen Fischer about 12 years ago

fix #3399

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision fb0e20eb
Added by Jürgen Fischer about 12 years ago

fix #3399

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c


#1 Updated by Jürgen Fischer about 12 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

fixed in . Thanks.

Also available in: Atom PDF