QT colors not set with Linea-nord-color
I'm having an issue with QT apps taking colors from linea-nord-color.
When setting QT_QPA_PLATFORMTHEME to gtk2, QT apps like nextcloud and kdeconnect-settings don't set the colors selected in the theme. They seem to take on a teal color regardless of the theme set. (You can also see an issue with the flattrcolor icon set in this image but that's another issue.)
This shows up in apps like lxappearance as well where linea-nord-color doesn't set colors but FlatColor does.
After some digging, it looks like this color #628297 is defined at the top of .themes/linea-nord-color/gtk-2.0/gtkrc
gtk_color_scheme = "fg_color:#fff\nbg_color:#2e393f\nbase_color:#374852\ntext_color:#fff\nselected_bg_color:#628297\nselected_fg_color:#fff\ntooltip_bg_color:#000\ntooltip_fg_color:#fff\nborder_color:#555"
https://github.com/deviantfero/wpgtk-templates/blob/master/linea-nord-color/gtk-2.0/gtkrc
Not sure if I'm missing an env or a dependency but I haven't found anything in the other (recent) issues or online. there is this issue but it's old: https://github.com/deviantfero/wpgtk/issues/157
Thanks for reporting this, I'll update the template, it's probably that the theme is not updating the gtk2 colors
On Wed, Nov 27, 2024, 6:35 PM rmcmilli @.***> wrote:
I'm having an issue with QT apps taking colors from linea-nord-color.
When setting QT_QPA_PLATFORMTHEME to gtk2, QT apps like nextcloud and kdeconnect-settings don't set the colors selected in the theme. They seem to take on a teal color regardless of the theme set. (You can also see an issue with the flattrcolor icon set in this image but that's another issue.)
image.png (view on web) https://github.com/user-attachments/assets/b92881e6-ecb9-44c4-beac-3b513cbfb668
This shows up in apps like lxappearance as well where linea-nord-color doesn't set colors but FlatColor does.
image.png (view on web) https://github.com/user-attachments/assets/e8beeedc-5f11-4fa4-bf20-a1762c933f8a
image.png (view on web) https://github.com/user-attachments/assets/720a6bb1-53ff-464d-8dab-215515c33607
After some digging, it looks like this color #628297 is defined at the top of .themes/linea-nord-color/gtk-2.0/gtkrc
gtk_color_scheme = "fg_color:#fff\nbg_color:#2e393f\nbase_color:#374852\ntext_color:#fff\nselected_bg_color:#628297\nselected_fg_color:#fff\ntooltip_bg_color:#000\ntooltip_fg_color:#fff\nborder_color:#555"
Not sure if I'm missing an env or a dependency but I haven't found anything in the other (recent) issues or online. there is this issue but it's old: #157 https://github.com/deviantfero/wpgtk/issues/157
— Reply to this email directly, view it on GitHub https://github.com/deviantfero/wpgtk/issues/311, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVCGSODRR3NXNMXPCR7P7L2CZQLPAVCNFSM6AAAAABST7EMCKVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4YDAMZRGIZDMNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@rmcmilli for now you can do the following:
- run
wpg-install.sh -Gto re-install linea nord - run
wpg --link ~/.local/share/themes/linea-nord-color/gtk-2.0/gtkrc.base ~/.local/share/themes/linea-nord-color/gtk-2.0/gtkrc
that should make your GTK 2.0 colors update
Looks good, thanks!