Bug 440749 - enlarge scrollbar width
Summary: enlarge scrollbar width
Status: CLOSED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.08.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-08 18:13 UTC by phil4000n
Modified: 2021-08-23 19:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.23


Attachments
Dolphin too thin scrollbar (6.85 KB, image/jpeg)
2021-08-11 03:16 UTC, phil4000n
Details
Thunar scrollbar width ok (7.96 KB, image/jpeg)
2021-08-11 03:17 UTC, phil4000n
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phil4000n 2021-08-08 18:13:02 UTC
I have absolutely no idea which component to choose for this bug, as it affects all KDE apps.

Frequently Asked Question on the web:
How to enlarge the width of scrollbars, esp. with 4K monitors are they are "ridiculously thin" some says, I do agree.

Solution under GTK:
Create the file ~/.config/gtk-3.0/gtk.css if it doesn’t already exists and paste the following CSS rules in it:

scrollbar, scrollbar button, scrollbar slider {
    min-width: 10px;
    min-height: 10px;
}


ADDITIONAL INFORMATION
This ought to be independant of any theme

Examples of complains:
https://forum.kde.org/viewtopic.php?f=17&t=166258
https://www.reddit.com/r/firefox/comments/ntqo01/how_can_i_increase_scrollbar_thickness_kdeubuntu/

etc.

Thanks
Comment 1 Nate Graham 2021-08-09 15:27:48 UTC
The scrollbar thickness already scales itself if you use the global scaling system. I'm using a 4K screen with 200% scale and the scrollbar is exactly the same thickness that it would be if it was a 1080p screen at 100% scale.

As for the thickness itself, we increased it a bit a few years ago and there are no plans to make it either any thicker or any thinner. Any thicker, and we get complaints that it's "wasting space". Any thinner, and we get complaints that it is hard to use and too much like a mobile phone scrollbar.
Comment 2 Nate Graham 2021-08-10 18:40:31 UTC
Actually I lied. We just made the bar a bit thicker within its track (6px wide -> 10px wide) in https://invent.kde.org/plasma/breeze/-/commit/8532a780f368a33f79af9a2e995e56d9522f7c59.

Note that the track itself is not any wider, but this does not matter because the bar's clickable always secretly spanned the full width of the track anyway.
Comment 3 phil4000n 2021-08-11 03:05:50 UTC
As for the thickness itself, we increased it a bit a few years ago and there are no plans to make it either any thicker or any thinner. Any thicker, and we get complaints that it's "wasting space". Any thinner, and we get complaints that it is hard to use and too much like a mobile phone scrollbar.


This is the proof, that it ought to be customisable by the final user.
After all, one can change mouse speed, buttons, etc. almost anything to the very exception of the scrollbar.

Please bring a solution, as there do exists in GTK.

Thanks
Comment 4 phil4000n 2021-08-11 03:16:42 UTC
Created attachment 140650 [details]
Dolphin too thin scrollbar
Comment 5 phil4000n 2021-08-11 03:17:13 UTC
Created attachment 140651 [details]
Thunar scrollbar width ok
Comment 6 phil4000n 2021-08-11 03:21:06 UTC
Just uploaded, screenshots of Dolphin vs Thunar scrollbar in same session, in this very case in 1920x1080

Dolphin's scrollbar width is definitly too thin to me, as for any kde app.
Notice how big is mouse pointer, compare to scrollbar width
Comment 7 Nate Graham 2021-08-11 03:27:44 UTC
You should like the new ones, then. :)
Comment 8 phil4000n 2021-08-19 06:58:11 UTC
Not fixed for me in

Dolphin 21.08
KDE Framework 5.85.0
Qt 5.15.2
Comment 9 Nate Graham 2021-08-19 13:38:58 UTC
It is fixed in Plasma 5.23, not any Dolphin or KDE Frameworks version. The Breeze theme lives in a Plasma-aligned package.
Comment 10 phil4000n 2021-08-21 07:54:23 UTC
>It is fixed in Plasma 5.23, not any Dolphin or KDE Frameworks version.
I'll very when it'll be released.

>The Breeze theme lives in a Plasma-aligned package.
Then my question is: will it apply whatever theme a user is applying?

Because, with the GTK solution, it applies to any theme, see my very first post
Comment 11 Nate Graham 2021-08-23 14:08:05 UTC
(In reply to phil4000n from comment #10)
> >It is fixed in Plasma 5.23, not any Dolphin or KDE Frameworks version.
> I'll very when it'll be released.
> 
> >The Breeze theme lives in a Plasma-aligned package.
> Then my question is: will it apply whatever theme a user is applying?
> 
> Because, with the GTK solution, it applies to any theme, see my very first
> post

No, the change was made only to the Breeze theme. There is no such thing as a universal theme that applies to all apps, so the change will only apply to apps that are being styled by the Breeze theme. We will do our best to get these changes added to the Breeze GTK theme too.
Comment 12 phil4000n 2021-08-23 19:41:26 UTC
Why not adding an extra option to configure the width of the scrollbars???

One change icons size, mouse pointer size, etc.

but not the scrollbar.

Thanks