-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Conversation
🪟 Windows buildsDownload Windows builds of this PR for testing. 🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. |
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. |
5efa4c6
to
a3bebfc
Compare
#60592 Should fix the cland-tidy issue but it's not related at all to this PR |
a3bebfc
to
9da1bef
Compare
9da1bef
to
89f77b1
Compare
You have to fix the warning in clang-tidy, an anonymous namespace may fix it |
6ad1436
to
874685d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a cosmetic proposal, the rest looks good
874685d
to
82098b4
Compare
82098b4
to
59e41c0
Compare
…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.
For "private" functions like the underscore-prefixed-by-convention functions, use an unnamed namespace to affect visibility over static keyword which has many meanings.
59e41c0
to
6f32786
Compare
unrelated test failure |
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.