Re: Clicking Button Twice in Succession Not Responsive



Thank you for the heads up.

I had no clue as to were to look for this because I'm so new 2 gtk/gtkmm development. What's really nice is the "new bug" @ the website you sent me. Thank you! This is awesome. Now I know where to post bugs & search.

Murray Cumming wrote:
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!


--
Sincerely, Allen

Gene Allen Saucier, Jr
Senior Software Engineer
CAS, Inc
100 Quality Circle
Huntsville, AL  35806
or
PO Box 11190
Huntsville, AL  35814
(256) 922-6453 (w)
"...As for I and my house, we shall follow the Lord"  Joshua 24:15




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]