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

[fix] Make scale dependent visibility more robust for labels #59022

Conversation

gacarrillor
Copy link
Member

@gacarrillor gacarrillor commented Oct 9, 2024

Followup #58968

Make labeling more robust when handling scale dependent visibility: handle exclusive/inclusive behavior on edge cases (non-round numbers).

Also, add tooltip for scale dependent visibility widgets (labeling) to indicate that min scale is exclusive and max scale is inclusive.

image


Fix #42443

…lity: handle exclusive/inclusive behavior on edge cases (non-round numbers)
@github-actions github-actions bot added this to the 3.40.0 milestone Oct 9, 2024
@gacarrillor gacarrillor added Labeling Related to QGIS map labeling GUI/UX Related to QGIS application GUI or User Experience Bug Either a bug report, or a bug fix. Let's hope for the latter! Diagrams labels Oct 9, 2024
Copy link

github-actions bot commented Oct 9, 2024

🪟 Windows builds

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

🪟 Windows Qt6 builds

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

Copy link
Contributor

@nirvn nirvn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to merge provided the .ui changes are reverted to only include the tooltip string changes.

src/ui/qgstextformatwidgetbase.ui Outdated Show resolved Hide resolved
…o indicate that min scale is exclusive and max scale is inclusive
@gacarrillor gacarrillor force-pushed the scale_dependent_robustness_non_round_scales_labeling branch from b7c975e to 474dab8 Compare October 9, 2024 14:33
@nyalldawson nyalldawson merged commit 0e670f0 into qgis:master Oct 9, 2024
29 checks passed
@gacarrillor gacarrillor deleted the scale_dependent_robustness_non_round_scales_labeling branch October 9, 2024 20:29
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! Diagrams GUI/UX Related to QGIS application GUI or User Experience Labeling Related to QGIS map labeling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Label visibility by scale max/min values inconsitencies
3 participants