Bug report #15691

'Expand All'/'Collapse All' issue when opening a project

Added by R. R. over 7 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Unknown
Affected QGIS version:2.16.3 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23614

Description

When opening a .qgis file all groups and layers are displayed expanded. It seems this issue is a regression: #2908

15691.wmv (777 KB) R. R., 2016-10-13 04:38 AM

Associated revisions

Revision de85fdd6
Added by Martin Dobias over 7 years ago

Fix layer tree expanded state when used expand/collapse all (fixes #15691)

Revision d6860f30
Added by Martin Dobias over 7 years ago

Fix layer tree expanded state when used expand/collapse all (fixes #15691)

(cherry picked from commit de85fdd6e8fa3d4f38196376aabccce317cbf341)

Revision a3186f80
Added by Martin Dobias over 7 years ago

Fix layer tree expanded state when used expand/collapse all (fixes #15691)

(cherry picked from commit de85fdd6e8fa3d4f38196376aabccce317cbf341)

History

#1 Updated by Martin Dobias over 7 years ago

  • Status changed from Open to Feedback

So... if you save a project with some groups or layers collapsed, they are still shown expanded when you load the project again? If that's the case, I am unable to replicate the problem. Could you please attach more details on how to reproduce the problem and ideally add a test project that exhibits the problem?

#2 Updated by R. R. over 7 years ago

Hi Martin, I've uploaded a screencast to demonstrate the issue.

#3 Updated by R. R. over 7 years ago

The state of collapsed groups or layers is only saved if this small triangle icon left to the layer's name is used.

#4 Updated by Martin Dobias over 7 years ago

  • Status changed from Feedback to Closed

#5 Updated by R. R. over 7 years ago

Thx!

#6 Updated by Jürgen Fischer over 6 years ago

  • Category set to Unknown

Also available in: Atom PDF