Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layer tree performance with many nodes #38890

Closed
m-kuhn opened this issue Sep 20, 2020 · 0 comments · Fixed by #38891
Closed

Layer tree performance with many nodes #38890

m-kuhn opened this issue Sep 20, 2020 · 0 comments · Fixed by #38891
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@m-kuhn
Copy link
Member

m-kuhn commented Sep 20, 2020

When the layer tree has many nodes, interacting with it becomes cumbersome and slow.

Steps to reproduce:

  • Create a random point layer with 10000 points
  • Create a categorized renderer on the point id
  • Add a new layer to the legend
  • Wait (34 seconds here)
@m-kuhn m-kuhn added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Sep 20, 2020
m-kuhn added a commit to m-kuhn/QGIS that referenced this issue Sep 20, 2020
Only recalculate the position of the icons for affected legend nodes.
Avoids brute forcing over complex legends as soon as something is changed.

Fixes qgis#38890
nyalldawson pushed a commit that referenced this issue Sep 20, 2020
Only recalculate the position of the icons for affected legend nodes.
Avoids brute forcing over complex legends as soon as something is changed.

Fixes #38890
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant