Hi Skar, > I'm using qooxdoo trunk 20421. I get the same problem with 20400 too. > Please update to the rev. 20429. This should solve your "null" issue with a modal window. > I'm already waiting for 1000 msec before getting the focused widget and > also, when the window isn't modal, I'm able to get the textfield as the > focused widget every single time. So the window being modal affects this > some how. > The workaround with the timer works, because the timer is executed after the flush from the queue. > Even if I use the focusin and focusout, I will have to implement it by > having a focus in and out listener for all the focusable fields/buttons > and then deducing which one is focused now. Shouldn't it be easier to > let the focus manager do it for me instead? > Yes, that's easier, but you have to ensure that the queue is flushed, before you call "getFocusedWidget()". You can do this with calling "qx.ui.core.queue.Manager.flush()", but I don't know if this occurs side effects.
Cheers, Chris -- Christian Schmidt Software Entwickler 1&1 Internet AG - Web Technologies Ernst-Frey-Straße 9 · DE-76135 Karlsruhe schmidt.christ...@1und1.de Amtsgericht Montabaur / HRB 6484 Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen Aufsichtsratsvorsitzender: Michael Scheeren ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel