Thank you, Fabian! I have just tested the new code and it works fine now.
Regards, Florian 2009/3/12 Fabian Jakobs <[email protected]> > > Hi Florian, > > its fixed in trunk now. > > Best Fabian > > Hi Chris, > > > > thanks for your help ! > > > > Regards, Florian > > > > 2009/3/10 Christian Schmidt <[email protected]>: > > > >> Hi Florian, > >> > >> thank you for your code snipped. I could reproduce the issue and opened > >> a bug report for that. > >> > >> http://bugzilla.qooxdoo.org/show_bug.cgi?id=2084 > >> > >> You can add you to CC, to be informed about th bug. > >> > >> Cheers, > >> Chris > >> > >> Florian Giesen schrieb: > >> > >>> Hello Chris, > >>> > >>> I am using the qooxdoo trunk. Here is my sample code ... > >>> > >>> My window class: > >>> > >>> qx.Class.define("my.Test", > >>> { > >>> extend : qx.ui.window.Window, > >>> > >>> /* > >>> > >>> ***************************************************************************** > >>> MEMBERS > >>> > >>> ***************************************************************************** > >>> */ > >>> settings : > >>> { > >>> }, > >>> > >>> properties : > >>> { > >>> }, > >>> > >>> statics : > >>> { > >>> > >>> }, > >>> /** > >>> * @param {String} Window caption > >>> */ > >>> construct : function(caption, icon) > >>> { > >>> this.base(arguments, caption, icon); > >>> > >>> // set layout > >>> this.setLayout(new qx.ui.layout.HBox(2)); > >>> this._createCommands(); > >>> > >>> // initialise properties > >>> this.set({ > >>> appearance : "tinyinput-window", > >>> allowMinimize: false, > >>> allowMaximize: false, > >>> showStatusbar: false, > >>> showClose: false, > >>> showMinimize: false, > >>> showMaximize: false, > >>> movable: true, > >>> resizable: false > >>> }); > >>> > >>> // create childControls > >>> this._createChildControl("textfield"); > >>> this._createChildControl("button-ok"); > >>> this._createChildControl("button-abort"); > >>> > >>> > >>> this.addListenerOnce("resize", this.center); > >>> }, > >>> > >>> members : > >>> { > >>> _createChildControlImpl : function(id) > >>> { > >>> var control = null; > >>> > >>> switch(id) > >>> { > >>> case "textfield": > >>> control = new qx.ui.form.TextField(); > >>> this.getChildrenContainer()._add(control); > >>> break; > >>> > >>> case "button-ok": > >>> control = new qx.ui.form.Button().set({ > >>> appearance: "button-ok", > >>> command : this._actionAccept > >>> }); > >>> this.getChildrenContainer()._add(control); > >>> break; > >>> > >>> case "button-abort": > >>> control = new qx.ui.form.Button().set({ > >>> appearance: "button-abort", > >>> command : this._actionClose > >>> }); > >>> this.getChildrenContainer()._add(control); > >>> break; > >>> } > >>> > >>> return control || this.base(arguments, id); > >>> }, > >>> > >>> open : function() > >>> { > >>> this.base(arguments); > >>> > >>> this.getChildControl("textfield").focus(); > >>> }, > >>> > >>> _createCommands : function() > >>> { > >>> this._actionClose = new qx.event.Command("Escape"); > >>> this._actionClose.addListener("execute", > >>> function(e){this.close();}, this); > >>> } > >>> } > >>> }); > >>> > >>> And the application main function : > >>> > >>> this._testWin = new my.Test(); > >>> > >>> // Create a button > >>> var button1 = new qx.ui.form.Button("TestWin"); > >>> > >>> // Add button to document at fixed coordinates > >>> root.add(button1, {left: 100, top: 50}); > >>> > >>> // Add an event listener > >>> button1.addListener("execute", function(e) { > >>> this._testWin.open(); > >>> }, this); > >>> > >>> > >>> Regards, Florian > >>> > >>> 2009/3/9 Christian Schmidt <[email protected]>: > >>> > >>> > >>>> Hi Florian, > >>>> > >>>> I couldn't reproduce you issue, could you please post a short example to > >>>> reproduce the issue? > >>>> > >>>> Which qooxdoo version do you use? > >>>> > >>>> Thanks for your help! > >>>> > >>>> Cheers, > >>>> Chris > >>>> > >>>> Florian Giesen schrieb: > >>>> > >>>> > >>>>> Hello everybody! > >>>>> > >>>>> At application start I create a qx window with a textfield wich is > >>>>> opened when the user clicks on a list element. The first time the > >>>>> window appears everything is fine, i.e. the textfield is focused and > >>>>> the text cursor is activated inside. But each time after that, the > >>>>> textfield is still focused correctly but the cursor is not active. Any > >>>>> hints? > >>>>> > >>>>> Regards, Florian > >>>>> > >>>>> ------------------------------------------------------------------------------ > >>>>> Open Source Business Conference (OSBC), March 24-25, 2009, San > >>>>> Francisco, CA > >>>>> -OSBC tackles the biggest issue in open source: Open Sourcing the > >>>>> Enterprise > >>>>> -Strategies to boost innovation and cut costs with open source > >>>>> participation > >>>>> -Receive a $600 discount off the registration fee with the source code: > >>>>> SFAD > >>>>> http://p.sf.net/sfu/XcvMzF8H > >>>>> _______________________________________________ > >>>>> qooxdoo-devel mailing list > >>>>> [email protected] > >>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > >>>>> > >>>>> > >>>>> > >>>> -- > >>>> Christian Schmidt > >>>> Software Engineer > >>>> Core Development :: Web Technologies > >>>> > >>>> 1&1 Internet AG > >>>> Ernst-Frey-Str. 9 > >>>> 76135 Karlsruhe, Germany > >>>> http://www.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 > >>>> > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> Open Source Business Conference (OSBC), March 24-25, 2009, San > >>>> Francisco, CA > >>>> -OSBC tackles the biggest issue in open source: Open Sourcing the > >>>> Enterprise > >>>> -Strategies to boost innovation and cut costs with open source > >>>> participation > >>>> -Receive a $600 discount off the registration fee with the source code: > >>>> SFAD > >>>> http://p.sf.net/sfu/XcvMzF8H > >>>> _______________________________________________ > >>>> qooxdoo-devel mailing list > >>>> [email protected] > >>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > >>>> > >>>> > >>>> > >>> ------------------------------------------------------------------------------ > >>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > >>> CA > >>> -OSBC tackles the biggest issue in open source: Open Sourcing the > >>> Enterprise > >>> -Strategies to boost innovation and cut costs with open source > >>> participation > >>> -Receive a $600 discount off the registration fee with the source code: > >>> SFAD > >>> http://p.sf.net/sfu/XcvMzF8H > >>> _______________________________________________ > >>> qooxdoo-devel mailing list > >>> [email protected] > >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > >>> > >>> > >> -- > >> Christian Schmidt > >> Software Engineer > >> Core Development :: Web Technologies > >> > >> 1&1 Internet AG > >> Ernst-Frey-Str. 9 > >> 76135 Karlsruhe, Germany > >> http://www.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 > >> > >> > >> ------------------------------------------------------------------------------ > >> _______________________________________________ > >> qooxdoo-devel mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > >> > >> > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > qooxdoo-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > > > > > > > -- > Fabian Jakobs > JavaScript Framework Developer > > 1&1 Internet AG - Web Technologies > Ernst-Frey-Straße 9 · DE-76135 Karlsruhe > Telefon: +49 721 91374-6784 > [email protected] > > 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 > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
