rbatten / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

Scroll wheel doesn't work for me #621

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Seeking (or volume changing) by scroll wheel doesn't work for me.
Now I have compiled versions 1.0.6, 1.0.5, 1.0.4 and they all have this 
problem. But when I compiling version 1.0.5 (or 1.0.4) some time ago they 
worked correctly. Therefore I think it's connected with some third-party 
library once updated in my system, I don't know with exactly what.

Operating system: Linux Gentoo
Libraries versions:
glib-2.32.3
gmtk-1.0.6
gtk+-2.24.10, gtk+-3.4.3
libX11-1.4.99.902
libXScrnSaver-1.2.2
alsa-lib-1.0.25
dbus-glib-0.98
libnotify-0.7.5
mplayer-1.0_rc4_p20120405
Configure command: ./configure --enable-gtk3 --with-gio --with-dbus --with-alsa 
--with-libnotify

Original issue reported on code.google.com by Mirr...@gmail.com on 1 Jun 2012 at 1:24

GoogleCodeExporter commented 8 years ago
It is the version of GTK you have installed. They changed something the way 
scrolling is done in Gtk 3.4 and I have not been able to fix it yet as I don't 
have a system with GTK 3.4 yet. So it is a known issue and should be fixed 
hopefully in a month. As a workaround you can build the code as gtk2 and the 
wheel should work.

Original comment by kdeko...@gmail.com on 1 Jun 2012 at 1:31

GoogleCodeExporter commented 8 years ago
Here's the patch. Gtk 3.4 requires scroll events to be explicitly added to the 
widget. The gmtk.patch does that in gmtk. The gnome-mplayer.patch simply 
removes the (re)set of actions in gnome-mplayer application.

Alternative fix is to simply add GDK_SCROLL_MASK to gtk_widget_set_events() in 
gnome-mplayer.

Original comment by rok.mand...@gmail.com on 26 Jul 2012 at 8:54

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The above two patches fixed the scrolling for me (Fedora 17, Gtk 3.4.4). If you 
want to add support for "smooth scrolling", see the patches below.

Original comment by rok.mand...@gmail.com on 26 Jul 2012 at 9:19

Attachments:

GoogleCodeExporter commented 8 years ago
Basic scrolling patch applied. Will merge in smooth scrolling patch in 1.0.8

Original comment by kdeko...@gmail.com on 21 Aug 2012 at 3:31