[QGIS-trac] [Quantum GIS] #3399: unitialized mouseButtonDown variable in qgsmapcanvas.cpp

Quantum GIS qgis at qgis.org
Sun Jan 9 20:31:37 EST 2011


#3399: unitialized mouseButtonDown variable in qgsmapcanvas.cpp
------------------------------------------------+---------------------------
   Reporter:  smizuno                           |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  MapCanvas                         |            Version:  Trunk        
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 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:[[BR]]
 1. start QGIS[[BR]]
 2. load a layer or project; the focus should be on the map canvas[[BR]]
 3. use an arrow key to pan - nothing happens[[BR]]
 4. click the mouse on the map[[BR]]
 5. now an arrow key will pan[[BR]]

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3399>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list