Grykar | 30 Sep 19:46

is it bug or common behaviour of this.tr() ?


Hi,

I am not sure if it is bug or common behaviour. The issue happens when
this.tr("...") is defined in event function or function which is called from
event. In this case application is working unstable. There are memory issues
- data in variables is randomly overwritten. 
Before build everything is working well the issue occures only in build
version.
I have spent some time  to find root cause of the issue but I didn't find
smart solution. What I do is define table and initialize it (e.g. in
constructor) by particular this.tr("...") values.

Is there better solution than my workaround ?

Karol
--

-- 
View this message in context: http://www.nabble.com/is-it-bug-or-common-behaviour-of-this.tr%28%29---tp19747104p19747104.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Fabian Jakobs | 6 Oct 11:18
Favicon

Re: is it bug or common behaviour of this.tr() ?

Grykar schrieb:
> Hi,
>
> I am not sure if it is bug or common behaviour. The issue happens when
> this.tr("...") is defined in event function or function which is called from
> event. In this case application is working unstable. There are memory issues
> - data in variables is randomly overwritten. 
> Before build everything is working well the issue occures only in build
> version.
> I have spent some time  to find root cause of the issue but I didn't find
> smart solution. What I do is define table and initialize it (e.g. in
> constructor) by particular this.tr("...") values.
>
> Is there better solution than my workaround ?
>
> Karol
>   
Hi Karol,

can you give a small code example which demonstrates the problem you 
have? I am not aware of any such problems?

Best Fabian

--

-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
(Continue reading)

Grykar | 8 Oct 01:23

Re: is it bug or common behaviour of this.tr() ?


Fabian,

I have found the root cause I think. I am using qx.ui.form.TextArea to view
some information. When I create object 
var CheckInput = new qx.ui.form.TextArea("");
and use setValue() to update message in this case the memory is not
allocated I suppouse. The memory is overwritten and I see trashes in
qx.ui.form.TextArea object moreover application is not stable.
To solve the issue I create the object in following way:
var CheckInput = new qx.ui.form.TextArea("                           \n                          
\n");
to let allocate memory for futher message I would like to update.
The issue appears only in build version and application should be a little
bit comlex.

Thanks,
Karol

Hi Karol,

can you give a small code example which demonstrates the problem you 
have? I am not aware of any such problems?

Best Fabian

--

-- 
Fabian Jakobs
JavaScript Framework Developer

(Continue reading)


Gmane