Opened 14 years ago

Closed 14 years ago

#3399 closed bug (fixed)

unitialized mouseButtonDown variable in qgsmapcanvas.cpp

Reported by: smizuno Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: MapCanvas Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

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

Change History (1)

comment:1 by jef, 14 years ago

Resolution: fixed
Status: newclosed

fixed in r15013. Thanks.

Note: See TracTickets for help on using tickets.