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

Jeffrey Bosboom <jeffreybosb...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |---
                 CC|                            |jeffreybosb...@gmail.com
             Status|RESOLVED                    |REPORTED

--- Comment #4 from Jeffrey Bosboom <jeffreybosb...@gmail.com> ---
I also have this problem (kdevelop not using qt5ct theme).  Unlike the first
reporter, I intend to answer requests for more information.

Arch Linux, rolling release up-to-date as of today (2022-01-08), kernel version
5.15.13-arch1-1, X.org server version 1.21.1.3, Openbox (window manager)
version 3.6.1, kdevelop version 5.7.211201 (21.12.1), qt5ct version 1.5.  I
have attached the output of `pactree --linear --unique --optional <package>`
for both kdevelop and qt5ct, in case the problem is a missing or outdated
dependency.


OBSERVED BEHAVIOR: I installed qt5ct, configured the "darker" color scheme for
the "Fusion" style (the default style), and exported the environment variable
QT_QPA_PLATFORMTHEME=qt5ct.  Under this configuration, kdevelop uses a
black-on-white (light) theme (see the attached screenshot).  Picard (a Qt5
music tagger) correctly uses the dark theme.

I believe kdevelop Settings -> Color Scheme -> Default is selected, or at least
clicking it does nothing.  (There are no other items in that submenu, but
there's no checked checkbox or other indication that the Default item is
selected.)

I ran kdevelop under strace (traces attached).  The main thread (6498) loads
`/usr/lib/qt/plugins/platformthemes/libqt5ct.so` and reads
`/home/jbosboom/.config/qt5ct/qt5ct.conf` and
`/usr/share/qt5ct/colors/darker.conf`.

I then built and installed qt5-styleplugins from the Arch Linux AUR and
configured qt5ct to use the "gtk2" style, again with the "darker" color scheme.
 In this configuration, kdevelop uses a mix of colors resulting in both light
text on a light background and dark text on a dark background (see the attached
screenshot).  Picard looks mostly okay in this configuration (just a couple of
dark-on-dark menu items).


DESIRED BEHAVIOR: kdevelop successfully uses the "darker" color scheme for the
"Fusion" theme under qt5ct.

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

Reply via email to