Bug 315141

Summary: "use kde color scheme" doesn't affect the default text styles colors
Product: [Applications] kate Reporter: Craig Magina <craig.magina>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: a.samirh78, bugseforuns, leftcrane, mail, maxmustermann1884, nate, postix, tterranigma
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.75
Sentry Crash Report:
Attachments: Screenshot showing the issue

Description Craig Magina 2013-02-14 15:35:39 UTC
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).
Comment 1 Craig Magina 2013-02-14 15:37:05 UTC
Created attachment 77292 [details]
Screenshot showing the issue

A line of text was typed out to show the color it chose for text.
Comment 2 Nikolaos Kakouros 2017-02-15 23:58:36 UTC
Is this bug even relevant today?
Comment 3 Francis Herne 2017-03-27 13:39:25 UTC
Unfortunately, yes...

Try using Kate with 'Use KDE colour scheme' and Breeze-dark, the text's still unreadable.
Comment 4 Ahmad Samir 2019-03-03 07:41:11 UTC
*** Bug 403496 has been marked as a duplicate of this bug. ***
Comment 5 Ahmad Samir 2019-03-03 09:43:55 UTC
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?....
Comment 6 postix 2020-05-14 17:16:58 UTC
*** Bug 416146 has been marked as a duplicate of this bug. ***
Comment 7 postix 2020-05-14 17:18:48 UTC
See also https://phabricator.kde.org/T11064
> Improve the UI for the "make the editor follow the system color scheme" feature
Comment 8 Nate Graham 2020-09-06 18:06:44 UTC
This was done in https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/20!