On 11/8/07, Chris Lord <[EMAIL PROTECTED]> wrote: > It could be that the motion hint is set on the widget - this stops > motion events being reported until the app has had time to handle them > so you don't get a back-log of events... I might (in fact, probably) be > remembering incorrectly, but previous hildon gtk had a patch so it was > set by default I think?
This is not true now (and never has been to the best of my knowledge), we don't set that on any widget that didn't have it already. > > Either way, something to check out - Have a look at > gtk_widget_add_events, GdkEventMask and GDK_POINTER_MOTION_HINT_MASK. Setting or not the MOTION_HINT_MASK does not really affect the button-release stuff anyway I think. You'll simply stop receiving motion-notify-event until you ask for more. > I've not tried python, but I certainly didn't have this problem in C. Same here, a testcase would help :) > > --Chris > > On Wed, 2007-11-07 at 22:32 -0800, George Nachman wrote: > > I've written an app in PyMaemo that is very sensitive to getting > > OnButtonUp events on time and I noticed that if I touch the screen > > with my finger, move it, and let it up all very quickly that I don't > > get the button_release_event message. I do get a button_press_event > > and maybe a motion_notify_event, but GTK never tells me I released the > > button. If I then tap on the screen I immediately get a > > button_release_event, motion_notify_event, and button_press_event in > > very quick succession. > > > > My program runs in a full-screen window, so I don't believe something > > else could be getting my button_release_event--and besides, I do get > > it when I tap on the screen later on, anyway. > > > > Has anyone ever heard of this? Could I just be doing something silly? > > > > Thanks, > > George > > _______________________________________________ > > maemo-developers mailing list > > [email protected] > > https://lists.maemo.org/mailman/listinfo/maemo-developers > > _______________________________________________ > maemo-developers mailing list > [email protected] > https://lists.maemo.org/mailman/listinfo/maemo-developers > _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
