Hi Martin,

thanks for the explanation.

Do you think there could be some improvement in the error message? I could
only track down the problem by commenting parts of my code until I finally
found the problem (there was no explicit Grow layout being used anywhere
close by).

Cheers,
Fritz

On Wed, 16 Mar 2011, Martin Wittemann wrote:

> Hello Fritz,
> Thanks for your detailed report. I do believe that I have seen that issue 
> before...
> After a quick chat with Chris he told me that we had the same issue in the 
> inspector with the same piece of code. He also told me the reason for it. The 
> stack has in 1.3 its own child control implementation which simply ignores 
> the flex parameter. During the development of trunk, we extended the stack to 
> use the default child control implementation which now forwards that layout 
> property to its layout, which can hot handle it. So just removing the flex 
> parameter had worked also with the same result because 1.3 has ignored it 
> anyway.
> Best,
> Martin
>
> Am 15.03.2011 um 15:46 schrieb Fritz Zaucker:
>
>> I found the problem, finally:
>>
>> I had a class extending  qx.ui.window.Window with the following code:
>>
>>      var c = new qx.ui.container.Stack();
>>      var t = new qx.ui.form.TextArea();
>>
>>      c.add(t, {flex:1});
>>
>> Within my application I created two instances of this class. The error
>> (see below) occured only in one instance and not in the other.
>>
>> As it turned out, I don't even need the Stack container in my application,
>> so for me this problem is solved. But there might be some underlying issue
>> (the error does not occur in qx 1.3.0).
>>
>> Cheers,
>> Fritz
>>
>> On Tue, 15 Mar 2011, Fritz Zaucker wrote:
>>
>>> This problem still occurs with trunk rev 25688. Anybody have an idea how to
>>> debug/find the root of this problem?
>>>
>>> Thanks,
>>> Fritz
>>>
>>> On Thu, 3 Mar 2011, Fritz Zaucker wrote:
>>>
>>>> With trunk rev 25312 I get the following runtime error and am having
>>>> difficulty tracking it down in my application:
>>>>
>>>>    4213118 Assertion error! The property 'flex' is not supported by the
>>>> Grow layout!: Called assert with 'false'
>>>> console[entry.level].call(co... qx.log.appender.Util.toText(entry));
>>>>
>>>>    
>>>> qx.core.AssertionError:44,qx.Class:1623,qx.core.Assert:80,qx.core.Assert:131,qx.core.MAssert:44,qx.ui.layout.Grow:81,qx.ui.core.LayoutItem:866,qx.ui.core.LayoutItem:807,qx.ui.core.Widget:2186,qx.ui.core.Widget:1947,qx.ui.core.MChildrenHandling:90,bwt.ui.TicketAction:57,qx.Class:1623,qx.core.Object:136,bwt.ui.TicketReturn:13,qx.Class:1623,bwt.module.admin.TicketsAssign:107,qx.Class:1623,qx.Class:685,bwt.Application:110,qx.event.dispatch.Direct:123,qx.Interface:451,qx.event.Manager:861,qx.event.Registration:343,qx.core.Object:517,bwt.ui.Login:155,qx.event.dispatch.Direct:123,qx.Interface:451,qx.event.Manager:861,qx.event.Registration:310,qx.core.Object:465,qx.fx.Base:387,qx.fx.Base:428,qx.fx.Base:496,qx.fx.queue.Queue:137,qx.lang.Function:264,qx.event.GlobalError:112
>>>> console[entry.level].call(co... qx.log.appender.Util.toText(entry));
>>>>
>>>> uncaught exception: The property 'flex' is not supported by the Grow
>>>> layout!: Called assert with 'false'
>>>>
>>>> This error does not occur with 1.3.0.
>>>>
>>>> Anybody have an idea where to look?
>>>>
>>>> Thanks,
>>>> Fritz
>>>>
>>>>
>>>
>>>
>>
>> --
>> Oetiker+Partner AG           tel: +41 62 775 9903 (direct)
>> Fritz Zaucker                        +41 62 775 9900 (switch board)
>> Aarweg 15                            +41 79 675 0630 (mobile)
>> CH-4600 Olten                   fax: +41 62 775 9905
>> Schweiz                         web: www.oetiker.ch
>>
>> ------------------------------------------------------------------------------
>> Colocation vs. Managed Hosting
>> A question and answer guide to determining the best fit
>> for your organization - today and in the future.
>> http://p.sf.net/sfu/internap-sfd2d
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to