how to fix the scrolling behaviour in GTK3 applications

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

how to fix the scrolling behaviour in GTK3 applications

#1 Post by disciple »

Traditionally clicking in a linux scroll bar worked like this:
left-click = page up / page down
middle-click = scroll to clicked location
right-click = no action (except in QT where you get a neat context menu).

In GTK3 they have changed it to work like this:
left-click = scroll to clicked location
middle-click = no action
right-click = page up / page down

This is a real pain when you have both GTK2 and GTK3 apps. But you can restore the traditional behaviour by putting this in ~/.config/gtk-3.0/settings.ini

Code: Select all

[Settings]
gtk-primary-button-warps-slider = 0
Alternatively, if you like the newfangled GTK3 behaviour you can apparently put the opposite setting in your GTK2 config, but I haven't tried that.
A pity you can't get the QT behaviour in gtk :(
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply