Bug 476051 - Invisible splitter (black on black) when using Dark Theme
Summary: Invisible splitter (black on black) when using Dark Theme
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: split-view (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-24 14:33 UTC by Andrew Shark
Modified: 2024-03-16 18:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
window dark, profiles dark - splitter invisible (186.40 KB, image/png)
2023-10-24 14:43 UTC, Andrew Shark
Details
window light, profiles dark - splitter visible (187.40 KB, image/png)
2023-10-24 14:43 UTC, Andrew Shark
Details
profiles bg very different - splitter does not matter (186.18 KB, image/png)
2023-10-24 14:44 UTC, Andrew Shark
Details
window light, profiles light - splitter invisible (186.01 KB, image/png)
2023-10-24 14:45 UTC, Andrew Shark
Details

Note You need to log in before you can comment on or make changes to this bug.
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