Bug 417469

Summary: Konsole scroll bar is difficult to see with a black background when using certain widget themes
Product: [Applications] konsole Reporter: Paul Marks <paul>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, nate, ninjalj, wbauer1
Priority: NOR Keywords: regression, usability
Version: 19.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of Konsole with an invisible scroll bar
Bug looks fixed in v22.08.1

Description Paul Marks 2020-02-12 04:03:37 UTC
STEPS TO REPRODUCE

1. Launch Konsole
2. Set the color scheme to "Linux Colors", or anything with a black background
3. Do anything that requires scrolling

OBSERVED RESULT

The scroll bar is rendered as dark grey on black (see attached screenshot.)  I have at least average vision, and I have to hold my face up to the screen and squint to determine the scroll position.

EXPECTED RESULT

The scroll bar should have reasonable contrast, and there should be an option to revert to the system-wide theme.

SOFTWARE/OS VERSIONS

I'm currently using Konsole 19.08.1 with LxQt 0.14.1 on Debian testing.  The problem also occurs on my work computer with Cinnamon.

ADDITIONAL INFORMATION

This started a few years ago, when Konsole (unnecessarily, imho) switched to a custom scrollbar.  I've been using the blue "Solarized" theme to work around the problem, but I prefer black.

This was reported twice on the forums:
- https://forum.kde.org/viewtopic.php?f=227&t=142814
- https://forum.kde.org/viewtopic.php?f=227&t=156174

The latter speculates that https://phabricator.kde.org/D11184 is the cause.
Comment 1 Paul Marks 2020-02-12 04:04:29 UTC
Created attachment 125885 [details]
Screenshot of Konsole with an invisible scroll bar
Comment 2 Nate Graham 2020-02-12 22:19:22 UTC
Yeah https://phabricator.kde.org/D11184 is to blame.

I hate to say it, but I think this is a bug in your widget theme. However it's definitely a bug that we're triggering by playing these games with the scrollbar coloration.

Maybe there's something we can do here.
Comment 3 Wolfgang Bauer 2020-02-13 06:24:31 UTC
Duplicate of bug#393423 ?
Comment 4 Paul Marks 2020-02-13 20:35:00 UTC
I found a partial workaround:
- Select your desired color scheme
- Click "New..." to duplicate the color scheme
- Set the Background Color to tweak the scroll bar
- Set the Background Image to an all-black .png file

However, this still mucks up the colors that appear when highlighting text.
Comment 5 ninjalj 2022-11-03 11:57:36 UTC
Should probably be fixed from v21.12.0 onwards, as per bug #393423. Can you confirm?
Comment 6 Paul Marks 2022-11-03 15:15:40 UTC
Created attachment 153438 [details]
Bug looks fixed in v22.08.1