Bug 372520 - non qt apps dont adopt colors
Summary: non qt apps dont adopt colors
Status: RESOLVED DUPLICATE of bug 353071
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_colors (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Matthew Woehlke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-16 04:33 UTC by jon
Modified: 2020-01-15 16:23 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jon 2016-11-16 04:33:19 UTC
non qt apps dont inherit colors, uses gtk theme colors
Comment 1 David Edmundson 2016-11-16 12:37:57 UTC
You need to be a lot more specific.

Which apps specifically?
What toolkit do they use?

Please also attach the output of running "env" and "krdb" 

as well as the file ~/.config/gtkrc

And whether the setting # "Apply colors to non-KDE4 applications"
 is checked


Then reopen this bug.
Comment 2 jon 2016-11-16 13:43:10 UTC
a few apps that dont adopt the color scheme are nicotine, compicconfig settings manager, and emerald theme manager, i believe they all use the gtk2 toolkit

output of env:

XDG_VTNR=1
GTK_MODULES=canberra-gtk-module
KDE_SESSION_VERSION=5
XDG_CURRENT_DESKTOP=KDE
XCURSOR_THEME=Breeze_Snow
USER=jon
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=/usr/share/xsessions/plasma
COLORFGBG=0;15
PWD=/home/jon/
KONSOLE_DBUS_SESSION=/Sessions/1
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/vendor_perl:/usr/bin/core_perl
XDG_DATA_DIRS=/home/jon//.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
_=/usr/bin/env
QT_AUTO_SCREEN_SCALE_FACTOR=0
XDG_RUNTIME_DIR=/run/user/1000
KONSOLE_DBUS_SERVICE=:1.86
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
KDE_SESSION_UID=1000
XCURSOR_SIZE=0
DISPLAY=:0
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
XDG_SEAT=seat0
LANG=en_US.UTF-8
LANGUAGE=
KDED_STARTED_BY_KDEINIT=1
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
KONSOLE_PROFILE_NAME=Profile 3
SHELL_SESSION_ID=859b12971235400082deb14a7421148e
XDG_SESSION_TYPE=x11
SHLVL=2
XAUTHORITY=/tmp/xauth-1000-_0
KONSOLE_DBUS_WINDOW=/Windows/1
MAIL=/var/spool/mail/jon
HOME=/home/jon/
XDG_SESSION_CLASS=user
SESSION_MANAGER=local/regularity:@/tmp/.ICE-unix/583,unix/regularity:/tmp/.ICE-unix/583
SHELL=/usr/bin/zsh
PROFILEHOME=
LOGNAME=jon
TERM=xterm
GS_LIB=/home/jon//.fonts
XDG_SESSION_ID=c2
XDG_SESSION_DESKTOP=KDE
WINDOWID=62914566
KDE_FULL_SESSION=true
OLDPWD=/home/jon/
SSH_KEY_PATH=~/.ssh/dsa_id
PAGER=less
LESS=-R
LC_CTYPE=en_US.UTF-8
LSCOLORS=Gxfxcxdxbxegedabagacad
SSH_AUTH_SOCK=/home/jon//.gnupg/S.gpg-agent.ssh
EDITOR=nano

output of krdb

Initializing  "kcm_style" :  "kcminit_style"

~/.config/gtkrc

# created by KDE, Wed Nov 16 07:37:51 2016
#
# If you do not want KDE to override your GTK settings, select
# Appearance -> Colors in the System Settings and disable the checkbox
# "Apply colors to non-KDE4 applications"
#
#
style "default"
{
  bg[NORMAL] = { 0.937, 0.922, 0.906 }
  bg[SELECTED] = { 0.686, 0.753, 0.757 }
  bg[INSENSITIVE] = { 0.937, 0.922, 0.906 }
  bg[ACTIVE] = { 0.816, 0.765, 0.710 }
  bg[PRELIGHT] = { 0.937, 0.922, 0.906 }

  base[NORMAL] = { 0.957, 0.965, 0.965 }
  base[SELECTED] = { 0.686, 0.753, 0.757 }
  base[INSENSITIVE] = { 0.937, 0.922, 0.906 }
  base[ACTIVE] = { 0.686, 0.753, 0.757 }
  base[PRELIGHT] = { 0.686, 0.753, 0.757 }

  text[NORMAL] = { 0.592, 0.651, 0.655 }
  text[SELECTED] = { 0.961, 0.961, 0.961 }
  text[INSENSITIVE] = { 0.816, 0.765, 0.710 }
  text[ACTIVE] = { 0.961, 0.961, 0.961 }
  text[PRELIGHT] = { 0.961, 0.961, 0.961 }

  fg[NORMAL] = { 0.592, 0.651, 0.655 }
  fg[SELECTED] = { 0.961, 0.961, 0.961 }
  fg[INSENSITIVE] = { 0.816, 0.765, 0.710 }
  fg[ACTIVE] = { 0.592, 0.651, 0.655 }
  fg[PRELIGHT] = { 0.592, 0.651, 0.655 }
}

class "*" style "default"

style "ToolTip"
{
  bg[NORMAL] = { 0.937, 0.922, 0.906 }
  base[NORMAL] = { 0.957, 0.965, 0.965 }
  text[NORMAL] = { 0.592, 0.651, 0.655 }
  fg[NORMAL] = { 0.592, 0.651, 0.655 }
}

widget "gtk-tooltip" style "ToolTip"
widget "gtk-tooltips" style "ToolTip"

style "MenuItem"
{
  bg[PRELIGHT] = { 0.686, 0.753, 0.757 }
  fg[PRELIGHT] = { 0.961, 0.961, 0.961 }
}

class "*MenuItem" style "MenuItem"


"apply colors not non-qt apps" is checked
Comment 3 jon 2016-11-17 11:46:03 UTC
sorry, here is the full ouput of krdb:

Initializing  "kcm_style" :  "kcminit_style"
QFile::copy: Empty or null file name
Comment 4 jon 2016-11-19 23:29:50 UTC
additional information: gtk apps inherit colors when using breeze or breeze dark, but other color schemes dont
Comment 5 Nate Graham 2020-01-15 16:23:32 UTC

*** This bug has been marked as a duplicate of bug 353071 ***