luisbocanegra / kde-material-you-colors

Automatic color scheme generator from your wallpaper for KDE Plasma powered by Material You
https://store.kde.org/p/2136963
GNU General Public License v3.0
412 stars 6 forks source link

Breaks colors in some Qt5 apps (QDirStat, KeePassXC) #220

Closed D3SOX closed 4 months ago

D3SOX commented 4 months ago

Describe the bug There are a lot of white areas in some Qt5 apps which looks really broken

To Reproduce Launch KeePassXC and set its theme to "Classic (Platform-native)" or QDirStat

Screenshots Can provide after a reboot because KDE refuses to create screenshots (I love the Wayland session....)

Desktop (please complete the following information): Operating System: Arch Linux KDE Plasma Version: 6.1.1 KDE Frameworks Version: 6.3.0 Qt Version: 6.8.0 Kernel Version: 6.9.7-zen1-1-zen (64-bit) Graphics Platform: Wayland

luisbocanegra commented 4 months ago

Yes please share some screenshots, tried both and they look as expected for me.

D3SOX commented 4 months ago

Here are screenshots of both applications and my config. I hope this helps

QDirStat

With Material You Screenshot_20240701_080516 After switching to Breeze Dark and restarting Screenshot_20240701_080536

KeePassXC

With Material You image After switching to Breeze Dark and restarting image

Config

[CUSTOM]
chroma_multiplier=1
color=
color_last=#d0265c
custom_colors_list=
custom_colors_list_last=#d0265c #74e448 #eece4f #66a3ef #532066 #297d81 #ccc1c1
dark_brightness_multiplier=1
dark_saturation_multiplier=1
darker_window_list=
disable_konsole=false
gui_custom_exec_location=
iconsdark=Papirus-Colors-Dark
iconslight=Papirus-Colors
klassy_windeco_outline=false
konsole_opacity=70
konsole_opacity_dark=70
light=true
light_brightness_multiplier=1
light_saturation_multiplier=1
main_loop_delay=1
monitor=0
ncolor=0
on_change_hook=
once_after_change=false
pause_mode=false
plasma_follows_scheme=true
pywal=false
pywal_follows_scheme=false
pywal_light=false
qdbus_executable=
scheme_variant=8
screenshot_delay=900
screenshot_only_mode=false
sierra_breeze_buttons_color=true
startup_delay=0
titlebar_opacity=100
titlebar_opacity_dark=100
tone_multiplier=1
toolbar_opacity=100
toolbar_opacity_dark=100
use_startup_delay=false
luisbocanegra commented 4 months ago

Hmm looks like either some package is missing (maybe qqc2-desktop-style?) or interfering with how the colors are set (e.g. kvantum or qt5/6ct)

From another similar issue https://github.com/luisbocanegra/kde-material-you-colors/issues/189#issuecomment-1994623234

I found the issue: those apps were using the Qt5 framework. To fix it, I installed the breeze5 and plasma5-integration packages, which made them follow the custom theme correctly. Now everything is working as expected.

D3SOX commented 4 months ago

plasma5-integration was missing! Problem solved. Not sure why it wasn't installed during the upgrade because my Laptop has it. Maybe because I used the Plasma 6 beta