After the update to 5.20.0, the directory /usr/local/share/kdisplay/app-defaults contain, e.g., Emacs.ad with this content: Emacs.default.attributeForeground: WINDOW_FOREGROUND Emacs.default.attributeBackground: WINDOW_BACKGROUND Emacs*Foreground: WINDOW_FOREGROUND Emacs*Background: WINDOW_BACKGROUND Emacs*menubar*foreground: FOREGROUND Emacs*menubar*background: BACKGROUND Emacs*popup*Foreground: FOREGROUND Emacs*popup*Background: BACKGROUND Emacs*Dialog*foreground: FOREGROUND Emacs*Dialog*background: BACKGROUND Emacs*XlwScrollBar.Foreground: FOREGROUND Emacs*XlwScrollBar.Background: BACKGROUND Emacs*topToolBarShadowColor: BACKGROUND Emacs*bottomToolBarShadowColor: BACKGROUND Emacs*backgroundToolBarColor: BACKGROUND Emacs*toolBarShadowThickness: 0 emacs then cannot run: $ emacs Undefined color: "WINDOW_FOREGROUND" Should the files in this directory perhaps be run through a preprocessor to resolve the uppercase words to proper colour values?
Hmm, those *.ad files are likely as they should be. krdb should replace "WINDOW_FOREGROUND" and the like with the current colour scheme, if I understand correctly. Updating the bug title...
There is an upstream bug report: https://bugs.kde.org/show_bug.cgi?id=427877 According to it, the bug is fixed in 5.20.1 so I'll just close this issue!