Re: Clicking Button Twice in Succession Not Responsive



I noticed that, but I couldn't come up with a reproducible scenario. I have seen it many times, in gtk under Windows.

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?

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!


--
Leandro Fanzone
http://www.seikilos.com.ar




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