Bug 467256

Summary: Incorrect hover color used in Map View
Product: [Applications] marble Reporter: Zechariah_Boyer
Component: generalAssignee: marble-bugs
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version: 22.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Wrong color in MapView shown

Description Zechariah_Boyer 2023-03-12 23:18:42 UTC
Created attachment 157223 [details]
Wrong color in MapView shown

SUMMARY
An incorrect hover color can be seen located in Map View that only affects some color schemes. Hovering over an element in Map View produces a bright grayish color that does not exist in that color scheme. I have singled out that the color is affected by BackgroundNormal in [Colors:Window]. None of the default KDE breeze or Krita color schemes are affected because they are too bright for this bug to trigger. It only occurs if BackgroundNormal is very low in rgb value.

HOW TO REPRODUCE
Create a copy of any color scheme you have. Breeze Dark will do fine. Change BackgroundNormal in [Colors:Window] to one of the two values below.

BackgroundNormal=15,12,12
Results in the bug. Setting to 0,0,0 works as well.

BackgroundNormal=31,31,31
Results in an apparent "proper" color.

OBSERVED RESULT
Wrong color is present when hovering over an element in MapView.

EXPECTED RESULT
Color should be derived from the focus/hover decoration color.

SYSTEM INFORMATION
Operating System: Kubuntu 22.10
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 27.3 GiB of RAM
Graphics Processor: RENOIR
Manufacturer: LENOVO
Product Name: 82JW
System Version: Legion 5 15ACH6