https://bugs.kde.org/show_bug.cgi?id=494734

Anael <an...@anael.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|24.08.2                     |6.8.0
           Assignee|fe...@posteo.de             |nicolas.fe...@gmx.de
          Component|General                     |general
                 CC|                            |an...@anael.es
            Product|NeoChat                     |frameworks-kcolorscheme

--- Comment #3 from Anael <an...@anael.es> ---
This happened ever since
https://invent.kde.org/frameworks/kcolorscheme/-/merge_requests/25 was merged.

Now, the default KColorScheme (which is the one with the user accent color of
choice) is only applied if the Qt Platform Theme name is “kde”.

I created a basic Qt app that made use of the Qt Gui Private API and queried
the name of the platform theme used inside the sandbox: 

QGuiApplicationPrivate::platformTheme()->name() => "xdgdesktopportal"

Which seems sensible enough, since the KDE Platform package is used in more
desktop environments other than KDE. The problem for KDE Plasma users is that
now, since "xdgdesktopportal" isn't equal to "kde", the default Breeze color
scheme is used (which doesn't follow user accent color preferences).


WORKAROUND
As a workaround, the use of the default KColorScheme can be forced for all
Flatpak apps:  

```bash
flatpak override --user --env=QT_QPA_PLATFORMTHEME=kde
```

After running this command all KDE Flatpaks I have installed (NeoChat, Kate,
Tokodon, Elisa, Haruna, etc.) follow my accent color.

Definitively not a problem specific to NeoChat, so assigning this to
frameworks-kcolorscheme.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to