Bug 406274 - Problem changing the variable color in Kwrite.
Summary: Problem changing the variable color in Kwrite.
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: kwrite (other bugs)
Version First Reported In: 18.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-06 09:36 UTC by Gionikva
Modified: 2020-12-20 19:05 UTC (History)
2 users (show)

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


Attachments
The screenshot of the proplem. (3.74 MB, image/png)
2019-04-06 09:36 UTC, Gionikva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gionikva 2019-04-06 09:36:15 UTC
Created attachment 119268 [details]
The screenshot of the proplem.

SUMMARY
In kwrite 18.12.3-1 on Manjaro linux, the variable color does not change in the ui if you change it in editor settings, in the settings accessible from Menu>Settings>Configure Editor>Fonts & Colors>Default Text Styles>Variable. I can change the formatting of the variable font (Bold, Italic etc.) but when I change the variable text color, it shows the chosen color in the preview rectangle but the color of the variable text stays the same dark blue color even if you hit apply or choose a new schema. It works properly for any other types of text. This all happens in a fish shell script file.sudo

STEPS TO REPRODUCE
1. Open up kwin, enter Menu>Settings>Configure Editor>Fonts & Colors>Default Text Styles
2. Change the variable color, click OK and apply.

OBSERVED RESULT
The variable color in the editor UI stays the same.

EXPECTED RESULT
The variable color changes accordingly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux 18.0x , plasma-desktop 5.15.3-1.
(available in About System)
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Comment 1 Justin Zobel 2020-11-05 07:23:53 UTC
Confirmed on kwrite from git master. Colour will not change even after restarting kwrite.
Comment 2 Christoph Cullmann 2020-12-20 19:05:19 UTC
I tried this with KDE Frameworks KTextEditor version 5.76. (that framework provides this)

The UI is nowadays a bit different, you need to copy the default shipped themes in it to modify them.

And yes, after modification, this is directly picked up.