[fxruby-users] FXColorDialog slow UI update

Philippe Lang philippe.lang at attiksystem.ch
Thu Feb 28 08:16:00 EST 2008


fxruby-users-bounces at rubyforge.org wrote:

>> I have noticed a very small problem with the FXColorDialog class:
>> when changing the color with the color wheel, it takes quite a long
>> time (until 4 seconds, sometimes less) for the other panels of the
>> dialog to synchronize.
> 
> Did you try to put (if your app is not multi-threaded):
> 
> app.disableThreads
> 
> before app.create ?
> 
> I found that this speeds up the GUI updates considerably...

Hi,

Thanks, it works just fine now. The problem disappeared. Is there a
reason why multithreading slows down FXRuby so much?

Philippe


More information about the fxruby-users mailing list