|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
not receiving motion-notify-eventsHello,
I recently upgraded to ubuntu 9.10, and am having trouble with a pyglkglext application I have been working on. The code runs fine on RHEL5.3 and ubuntu 9.04, but when I run under ubuntu 9.10, I do not receive any motion-notify-events in the GLArea window. My application uses GLScene/GLArea from the gtk.gtkgl.apputils module. I have confirmed that motion-nofity-event is being added and the callback connected, but the event never seems to be raised. Button-press and button-release events seem to be behaving correctly, as well as scroll wheel events (which I add manually since button5-events don't work in gtk 2.2). Has anyone else seen this behavior? Any suggestions on diagnosing/fixing? library versions reported by ubuntu (all installed as ubuntu packages from 9.10 repositories): python 2.6.4 libgtk2.18 pygtk 2.16 libgtkglext 1.2 pygtkglext 1.1.0-3 pyopengl 3.0.0 Thanks, Ray _______________________________________________ gtkglext-list mailing list gtkglext-list@... http://mail.gnome.org/mailman/listinfo/gtkglext-list |
|
|
Re: not receiving motion-notify-eventsOn Mon, Dec 07, 2009 at 09:39:56PM -0600, Raymond Maple wrote:
> Hello, > I recently upgraded to ubuntu 9.10, and am having trouble with a > pyglkglext application I have been working on. The code runs fine on > RHEL5.3 and ubuntu 9.04, but when I run under ubuntu 9.10, I do not receive > any motion-notify-events in the GLArea window. My application uses > GLScene/GLArea from the gtk.gtkgl.apputils module. I have confirmed that > motion-nofity-event is being added and the callback connected, but the event > never seems to be raised. Button-press and button-release events seem to be > behaving correctly, as well as scroll wheel events (which I add manually > since button5-events don't work in gtk 2.2). Has anyone else seen this > behavior? Any suggestions on diagnosing/fixing? > libgtk2.18 This bug has to do with the new client-side windows behavior in GTK+. A work-around is to export GDK_NATIVE_WINDOWS=1 and then run the application. The GtkGLExt bug report is here: https://bugzilla.gnome.org/show_bug.cgi?id=603849 Mukund _______________________________________________ gtkglext-list mailing list gtkglext-list@... http://mail.gnome.org/mailman/listinfo/gtkglext-list |
|
|
Re: not receiving motion-notify-eventsOn Mon, Dec 07, 2009 at 09:39:56PM -0600, Raymond Maple wrote:
> Hello, > I recently upgraded to ubuntu 9.10, and am having trouble with a > pyglkglext application I have been working on. The code runs fine on > RHEL5.3 and ubuntu 9.04, but when I run under ubuntu 9.10, I do not receive > any motion-notify-events in the GLArea window. My application uses It seems like the motion mask behavior has changed recently in GTK+. Adding GDK_POINTER_MOTION_MASK events fixes the issue for the shapes example. See if doing this fixes the issue for you too. Mukund _______________________________________________ gtkglext-list mailing list gtkglext-list@... http://mail.gnome.org/mailman/listinfo/gtkglext-list |
|
|
Re: not receiving motion-notify-eventsOn Mon, Dec 07, 2009 at 09:39:56PM -0600, Raymond Maple wrote:
> Hello, > I recently upgraded to ubuntu 9.10, and am having trouble with a > pyglkglext application I have been working on. The code runs fine on > RHEL5.3 and ubuntu 9.04, but when I run under ubuntu 9.10, I do not receive > any motion-notify-events in the GLArea window. My application uses > GLScene/GLArea from the gtk.gtkgl.apputils module. I have confirmed that > motion-nofity-event is being added and the callback connected, but the event > never seems to be raised. Button-press and button-release events seem to be > behaving correctly, as well as scroll wheel events (which I add manually > since button5-events don't work in gtk 2.2). Has anyone else seen this > behavior? Any suggestions on diagnosing/fixing? Hi Raymond It turns out that this was a bug in gtk+. It has been fixed in the gtk+ 2.18.5 release. Upgrading to this version should fix the bug for you. The gtk+ bug: https://bugzilla.gnome.org/show_bug.cgi?id=601473 Mukund _______________________________________________ gtkglext-list mailing list gtkglext-list@... http://mail.gnome.org/mailman/listinfo/gtkglext-list |
| Free embeddable forum powered by Nabble | Forum Help |