Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915620 - x11-themes/QGnomePlatform-0.9.2-r2: Setting QT_QPA_PLATFORM globally breaks KDE
Summary: x11-themes/QGnomePlatform-0.9.2-r2: Setting QT_QPA_PLATFORM globally breaks KDE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-12 06:40 UTC by Matthias Dahl
Modified: 2023-10-20 13:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Dahl 2023-10-12 06:40:24 UTC
Since this revision hit the tree, my KDE did no longer start. Since I was on the live ebuilds, I was initially suspecting something in that area. To make a long story short, after countless days of sleuthing and recompiling and banging my head against the screen, I finally noticed the QGnomePlatform revision bump and the set QT_QPA_PLATFORM="QGnomePlatform" globally. After removing it, everything is back to normal.

Since this really cost quite some time, I do not have the motivation and energy left to dig into exactly _why_ this is happening, so I cannot provide a proper background. I am sorry. But maybe this should be set elsewhere where it only affects the Gnome session and not KDE as well.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2023-10-19 14:36:34 UTC
I don't know then how we are supposed to deal with this to not force the users to manually export they variables when they use gnome

And this will affect other packages too, as x11-misc/qt5ct, gui-apps/qt6ct...

I have tried to ask upstream to see how to deal with this, because even skipping qgnomeplatform, QT_STYLE_OVERRIDE=adwaita needs to be set :/
Comment 2 Larry the Git Cow gentoo-dev 2023-10-20 13:14:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7ef938dd28447d8817392267801784b5987ad77

commit d7ef938dd28447d8817392267801784b5987ad77
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2023-10-20 12:09:11 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2023-10-20 13:14:37 +0000

    x11-themes/QGnomePlatform: Set variable only on GNOME
    
    Closes: https://bugs.gentoo.org/915620
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../QGnomePlatform/QGnomePlatform-0.9.2-r3.ebuild  | 44 ++++++++++++++++++++++
 x11-themes/QGnomePlatform/files/90-qgnomeplatform  |  6 +++
 2 files changed, 50 insertions(+)