Summary: | Code colorization intensity is wonky at startup | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Matthew Woehlke <mwoehlke.floss> |
Component: | UI: general | Assignee: | kdevelop-bugs-null |
Status: | REPORTED --- | ||
Severity: | normal | CC: | igorkuo |
Priority: | NOR | ||
Version: | 6.0.240802 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
example of incorrect coloring
example of correct coloring |
Description
Matthew Woehlke
2024-10-23 18:48:47 UTC
Perhaps most people use the default settings or very different light-on-dark schemes and don't notice this issue. If you want to fix it, look for a bug in https://commits.kde.org/kdevelop?path=kdevplatform/language/highlighting/colorcache.cpp . At a guess, either a different color-updating method is used or some data is not initialized/ready at KDevelop start. It looks like this may only happen with "follow system color scheme". I suspect (but haven't checked because changing the system color scheme is very disruptive for me) Breeze Dark would have problems. I'm using Obsidian Coast (used to be bundled with KF4). Another update... the problem isn't that the intensity is initially being treated as 100%. The colors are just *wrong*. I now suspect they're being computed (perhaps with the correct intensity) as if the *base* color is black, when it's actually off-white. Created attachment 175315 [details]
example of incorrect coloring
Created attachment 175316 [details]
example of correct coloring
|