Ok, it seems to be working in IE7 now with

  PopupAtom.show();
  qx.ui.core.Widget.flushGlobalQueues();
  qx.client.Timer.once(function() {this.longTask();
PopupAtom.hide();},this,100);

I initially tried it with a 0 timeout but the popup did not consistently
appear.  It seems to be now, but I'll have to use it a while and see how
consistent it is.

Thanks for your help!

  -Bruce

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fabian
Jakobs
Sent: Wednesday, May 30, 2007 3:51 AM
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] Force update in IE7?

Bruce Bockius schrieb:
>
> Hello,
>
> I'm trying to display a "processing" message to the user at the 
> beginning of long-running section of code. I have a 
> "qx.ui.popup.PopupAtom" item in the document. I call .show() on the 
> PopupAtom at the beginning of my process, and ".hide()" at the end. I 
> also call qx.ui.core.Widget.flushGlobalQueues() after the immediately 
> after the .show(). Unfortunately it never shows up on the screen. If I

> remove the .hide() it does show up, but not until the long-running 
> code is complete.
>
> I'm running IE7, and (I must confess) a rather outdated version of 
> qooxdoo, 0.6.3.
>
> Does anyone have any suggestions for making IE7/qooxdoo update the 
> display after the .show()?
>
> Thanks!
>
Hi Bruce,

I think you face the same issue as Daniel 
<http://www.nabble.com/Global-Wait-cursor---Problem-with-UI-changes-duri
ng-events-tf3833879.html>. 
The issue is that while the browser executes a block of JavaScript no 
layouting is done. You have to call the computation inside a timeout.

Best Fabian

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to