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 issues with align dash pattern (fix #45432) #55969

Merged
merged 2 commits into from Jan 25, 2024

Conversation

alexbruy
Copy link
Contributor

Description

Dash pattern values are multiplied by "Stroke width" pen.widthF() before setting it to =>1 value, resulting in infinite loop. Also patternIndex is not updated correctly when zero length gap is present in dash pattern causing out of bounds error.

Fixes #45432, supersedes #45759.

@alexbruy alexbruy added Symbology Related to vector layer symbology or renderers Bug Either a bug report, or a bug fix. Let's hope for the latter! backport queued_ltr_backports Queued Backports labels Jan 24, 2024
@github-actions github-actions bot added this to the 3.36.0 milestone Jan 24, 2024
Copy link

github-actions bot commented Jan 24, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit 76fa5b0)

@nyalldawson nyalldawson merged commit 63ec572 into qgis:master Jan 25, 2024
30 checks passed
@alexbruy alexbruy deleted the fix-dash-pattern-tweaks branch January 25, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release-3_34 Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bad_alloc when using Outline: Simple Line with Align dash pattern to line length
2 participants