Bug report #8096

Show all layers / Hide all layers problem on Canvas

Added by Pedro Venâncio over 9 years ago. Updated over 9 years ago.

Category:Map Canvas
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16933



When you click on "Layer -> Show all layers" or "Layer -> Hide all layers", the option is applied in the TOC but not in the Canvas, which remains unchanged (without showing all the layers in the first case and without turning off all the layers in the second case).

To make the changes visible in the Canvas, you must perform some action, such as a Pan, aZoom In/Out, etc..

Tested on Linux, with code from github compiled today.

Associated revisions

Revision 915808d9
Added by Nathan Woodrow over 9 years ago

Refresh canvas after show/hide layers. Fix #8096


#1 Updated by Giovanni Manghi over 9 years ago

  • Category set to Map Canvas

Does not seems a regression, I see this also on 1.8, right? Worked on previous QGIS releases?

#2 Updated by Pedro Venâncio over 9 years ago

You are right, in the 1.8 final version, the error is already present. However, I've tested the version 1.7.4 and everything works as expected.

Curiously, I also have a development build of 1.8 in a virtual machine, and there also works well.

So, the error must have been introduced sometime in the last stages of 1.8 development.

#3 Updated by Giovanni Manghi over 9 years ago

  • Priority changed from Normal to Severe/Regression

#4 Updated by Anonymous over 9 years ago

  • Status changed from Open to Closed

#5 Updated by Pedro Venâncio over 9 years ago

Fix confirmed!

Thank you very much Nathan!

Also available in: Atom PDF