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

Reply via email to