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

Correctly move layout legend nodes when they are filtered #60536

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Djedouas
Copy link
Member

Description

Fixes #60383.

In a layout, when moving a legend node on a filtered legend, the computed offset was wrong if some nodes were hidden between the node to move and its destination.

The offset is now computed with the next/previous visible index.

…ltered

Fixes qgis#60383.

In a layout, when moving a legend node on a filtered legend, the
computed offset was wrong if some nodes were hidden between the node to
move and its destination.

The offset is now computed with the next/previous visible index.
@github-actions github-actions bot added this to the 3.42.0 milestone Feb 10, 2025
Copy link

github-actions bot commented Feb 10, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit f75e218)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit f75e218)

@Djedouas
Copy link
Member Author

I don't see why clang-tidy fails here... locally I don't get the moc file missing error, only the warnings.

By the way, I did not change anything in the includes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rule based symbology sorting with all fields in legend when only linked maps is ticked
1 participant