Bug 476051

Summary: Invisible splitter (black on black) when using Dark Theme
Product: [Applications] konsole Reporter: Andrew Shark <ashark>
Component: split-viewAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal CC: almur.kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: window dark, profiles dark - splitter invisible
window light, profiles dark - splitter visible
profiles bg very different - splitter does not matter
window light, profiles light - splitter invisible

Description Andrew Shark 2023-10-24 14:33:12 UTC
In Konsole, I often want to split the tab with several views. I also use Breeze Dark theme.

The problem is that default profile is always on dark background, while the splitter color is the same as titlebar color. This causes it to be hardly visible on dark theme (see screenshots).

STEPS TO REPRODUCE
1. Open the Konsole
2. Select Settings | Window Color Scheme | Breeze Dark
3. Press Ctrl + Shift + ) or View | Split View | Split View Top/Bottom.
3. Try to see where is the splitter

OBSERVED RESULT
You cannot see it clearly

EXPECTED RESULT
You should be able to see it.

Firstly, I thought that the QSplitter color should depend on the terminal background color. But then I thought that in the same tab the profile (i.e. background color) may be different for each split view.

So my suggestion is to use always working approach - a splitter with the color of window theme, but surrounded with tiny line of inverted color.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.5.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Konsole: 23.08.2

ADDITIONAL INFORMATION
I saw some email clients do this approach for emails that do not care of users preference. They can remove light background from image, but they keep a small border to be on a safe side (if image is dark, its border should be visible).

By the way, Dolphin also has a split view, and it looks good with dark theme.
Comment 1 Andrew Shark 2023-10-24 14:43:21 UTC
Created attachment 162539 [details]
window dark, profiles dark - splitter invisible
Comment 2 Andrew Shark 2023-10-24 14:43:49 UTC
Created attachment 162540 [details]
window light, profiles dark - splitter visible
Comment 3 Andrew Shark 2023-10-24 14:44:22 UTC
Created attachment 162541 [details]
profiles bg very different - splitter does not matter
Comment 4 Andrew Shark 2023-10-24 14:45:23 UTC
Created attachment 162542 [details]
window light, profiles light - splitter invisible
Comment 5 Alfonso Murolo 2024-03-16 18:03:18 UTC
Hey Andrew, does this persist for you in KDE6 with Breeze Dark?
For me it is definitely visible now.

Cheers
Alfonso