Bug 458498 - “Breeze dark” color scheme for KSyntaxHighlighting renders dsBuiltIn like dsComment
Summary: “Breeze dark” color scheme for KSyntaxHighlighting renders dsBuiltIn like dsC...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: theme (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-30 07:59 UTC by Lukas Sommer
Modified: 2025-07-24 19:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Sommer 2022-08-30 07:59:41 UTC
SUMMARY
“Breeze dark” color scheme for KSyntaxHighlighting renders dsBuiltIn like dsComment.



OBSERVED RESULT
“Breeze dark” color scheme for KSyntaxHighlighting renders dsBuiltIn like dsComment. This is very confusing because things highlighted as dsBuildInn are supposed to be code and have an actual effect at the execution, while things highlighted as dsComment are supposed to have no effect on the execution. Rendering both the same way make the code really hard to read.



EXPECTED RESULT
dsBuiltIn and dsComment are visually clearly distinguishable in “Breeze dark” color scheme for KSyntaxHighlighting.



SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-46-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630



ADDITIONAL INFORMATION
dsBuiltIn is RGB 127, 140, 141 and dsComment is RGB 122, 124, 125. Though they are not technically identical, they are visually indistinguishable.
Comment 1 Bug Janitor Service 2025-07-22 23:39:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/727
Comment 2 Christoph Cullmann 2025-07-24 19:04:49 UTC
Git commit 13bc3bebf6b50a4f4bf61958b7154695b18fb0d3 by Christoph Cullmann, on behalf of Jonathan Poelen.
Committed on 24/07/2025 at 18:58.
Pushed by cullmann into branch 'master'.

Breeze Dark theme: changes the color of BuiltIn to be distinguishable from Comment

The color used is similar to dark cyan, which remains distinguishable from other colors.

M  +2    -2    autotests/html/Earthfile.dark.html
M  +18   -18   autotests/html/Jamroot.dark.html
M  +6    -6    autotests/html/Kconfig.dark.html
M  +4    -4    autotests/html/brightscript.brs.dark.html
M  +18   -18   autotests/html/build.ninja.dark.html
M  +17   -17   autotests/html/clojure.clj.dark.html
M  +1    -1    autotests/html/freefem.edp.dark.html
M  +152  -152  autotests/html/highlight.ahk.dark.html
M  +9    -9    autotests/html/highlight.as.dark.html
M  +85   -85   autotests/html/highlight.asm-fasm.dark.html
M  +14   -14   autotests/html/highlight.asm-m68k.dark.html
M  +1    -1    autotests/html/highlight.awk.dark.html
M  +38   -38   autotests/html/highlight.cpp.dark.html
M  +3    -3    autotests/html/highlight.csv-pipe.dark.html
M  +3    -3    autotests/html/highlight.csv-semicolon.dark.html
M  +2    -2    autotests/html/highlight.csv-whitespace.dark.html
M  +3    -3    autotests/html/highlight.csv.dark.html
M  +5    -5    autotests/html/highlight.d.dark.html
M  +4    -4    autotests/html/highlight.eex.dark.html
M  +4    -4    autotests/html/highlight.f.dark.html
M  +1    -1    autotests/html/highlight.f90.dark.html
M  +182  -182  autotests/html/highlight.fish.dark.html
M  +2    -2    autotests/html/highlight.glsl.dark.html
M  +45   -45   autotests/html/highlight.heex.dark.html
M  +3    -3    autotests/html/highlight.java.dark.html
M  +1    -1    autotests/html/highlight.jira.dark.html
M  +13   -13   autotests/html/highlight.js.dark.html
M  +25   -25   autotests/html/highlight.jsp.dark.html
M  +22   -22   autotests/html/highlight.less.dark.html
M  +1    -1    autotests/html/highlight.lex.dark.html
M  +12   -12   autotests/html/highlight.log-advanced.dark.html
M  +28   -28   autotests/html/highlight.lua.dark.html
M  +39   -39   autotests/html/highlight.mapcss.dark.html
M  +4    -4    autotests/html/highlight.nft.dark.html
M  +11   -11   autotests/html/highlight.overpassql.dark.html
M  +3    -3    autotests/html/highlight.php.dark.html
M  +27   -27   autotests/html/highlight.raku.dark.html
M  +6    -6    autotests/html/highlight.rb.dark.html
M  +10   -10   autotests/html/highlight.rpy.dark.html
M  +25   -25   autotests/html/highlight.sass.dark.html
M  +3    -3    autotests/html/highlight.scad.dark.html
M  +15   -15   autotests/html/highlight.scss.dark.html
M  +132  -132  autotests/html/highlight.sh.dark.html
M  +3    -3    autotests/html/highlight.tex.dark.html
M  +2    -2    autotests/html/highlight.tsv.dark.html
M  +2    -2    autotests/html/highlight.v.dark.html
M  +76   -76   autotests/html/highlight.xsl.dark.html
M  +3    -3    autotests/html/learnelixir.exs.dark.html
M  +3    -3    autotests/html/test-iso.mod.dark.html
M  +3    -3    autotests/html/test-pim.mod.dark.html
M  +3    -3    autotests/html/test-r10.mod.dark.html
M  +2    -2    autotests/html/test.Rd.dark.html
M  +15   -15   autotests/html/test.apparmor.dark.html
M  +138  -138  autotests/html/test.bat.dark.html
M  +2    -2    autotests/html/test.c.dark.html
M  +21   -21   autotests/html/test.cash.dark.html
M  +2    -2    autotests/html/test.coffee.dark.html
M  +6    -6    autotests/html/test.elv.dark.html
M  +30   -30   autotests/html/test.eml.dark.html
M  +3    -3    autotests/html/test.fc.dark.html
M  +27   -27   autotests/html/test.feature.dark.html
M  +112  -112  autotests/html/test.gd.dark.html
M  +6    -6    autotests/html/test.go.dark.html
M  +11   -11   autotests/html/test.ha.dark.html
M  +2    -2    autotests/html/test.htm.dark.html
M  +9    -9    autotests/html/test.jl.dark.html
M  +6    -6    autotests/html/test.logcat.dark.html
M  +12   -12   autotests/html/test.markdown.dark.html
M  +3    -3    autotests/html/test.mod.dark.html
M  +5    -5    autotests/html/test.nix.dark.html
M  +1    -1    autotests/html/test.octave.dark.html
M  +49   -49   autotests/html/test.opsiscript.dark.html
M  +3    -3    autotests/html/test.org.dark.html
M  +8    -8    autotests/html/test.py.dark.html
M  +34   -34   autotests/html/test.qdocconf.dark.html
M  +19   -19   autotests/html/test.robot.dark.html
M  +3    -3    autotests/html/test.rs.dark.html
M  +1    -1    autotests/html/test.scala.dark.html
M  +81   -81   autotests/html/test.sieve.dark.html
M  +183  -183  autotests/html/test.smali.dark.html
M  +15   -15   autotests/html/test.sol.dark.html
M  +4    -4    autotests/html/test.te.dark.html
M  +2    -2    autotests/html/test.tf.dark.html
M  +17   -17   autotests/html/test.ts.dark.html
M  +5    -5    autotests/html/test.tsx.dark.html
M  +23   -23   autotests/html/test.typ.dark.html
M  +3    -3    autotests/html/test.xhtml.dark.html
M  +8    -8    autotests/html/test.zig.dark.html
M  +400  -400  autotests/html/test.zsh.dark.html
M  +6    -6    autotests/html/todo.txt.dark.html
M  +3    -3    data/themes/breeze-dark.theme

https://invent.kde.org/frameworks/syntax-highlighting/-/commit/13bc3bebf6b50a4f4bf61958b7154695b18fb0d3