GNOME Bugzilla – Bug 630962
double click isn't catched
Last modified: 2010-10-02 03:01:19 UTC
Created attachment 171375 [details] demo for GDK_2BUTTON_PRESS not being catched i'm building xchat-wdk against glib 2.26 and gtk+ 2.22. of course there are no compilation or linking errors. i couldn't make words selected with double click, or lines with triple click in the chat window. i though it's an error in the xchat code, but then i had to realize that user whois after double clicking on usernames won't happen either. they both use GDK_2BUTTON_PRESS (for line selection it's of course GDK_3BUTTON_PRESS). so i guess it must be an error in gtk+. if i downgrade gtk+ and gtk+-dev to 2.20 it all suddenly starts working. am i the only one who can't catch multiple click events? edit: i've made a demo. build with gtk 2.20 and double clicking the button will close the app. build with 2.22 and it won't.
Yep, can be seen in gtk-demo too.
Fixed in git. For once, a bug that could be fixed by just removing a few lines of code.
great, thanks. this will be found first in gtk 2.22.1 i guess?
From a source code release point of view, yes. (But if it takes long before 2.22.1 is released, I might do a new build of the windows gtk+ binaries with this fix included (and any other important ones that have been committed).)
great :) i'll be able to make a new xchat-wdk release as soon as those along with the win64 builds are out. thanks for the assistance in the past few days :)
just as a confirmation, it's tested and indeed works with gtk-2.22.0-2
Thanks for the confirmation viktor