#726784 libgtk-3-0: Scrolling only works when window has focus

Package:
libgtk-3-0
Source:
gtk+3.0
Description:
GTK graphical user interface library
Submitter:
Lukas Hofmann
Date:
2015-07-25 23:45:03 UTC
Severity:
normal
#726784#5
Date:
2013-10-19 08:08:26 UTC
From:
To:
Dear Maintainer,

in gtk2 programs I'm able to move the mouse pointer over a window and scroll
through it using the scroll wheel without the window having the focus. Programs
using gtk3 don't have this ability.
Example: When using Rhythmbox (gtk3) I have to move the focus to its window in
order to scroll through my music library. By contrast, I can scroll through the
file list in PCManFM (gtk2) even when a different window has the focus.
Since I'm using a dual-head setup, the behavior of gtk2 is much more useful in
my opinion and it would be nice if this was re-enabled in gtk3.
My window manager is IceWM, if that's relevant to the problem.

#726784#10
Date:
2014-09-12 07:08:11 UTC
From:
To:
I am using libgtk-3-0 3.12.2-3 and I am perfectly able to scroll
Iceweasel or the mails list in Evolution while the window in which I'm
writing this message is focused.

Either the bug was solved, or it is an IceWM bug.

Could you test with other desktop managers?

Pietro

#726784#15
Date:
2015-07-25 23:43:41 UTC
From:
To:
There's more info on the KDE, Ubuntu, and Fedora bug trackers.

https://bugs.kde.org/show_bug.cgi?id=348270
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1240957
https://bugzilla.redhat.com/show_bug.cgi?id=983834

TL;DR: It depends on the WM but it's broken on more than one WM. Ubuntu
"fixed" it by patching Compiz and it still affects Kubuntu 14.04 LTS users.

GTK+ has been patched but, obviously, that only helps people it gets
backported to.

(https://git.gnome.org/browse/gtk%2B/commit/?id=77b8495)

According to a post on the KDE bug tracker entry, a workaround is to
export GDK_CORE_DEVICE_EVENTS=1