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

Remove use of QgsLayoutEffect #54907

Merged
merged 11 commits into from Oct 19, 2023
Merged

Remove use of QgsLayoutEffect #54907

merged 11 commits into from Oct 19, 2023

Conversation

nyalldawson
Copy link
Collaborator

@nyalldawson nyalldawson commented Oct 11, 2023

This was only used to handle blend mode rendering of items, and causes crashes which cannot be worked around. We have to kill it and move to manual handling of blend modes for the items

QGraphicsEffects should NOT be used on QGraphicsItems. Despite being part of stable Qt API, it is broken and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501 for details.

Fixes #52079, likely many other crashes in layouts
Fixes #54907

QGraphicsEffects should NOT be used on QGraphicsItems. Despite
being part of stable Qt API, it is broken and results in crashes.

See https://bugreports.qt.io/browse/QTBUG-58501 for details.
This was only used to handle blend mode rendering of items, and
causes crashes which cannot be worked around. We have to kill it
and move to manual handling of blend modes for the items

Fixes qgis#52079, likely many other crashes in layouts
@github-actions github-actions bot added this to the 3.34.0 milestone Oct 11, 2023
@nyalldawson nyalldawson merged commit 5cde6a9 into qgis:master Oct 19, 2023
30 checks passed
@nyalldawson nyalldawson deleted the no_effect branch October 19, 2023 04:30
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.

QGIS Crashes frequently when I try to delete something from a duplicated map layout.
2 participants