Bug 379773 - GTK scrollbar behavior should have warp turned off by default
Summary: GTK scrollbar behavior should have warp turned off by default
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (show other bugs)
Version: 5.9.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: scionicspectre
URL:
Keywords: junior-jobs
: 385181 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-13 11:30 UTC by Philipp A.
Modified: 2018-08-16 20:20 UTC (History)
6 users (show)

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


Attachments

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