Summary: | Apps launched via overview end up with unwanted environment variables | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | priv.luk |
Component: | effects-overview | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | me, nate, nicolas.fella |
Priority: | NOR | ||
Version: | 5.26.1 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/4c5830ba149ec4462587a95f78624dfc981d281c | Version Fixed In: | 5.26.3 |
Sentry Crash Report: |
Description
priv.luk
2022-10-25 12:01:11 UTC
Thank you for the bug report! Please note that Plasma 5.25.5 is not supported for much longer by KDE; supported versions are 5.24, and 5.26 or newer. If at all possible please upgrade to a supported version and verify that the bug is still happening there. If you're unsure how to do this, contact your distributor about it. (In reply to Bug Janitor Service from comment #1) > Thank you for the bug report! > > Please note that Plasma 5.25.5 is not supported for much longer by KDE; > supported versions are 5.24, and 5.26 or newer. > > If at all possible please upgrade to a supported version and verify that the > bug is still happening there. > > If you're unsure how to do this, contact your distributor about it. (In reply to Bug Janitor Service from comment #1) > Thank you for the bug report! > > Please note that Plasma 5.25.5 is not supported for much longer by KDE; > supported versions are 5.24, and 5.26 or newer. > > If at all possible please upgrade to a supported version and verify that the > bug is still happening there. > > If you're unsure how to do this, contact your distributor about it. This still happens with 5.26.1 Can reproduce > // Disable the glib event loop integration, since it seems to be responsible > // for several bug reports about high CPU usage (bug #239963) > setenv("QT_NO_GLIB", "1", true); It's been 12 years since that BUG 239963. I wonder if it's still relevant, or the workaround can be dropped. We probably can unset again after creating the QApplication, just like we did for Wayland in https://invent.kde.org/plasma/kwin/-/commit/77ec43d5e15a8b8ad8e1824ebf49d7d3cbf015c5 (In reply to Nicolas Fella from comment #6) > We probably can unset again after creating the QApplication, just like we > did for Wayland in > https://invent.kde.org/plasma/kwin/-/commit/ > 77ec43d5e15a8b8ad8e1824ebf49d7d3cbf015c5 Ah, I'll try kwin with the following changes: https://invent.kde.org/lpatron/kwin/-/commit/5a5995355ed9d60b092e1118359457d032572d6d and see if that solves my issue. (In reply to priv.luk from comment #7) > (In reply to Nicolas Fella from comment #6) > > We probably can unset again after creating the QApplication, just like we > > did for Wayland in > > https://invent.kde.org/plasma/kwin/-/commit/ > > 77ec43d5e15a8b8ad8e1824ebf49d7d3cbf015c5 > > Ah, I'll try kwin with the following changes: > https://invent.kde.org/lpatron/kwin/-/commit/ > 5a5995355ed9d60b092e1118359457d032572d6d and see if that solves my issue. Ok, just compiled it and it seems to work ^.^ A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3114 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1012 Git commit c2b4f03f9671c0ad9fc1929426df5f79db414aa7 by Łukasz Patron. Committed on 27/10/2022 at 08:03. Pushed by vladz into branch 'master'. x11: Don't force QT_NO_GLIB=1 This breaks certain apps, e.g. KDE System Settings when launched from overview effect. M +0 -4 src/main_x11.cpp https://invent.kde.org/plasma/kwin/commit/c2b4f03f9671c0ad9fc1929426df5f79db414aa7 Git commit 4c5830ba149ec4462587a95f78624dfc981d281c by Nate Graham, on behalf of Łukasz Patron. Committed on 27/10/2022 at 13:36. Pushed by ngraham into branch 'Plasma/5.26'. x11: Don't force QT_NO_GLIB=1 This breaks certain apps, e.g. KDE System Settings when launched from overview effect. (cherry picked from commit c2b4f03f9671c0ad9fc1929426df5f79db414aa7) M +0 -4 src/main_x11.cpp https://invent.kde.org/plasma/kwin/commit/4c5830ba149ec4462587a95f78624dfc981d281c |