Bug 379773

Summary: GTK scrollbar behavior should have warp turned off by default
Product: [Plasma] Breeze Reporter: Philipp A. <flying-sheep>
Component: gtk themeAssignee: scionicspectre
Status: RESOLVED FIXED    
Severity: normal CC: dan, grmat, marco_parillo, nate, rdieter, wbauer1
Priority: NOR Keywords: junior-jobs
Version: 5.9.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.12.7
Sentry Crash Report:

Description Philipp A. 2017-05-13 11:30:44 UTC
GTK applications warp the scrollbar slider to the mouse position when the groove is clicked instead of Qt’s page-wise behavior (with warping on middle click)

adding a settings.ini next to the theme’s gtk.css would fix this:

[Settings]
gtk-primary-button-warps-slider=false
Comment 1 grmat 2018-07-02 09:32:07 UTC
It's been configurable in the kcm for a while, maybe not the default, I don't know.
Comment 2 Nate Graham 2018-07-13 20:24:29 UTC
Yes, the KCM should have the opposite default so that it matches the Qt app behavior.
Comment 3 Nate Graham 2018-07-13 20:58:19 UTC
*** Bug 385181 has been marked as a duplicate of this bug. ***
Comment 4 Wolfgang Bauer 2018-08-15 16:27:24 UTC
(In reply to Nate Graham from comment #2)
> Yes, the KCM should have the opposite default so that it matches the Qt app
> behavior.

The KCM does have "Scroll one page up/down" (gtk-primary-button-warps-slider=0) as default, but the default config file written by breeze-gtk's kconf_update script doesn't contain gtk-primary-button-warps-slider at all.
Comment 5 Wolfgang Bauer 2018-08-15 17:14:26 UTC
Proposed fix:
https://phabricator.kde.org/D14863
Comment 6 Wolfgang Bauer 2018-08-15 18:36:48 UTC
Git commit f5121ba89abf9eb50b42ab9c95f1f4c7e57bd044 by Wolfgang Bauer.
Committed on 15/08/2018 at 18:32.
Pushed by wbauer into branch 'Plasma/5.12'.

[kconf_update] Add "gtk-primary-button-warps-slider=0" to generated GTK3 config

This brings the default GTK3 settings more in line with Qt's behavior,
and it's also the default in kde-gtk-config's KCM.
FIXED-IN: 5.12.7
Differential Revision: https://phabricator.kde.org/D14863

M  +1    -0    kconf_update/main.cpp

https://commits.kde.org/breeze-gtk/f5121ba89abf9eb50b42ab9c95f1f4c7e57bd044