Bug 476756

Summary: Location bar uses wrong colors
Product: [Applications] kate Reporter: uvos <devnull>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: image of location bar with theme that has low contrast between QPalette::Text and QPalette::Window

Description uvos 2023-11-09 14:41:17 UTC
Created attachment 162974 [details]
image of location bar with theme that has low contrast between QPalette::Text and QPalette::Window

The location bar in kate uses the QPalette::Text color ontop of QPalette::Window. This is incorrect, QPalette::WindowText should be used on QPalette::Window. This causes issues with themes where QPalette::Text has low contrast with QPalette::Window see attached image.
Comment 1 Bug Janitor Service 2023-11-11 19:04:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1342
Comment 2 Christoph Cullmann 2023-11-12 10:48:42 UTC
Git commit 54cadc29023ebe2d5c29cbbad67f2374ddffd66e by Christoph Cullmann.
Committed on 12/11/2023 at 11:20.
Pushed by cullmann into branch 'master'.

use window text palette color

for the highlighted element we use this, too

M  +1    -1    apps/lib/kateurlbar.cpp

https://invent.kde.org/utilities/kate/-/commit/54cadc29023ebe2d5c29cbbad67f2374ddffd66e