Opened 14 years ago
Closed 13 years ago
#2962 closed bug (worksforme)
Double draw of layer when selecting and deselecting legend layer items
Reported by: | jpalmer | Owned by: | sunilkcube |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | MapCanvas | Version: | 1.5.0 |
Keywords: | Cc: | ||
Must Fix for Release: | Yes | Platform: | Windows |
Platform Version: | WinXP SP3 | Awaiting user input: | no |
Description
On WinXP SP3 using QGIS 1.5.0 I get two refreshes of the mapcanvas when selecting and deselecting layers.
On line 1541 of qgslegend.cpp there is a call to render the mapcanvas. However there is also a call to updateMapCanvasLayerSet() on line 1549. Should call to mMapCanvas->setRenderFlag( true ) on line 1541 be removed to stop refreshing the canvas twice?
Change History (6)
comment:1 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 13 years ago
comment:3 by , 13 years ago
Maybe the issue has been fix in trunk? I definitely didn't have the overview panel enabled when I was doing testing with 1.5.
comment:4 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
comment:5 by , 13 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:6 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
Hi Everyone,
Can anyone give suggestions ? The bug says layer is drawn twice. But the layer is drawn twice in the mapcanvas only when the overview panel is enabled, if the overview panel is disabled then enabling a layer will draw the layer in mapcanvas only once. So is this a bug really ?