Bug 152892 - color settings: a way to just set usage of system-wide colors
Summary: color settings: a way to just set usage of system-wide colors
Status: RESOLVED DUPLICATE of bug 219027
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-25 19:34 UTC by Maciej Pilichowski
Modified: 2011-06-29 22:18 UTC (History)
1 user (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 Maciej Pilichowski 2007-11-25 19:34:27 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    SuSE RPMs

Currently you can change all colors one by one. But it would be useful to:
* change all Kate-specific colors
* decide to use or not system colors (i.e. to use common part Kate<->KDE from KDE)
  * if not -- ability to change them (for Kate only of course)
Comment 1 Andreas Pakulat 2007-11-25 20:08:15 UTC
Kate has far to many different things for which you can set colors to make proper use of the system palette. And it doesn't make sense to extend the system palette just for 1 application, IMHO.
Comment 2 Maciej Pilichowski 2007-11-25 21:11:05 UTC
> And it doesn't make sense to extend the system palette just for 1
> application, IMHO

I am not sure we understand each other. I am not talking about extending system palette -- I talking about "dividing" Kate palette into common-part (system) and Kate specific. 

> Kate has far to many different things for which you can set colors to make
> proper use of the system palette. 

Exactly! But some of them are from system. Example -- background color. If you want to customize it, fine, but if not -- it could be just window background. So this color could be read from system. On the other hand keyword color is Kate specific, so it is always possible to customize it.

Maybe I add some perspective:
1) you choose KDE colors
2) you choose Kate colors
3) you change KDE colors, background for example
4) you have to change in Kate too

(4) is bad. Changing colors in KDE should have impact on KDE apps -- today it has very random (partially changed color) so you have to manually set background colors in all KDE apps. Not nice.  
Comment 3 Maciej Pilichowski 2007-11-25 21:14:34 UTC
Compare it KMail and then see this report:
http://bugs.kde.org/show_bug.cgi?id=115959
Comment 4 Andreas Pakulat 2007-11-25 21:19:36 UTC
Ah, indeed I misunderstood. And actually thats a bug in Kate, not a wishlist item. Changing the severity. Kate needs to respect the KDE wide palette and AFAIK KDE4's Kate is supposed to use the system palette as far as it can/makes sense.
Comment 5 Anders Lund 2007-11-25 22:44:30 UTC
Changing the some colors with the system palette and not the kate schema may potentially lead to unreadable files in kate, which is why it works like it does.
Comment 6 Andreas Pakulat 2007-11-25 23:27:56 UTC
I guess you're referring to cases where a highlighting or some such doesn't play well together with the system palette? Well, thats quite expected isn't it?

If a user changes the system palette to something different its his responsibility to also change special color schemes in apps like kate or kmail to work with that new color scheme. As it stands now kate is completely ignoring whatever color scheme the user sets and thats not good.
Comment 7 Matthew Woehlke 2007-11-26 20:49:01 UTC
Confirming this.

In KDE4, the palette has enough foreground roles that the default katepart colors (for highlighting, anyway, some markers, folding etc. are still hard-coded) all come from the system palette. Individual highlighters with hard-coded colors should be fixed, but these can be handled individually.

Some way for katepart to forget customizations and go back to the system colors (or at least to not "remember" the system colors when the user has not changed them) was already on my TODO list, so this is definitely something that should be fixed.
Comment 8 Trevour 2010-06-25 05:18:20 UTC
This bug still exists; it's extremely jarring when you switch to a dark color scheme and discover that, not only does the editor ignore the change(shocking the eyes for no good reason), but that you need to fix the entire color scheme manually.
Comment 9 Dominik Haumann 2011-06-29 22:18:08 UTC

*** This bug has been marked as a duplicate of bug 219027 ***