Summary: | QML application crashes when using Breeze style and KColorSchemeManager | ||
---|---|---|---|
Product: | [Plasma] Breeze | Reporter: | george fb <georgefb899> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | nate, norbert |
Priority: | VHI | Keywords: | regression |
Version: | 5.20.90 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/breeze/commit/12e42f014338cce6a6d706a222a2f4af4bbb49b2 | Version Fixed In: | 5.21 |
Attachments: | example app |
Description
george fb
2021-02-08 18:41:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/breeze/-/merge_requests/81 Git commit 5de36bd1381b1d755c8f2dd4b95b9758d3225b14 by David Redondo. Committed on 09/02/2021 at 10:53. Pushed by davidre into branch 'master'. Clean up listener If the style is unloaded for example by an application dynamically switching styles, the listener was still around leading us to call into destroyed objects when the color scheme was changed. M +1 -1 kstyle/breezetoolsareamanager.cpp M +1 -0 kstyle/breezetoolsareamanager.h https://invent.kde.org/plasma/breeze/commit/5de36bd1381b1d755c8f2dd4b95b9758d3225b14 Git commit 12e42f014338cce6a6d706a222a2f4af4bbb49b2 by David Redondo. Committed on 09/02/2021 at 15:54. Pushed by davidre into branch 'Plasma/5.21'. Clean up listener If the style is unloaded for example by an application dynamically switching styles, the listener was still around leading us to call into destroyed objects when the color scheme was changed. (cherry picked from commit 5de36bd1381b1d755c8f2dd4b95b9758d3225b14) M +1 -1 kstyle/breezetoolsareamanager.cpp M +1 -0 kstyle/breezetoolsareamanager.h https://invent.kde.org/plasma/breeze/commit/12e42f014338cce6a6d706a222a2f4af4bbb49b2 The same fix also helped with digikam 7.2.0-rc, where I saw crashes due to colorscheme switches, see https://bugs.kde.org/show_bug.cgi?id=432646 |