Bug 490545

Summary: Color of underline does not match variable foreground colors
Product: [Applications] konsole Reporter: ratijas <me>
Component: historyAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Konsole underline color

Description ratijas 2024-07-20 08:50:16 UTC
Created attachment 171812 [details]
Konsole underline color

SUMMARY

The underline (which highlights files and links) is all solid and same color even if the foreground color of the link text is variable. In fact, the color of the underline is a foreground color of a character at which the cursor started hovering the link.

STEPS TO REPRODUCE
1. Get some variably colored output with file names, for example using fd(1) like on the video recording: navigate to ~/kde/src/breeze-icons directory and run `fd bluetooth`.
2. Hover on the links entering from differently colored parts

OBSERVED RESULT
The underline is a solid line painted with the same color all the way through. The color is taken from a foreground color of a character where the cursor entered the hover state.

EXPECTED RESULT
The underline color should match every individual letter and character which it decorates.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.80 (git/master)
KDE Frameworks Version: 6.5.0 (git/master)
Qt Version: 6.7.2
Kernel Version: 6.9.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 7940HS w/ Radeon 780M Graphics
Memory: 58.7 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: Framework
Product Name: Laptop 16 (AMD Ryzen 7040 Series)
System Version: AJ