Bug 434690 - It;s not possible to set the color of the mini-map location highlighting
Summary: It;s not possible to set the color of the mini-map location highlighting
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: 20.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-20 21:22 UTC by popov895
Modified: 2021-03-26 06:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Mini-map location highlighting (116.07 KB, image/jpeg)
2021-03-20 21:22 UTC, popov895
Details

Note You need to log in before you can comment on or make changes to this bug.
Description popov895 2021-03-20 21:22:28 UTC
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
Comment 1 Bug Janitor Service 2021-03-25 12:12:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/129
Comment 2 Jan Paul Batrina 2021-03-26 06:11:37 UTC
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