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:
- start QGIS
- load a layer or project; the focus should be on the map canvas
- use an arrow key to pan - nothing happens
- click the mouse on the map
- now an arrow key will pan
Note:
See TracTickets
for help on using tickets.
fixed in r15013. Thanks.