Re: [qooxdoo-devel] globalCursor

2006-10-17 Thread Sebastian Werner
setGlobalCursor directly apply the new cursor. No need to flush anything in the case. The problem is the browser - not qooxdoo. When you want to be sure, that the cursor is correctly applied, you must execute the processor intensive task (not the setGlobalCursor) with a timeout directly after s

Re: [qooxdoo-devel] globalCursor

2006-10-17 Thread Alex D.
Thx for help Jim, but... it doesn't work anyway. Neither flush(true) nor flush(or setGlobalCursor) in setTimeout. And i just looked in the source code - flushGlobalQueues() routine doesn't expect any parameters. Regards, alex.d setTimeout(function(){qx.ui.core.ClientDocument.getInstance

Re: [qooxdoo-devel] globalCursor

2006-10-16 Thread Dan Fillpot
setTimeout(function(){qx.ui.core.ClientDocument.getInstance().setGlobalCursor("wait");},0); should work also Jim Hunter wrote: I just saw your previous post about flushGlobalQueues and I have found in recent build, this call does nothing unless you pass in true as the parameter (like my e

Re: [qooxdoo-devel] globalCursor

2006-10-16 Thread Jim Hunter
I just saw your previous post about flushGlobalQueues and I have found in recent build, this call does nothing unless you pass in true as the parameter (like my example below). I was not seeing any difference between using the flush command and not using it until I added the true parameter, now it

Re: [qooxdoo-devel] globalCursor

2006-10-16 Thread Alex D.
I've tried it's already ;-)(was the first i did) - it doesn't work. Right after you change the cursor, issue the following command: qx.ui.core.Widget.flushGlobalQueues(true); This should do the trick. Jim On 10/16/06, Alex D. <[EMAIL PROTECTED]> wrote:

Re: [qooxdoo-devel] globalCursor

2006-10-16 Thread Alex D.
I've tried it's already ;-)(was the i did) - it doesn't work. Right after you change the cursor, issue the following command: qx.ui.core.Widget.flushGlobalQueues(true); This should do the trick. Jim On 10/16/06, Alex D. <[EMAIL PROTECTED]> wrote: Hi folks, sorry for t

Re: [qooxdoo-devel] globalCursor

2006-10-16 Thread Jim Hunter
Right after you change the cursor, issue the following command:qx.ui.core.Widget.flushGlobalQueues(true);This should do the trick.JimOn 10/16/06, Alex D. <[EMAIL PROTECTED]> wrote: Hi folks, sorry for the traffic but i have another issue that doesn't work: i have a button that do some fil

[qooxdoo-devel] globalCursor

2006-10-16 Thread Alex D.
Hi folks, sorry for the traffic but i have another issue that doesn't work: i have a button that do some filtering(CPU intensive). So in the meantime i would like to set global cursor to "wait": ==snip=== button.addEventListener("execute", function(e){     qx.ui