I am using krita-dark for my color scheme and kate has chosen a dark color for text, making it impossible to read anything in the window. The color scheme actually specifies light colors for all of its text fields except for inactive ones. Reproducible: Always Steps to Reproduce: 1. Choose the krita-dark color scheme 2. Open kate and got to settings 3. Click "Use KDE Color Scheme" under "Fonts & Colors" 4. See that it has chosen a dark color for the "Normal" and "Keyword" "Normal" color options under "Fonts & Colors->Default Text Styles". Actual Results: It chose a dark color for normal text, making it unreadable. Expected Results: For it to pick the correct text color from the theme (Active Text, View Text, Window Text - All are light grey or nearly white in color).
Created attachment 77292 [details] Screenshot showing the issue A line of text was typed out to show the color it chose for text.
Is this bug even relevant today?
Unfortunately, yes... Try using Kate with 'Use KDE colour scheme' and Breeze-dark, the text's still unreadable.
*** Bug 403496 has been marked as a duplicate of this bug. ***
This looks like a configuration issue; "Use KDE colour scheme" makes kate use the colour scheme currently set in KDE settings, but that doesn't affect "default text styles" colours, which results in this issue. Maybe remove that button altogether? or add a tip somewhere in the config widget telling the user, that if he wants to use the kde colour scheme he has to select a dark color scheme in kate if the KDE scheme is dark?....
*** Bug 416146 has been marked as a duplicate of this bug. ***
See also https://phabricator.kde.org/T11064 > Improve the UI for the "make the editor follow the system color scheme" feature
This was done in https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/20!