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

[Backport queued_ltr_backports] Don't restore corrupted sizes/positions when restoring layout items #59103

Merged

Conversation

qgis-bot
Copy link
Collaborator

Backport #58906
Authored by: @nyalldawson

This can happen when eg a broken item size causes a nan position,
which breaks the layout size calculation and results in nan or
massive x/y values. Restoring these leads to a broken
layout which cannot be interacted with.

Refs #55240
This causes the map item to have nan pos or size, which corrupts
the layout
@github-actions github-actions bot added this to the 3.40.0 milestone Oct 16, 2024
@nyalldawson nyalldawson reopened this Oct 16, 2024
@nyalldawson nyalldawson merged commit e1147fe into queued_ltr_backports Oct 17, 2024
61 of 62 checks passed
@nyalldawson nyalldawson deleted the backport-58906-to-queued_ltr_backports branch October 17, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants