[Gambas-user] Problem with dialog box already displayed
Benoît Minisini
gambas at ...1...
Sun Dec 22 22:19:36 CET 2013
Le 22/12/2013 22:08, Benoît Minisini a écrit :
> Le 22/12/2013 22:04, richard terry a écrit :
>> Hi Benoit.
>>
>> I've noticed (infrequently) that if a dialog box is being called by
>> clicking a button and my computer is busy doing other stuff chewing up
>> the cpu and the user (me) doesn't get a response to the button that I
>> just pressed and I press it again, gambas crashes into the IDE saying
>> the dialog box is already displayed (when in fact it hasn't come up yet
>> on the gui). This has been a long-standing intermittent bug for me in
>> 3.4 and now 3.5.1.
>>
>> Any solution to this bar putting a catch in all subroutines showing
>> dialog boxes or disabling the button being pressed as soon as one
>> clicks it?
>>
>> Regards
>>
>> richard
>>
>
> Is it with gb.gtk or gb.qt4?
>
Can you provide a piece of the source code so that I can see how you
display your dialog box: what you describe is possible only if the event
loop is called during the button click event handler.
--
Benoît Minisini
More information about the User
mailing list