On Wed, 2007-02-14 at 10:28 -0600, Allen wrote:
Hello all,
has anyone else come across this bug w/ gtk/gtkmm? When I click a
button in my window twice or more in succession, the 1st time it works,
the button performs the action I've attached to it. But if I click it
twice or more in succession w/o clicking anywhere else on my interface,
focus comes back to my button but it will not perform the action.
I must click off the button- click somewhere else on my GUI - then I may
click back on my button & it will work again.
Has anyone else noticed this and is there a simple fix?
Yes, I believe it's this extremely annoying GTK+ bug, which looks like
it might finally be fixed soon:
http://bugzilla.gnome.org/show_bug.cgi?id=56070
That is also mentioned in this Ubuntu bug report:
https://bugs.launchpad.net/gtk/+bug/22930
I've tried the following w/ no success:
1. In code, set focus to some other GUI element & then click on the
button a second time
2. In code, set focus to some other GUI element, ran the "clicked"
method of a hidden button
3. In code, updated the GUI interface several times after the button was
clicked once
4. In code, ran the "clicked" method of a hidden button, set focus on
another GUI element, & updated the GUI several times after 1 button click
Each of the above experiments were separate &, obviously, built on top
of the one that came before to no avail.
Any suggestions? Thanks everyone!