After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 630962 - double click isn't catched
double click isn't catched
Status: VERIFIED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.22.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-09-29 22:14 UTC by viktor
Modified: 2010-10-02 03:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
demo for GDK_2BUTTON_PRESS not being catched (736 bytes, text/plain)
2010-09-29 22:14 UTC, viktor
Details

Description viktor 2010-09-29 22:14:28 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.
Comment 1 Tor Lillqvist 2010-09-29 22:51:23 UTC
Yep, can be seen in gtk-demo too.
Comment 2 Tor Lillqvist 2010-09-30 17:37:44 UTC
Fixed in git. For once, a bug that could be fixed by just removing a few lines of code.
Comment 3 viktor 2010-09-30 17:50:55 UTC
great, thanks. this will be found first in gtk 2.22.1 i guess?
Comment 4 Tor Lillqvist 2010-09-30 17:59:19 UTC
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).)
Comment 5 viktor 2010-09-30 18:11:10 UTC
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 :)
Comment 6 viktor 2010-10-01 19:18:14 UTC
just as a confirmation, it's tested and indeed works with gtk-2.22.0-2
Comment 7 Javier Jardón (IRC: jjardon) 2010-10-02 03:01:19 UTC
Thanks for the confirmation viktor