Bug 377991 - Change color scheme for editor in KDevelop also changes color in other instances of Kate/KWrite
Summary: Change color scheme for editor in KDevelop also changes color in other instan...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: All editors (show other bugs)
Version: 5.2.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-23 19:54 UTC by Piotr Mierzwinski
Modified: 2022-11-30 17:39 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2017-03-23 19:54:48 UTC
As in title.
When I changed default color scheme for editor in KDevelop I discovered that in all new instances of Kate/KWrite I have the same colors :/.

Why editor color scheme in KDevelop shares the same settings with Kate/KWrite? Isn't possible to separate it?
Comment 1 Francis Herne 2017-03-23 23:33:24 UTC
All the ktexteditor settings are shared; usually people prefer to have their editor behave consistently and not have subtle differences between applications.

Perhaps it would make sense for the colour scheme to be an exception now that the main UI scheme can be set differently in KDevelop.

You can temporarily set the colour of an editor window with View -> Schema, which won't be saved anywhere and doesn't affect other applications.
Comment 2 Sven Brauch 2017-03-24 00:59:56 UTC
IIRC we discussed shared settings on kwrite-devel a while back and there was some consensus that it wasn't such a great idea to have all the settings shared among all applications after all. I could imagine it gets changed back (it wasn't like this in 4.x) in the future. For the time being, I guess it just is like it is though ...
Comment 3 Piotr Mierzwinski 2017-03-24 21:35:58 UTC
@Francis Herne
"usually people prefer to have their editor behave consistently and not have subtle differences between applications"
OK. So what is the problem to change settings also in other applications using ktexteditor.

I assume that when I change some setting in one application then it (the change) will be affect only in exactly this application and when I change something globally (from System Setting) then the change will be refer to all (related) applications. For me this is logically.

And about consistency in this case.
In KDevelop firstly I changed "Color theme", and afterwards "Color theme" for editor - to "Breeze Dark". In my opinion, considering here consistency, both should change should be applied. Why all of these changes were not applied on other editors? Running KWrite I got dark editor window (with not matching to editor scheme bookmark markers as black) and bright the look of window (UI scheme) as Breeze. For me this is not consistency.

About other setting of editor like "Dynamically wrapping of words".
In simple plain text I prefer that in text editor would be wrapped words, but I don't like this in source code.

Anyway change in View -> Schema / Words wrapping this is not solution. I don't want every day or every running of editor the same day, click this option :/. This would be annoying.

I'm not sure, but I think in previous version of KDevelop settings of editor were separated.
Comment 4 Brendon Higgins 2018-08-02 18:47:51 UTC
I just stumbled onto this bug, myself. What surprised me most about it is that in KDevelop the option is labelled "Default schema for kdevelop:" and in Kate it is "Default schema for kate:". I think it's reasonable for the user to assume, by the way they are labelled, that they are independent settings local to the application - not that they in-fact reflect the same global setting.
Comment 5 Justin Zobel 2022-11-29 05:06:28 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 6 Piotr Mierzwinski 2022-11-29 15:28:42 UTC
I retested issue and seems it is fixed.
Comment 7 Piotr Mierzwinski 2022-11-30 17:39:04 UTC
(In reply to Piotr Mierzwinski from comment #6)
> I retested issue and seems it is fixed.

Tested with:
KDevelop version 5.9.221170 (22.11.70)

$ apt show kdevelop
Package: kdevelop
Version: 4:22.08.1+p22.04+tunstable+git20221012.0016-0

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 5.15.0-53-generic (64-bit)
Graphics Platform: X11
Graphics Processor: Mesa Intel® Xe Graphics