Created attachment 136895 [details] Mini-map location highlighting SUMMARY I have not found a way how to change the color of the mini-map location highlighting. It's always blue, regardless of editor or system color scheme. I believe it should depend on the "Selection Background" color of the system color scheme or on the "Selected Text" color of the editor color scheme. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed 20210318 / X11 KDE Plasma Version: 5.21.2 KDE Frameworks Version: 5.80.0 Qt Version: 5.15.2
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/129
Git commit bdd195792b7752e4c5a0ff74cb5b01a6accee517 by Jan Paul Batrina. Committed on 25/03/2021 at 11:31. Pushed by sars into branch 'master'. Use QPalette::highlight for the scrollbar minimap slider Previously, QPalette::link() was used which is the color for hyperlinks. Most themes set this to a shade of blue, so the slider will almost always be blue even when, for example, the main color of a theme is green. The selection highlight color was chosen because it is also the color used for indicating the active tab and is, generally, often attuned to a theme's main color. M +1 -1 src/view/kateviewhelpers.cpp https://invent.kde.org/frameworks/ktexteditor/commit/bdd195792b7752e4c5a0ff74cb5b01a6accee517