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

[pal] Always iterate through labeled layers in original layer order #60369

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

nyalldawson
Copy link
Collaborator

Ensures that labeling solutions are deterministic

Ensures that labeling solutions are deterministic
Copy link

github-actions bot commented Jan 31, 2025

🪟 Windows builds

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

🪟 Windows Qt6 builds

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

We want the highest layers in the layer tree to be handled first
@qgis qgis deleted a comment from github-actions bot Jan 31, 2025
@qgis qgis deleted a comment from github-actions bot Jan 31, 2025
@PatrikSylve
Copy link

Seems like a good solution!

Though I noticed that the providers linked to a layer is not added in order. So might need a similar fix also when the providers are created to ensure it is consistent.

@nyalldawson nyalldawson merged commit 31df6fa into qgis:master Jan 31, 2025
31 checks passed
@nyalldawson nyalldawson deleted the deterministic_labeling_2 branch January 31, 2025 22:54
@nyalldawson
Copy link
Collaborator Author

Thanks @PatrikSylve -- I've merged this one, so can you rebase your branch with the rule based fixed on top of current master?

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.

3 participants