Hi danovics, neither did I experience the same nor do I indeed know a solution, but the following may be worth a blind shot: In a recent thread there was a suggestion to flush the widget queue in order to enforce the right order of widget appearance. Alexander then wrote: ---- You can call
qx.ui.core.queue.Widget.flush(); to flush the widget queue manually and to have the widget rendered immediately. ---- If this doesn't help, I'd suggest you'd provide some playground example, these things make reproducing things easy & fun to play with. Apart from that, whenever I used qx.ui.popup.Popup myself, it worked as intended. Greetings, Stefan On 29.01.2010 10:56, danovics wrote: > > Sorry for the new topic, but I found another angle of view on the same > problem which was written in another topic. Nobody answered there. > > In the Application.js I initialize a firstLayer wich holds my app elements, > and a secondLayer which is derived from the qx.ui.popup.Popup. > A button click in the firstLayer calls a function buttonClicked() which > needs a little time to execute, therefore the first row of this function is > secondLayer.show() and the last row is secondLayer.hide(). > > The problem is, that qx ignores the order of my commands. > The secondLayer won't show up not even the executing of the buttonClicked() > function last more seonds. > If I comment out the secondLayer.hide() I can see what's happening: the code > in the buttonClicked() function is executed and only _after_ that the > secondLayer.show() is executed, in spite of that this is the first row of > the function. > > Does anybody experienced something like this? > Does anybody know a solution for this? > > Any help would be greatly appreciated. > Thanks. > ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel