Re: [qooxdoo-devel] refresh for Label + setTimeout

2006-10-18 Thread Alex D.
qx.ui.core.Widget.flushGlobalQueues(); doesn't help too(at least not always). Have had similar problem for a while. And i don't think that working with dom-api make sense here. I have discovered that doing this can cause some strange side-effects sometimes. It's better to use label.setValue() a

Re: [qooxdoo-devel] minimize Window bug

2006-10-18 Thread Simon Bull
I all,On a closely related topic (since the close button has the same behaviour as the minimise button) -- It would be nice if a window's close  button disposed the window instead of just minimising it.Unfortunately I haven't been able to dispose a window onclose, ondissappear or onafterdissappear.

Re: [qooxdoo-devel] refresh for Label + setTimeout

2006-10-18 Thread Andreas Ecker
Howdy! If you want that kind of change to be rendered immediately (not triggered by the next mouse move for example), you have to manually force an update: qx.ui.core.Widget.flushGlobalQueues(); For more information, please see http://qooxdoo.org/documentation/snippets/forcing_an_update Bye,

[qooxdoo-devel] refresh for Label + setTimeout

2006-10-18 Thread Ciprian Onofreiciuc
Hello, I have a problem with refreshing a label. having a label that I want to change its content after a click event combined with a setTimeout function, like in the code bellow: qx.core.Init.getInstance().defineMain(function() { v

Re: [qooxdoo-devel] Changing font size for accessibility

2006-10-18 Thread dperez
I vote also for this feature. The problem is that Qooxdoo isn't informed by the browser (Firefox) that the font size has changed. I think that a button can be made to change the font size. Qooxdoo already has the concept of ColorObject, for updating automatically the GUI when the color scheme chan

[qooxdoo-devel] R: minimize Window bug

2006-10-18 Thread Marco Emiliozzi
If I understand the problem, the solution would be to use some sort of "taskbar" widget: that is for example an HorizontalBoxLayout with an Atom for each window created, restoring the related window on click. When you minimize a window the engine just makes it invisible, using the restore() method

[qooxdoo-devel] Changing font size for accessibility

2006-10-18 Thread Hugh Gibson
I'm concerned about accessibility, which is a fairly hot issue at the moment. If you open a qooxdoo page in Firefox, you can change the font but the size of widgets is not changed (which makes sense given that qooxdoo calculates the layout etc). With IE you can't change the font at all. Opera m

Re: [qooxdoo-devel] minimize Window bug

2006-10-18 Thread Alex D.
It would be easier to implement this in your own app, i think. have found another window bug. If you minimize a window and open it again - you can not move/minimize it anymore. See here: http://demo.qooxdoo.org/html/test/Window_3.html reproducable over here (FF1507) btw: i

Re: [qooxdoo-devel] minimize Window bug

2006-10-18 Thread Alex D.
It happens also to me. When the window is minimized, how can I show it again?. The only way I have found is to click the button again. Currently minimize and close are both the same: visibility = false + some more qooxdoo stuff. I would open a bug. alex.d wrote: Hi fol

Re: [qooxdoo-devel] minimize Window bug

2006-10-18 Thread Oliver Japel
> have found another window bug. If you minimize a window and open it > again - you can not move/minimize it anymore. See here: > http://demo.qooxdoo.org/html/test/Window_3.html reproducable over here (FF1507) btw: i recently noticed, that minimized windows just get blurred and hidden. wouldnt

Re: [qooxdoo-devel] minimize Window bug

2006-10-18 Thread dperez
It happens also to me. When the window is minimized, how can I show it again?. The only way I have found is to click the button again. I would open a bug. alex.d wrote: > > Hi folks, > > have found another window bug. If you minimize a window and open it > again - you can not move/minimize

[qooxdoo-devel] minimize Window bug

2006-10-18 Thread Alex D.
Hi folks, have found another window bug. If you minimize a window and open it again - you can not move/minimize it anymore. See here: http://demo.qooxdoo.org/html/test/Window_3.html Cheers, alex.d - Using Tomcat but need t

Re: [qooxdoo-devel] Long running scripts under FF

2006-10-18 Thread dperez
Another idea: var label = new qx.ui.basic.Label('Loading data...') label.addToDocument(); window.setTimeout(function() { createAllWidgets(); label.getParent().remove(label); window.setTimeout(qx.ui.core.Widget.flushGlobalQueues, 0); }, 0); Now the creation of widgets and

Re: [qooxdoo-devel] Long running scripts under FF

2006-10-18 Thread dperez
You're right, the widgets are created, but not the DOM elements until the widgets need to be shown. I could delay the creation of widgets till the TabView page is shown. There is already an event for that: var man = myTab.getBar().getManager(); man.addEventListener('changeSelecte

Re: [qooxdoo-devel] Long running scripts under FF

2006-10-18 Thread Dietrich Streifert
dperez schrieb: Qooxdoo is quite intelligent and e.g. only creates widgets in visible page of TabView. This is not completely true. Lets say you have a widget with lot of subwidgets and on page load you do something like: widget = new MyFatWidgetClass(); At this moment the widget and i

Re: [qooxdoo-devel] Long running scripts under FF

2006-10-18 Thread dperez
Qooxdoo is quite intelligent and e.g. only creates widgets in visible page of TabView. What's bad isn't the slowness, but the warning of FF which could confuse the users of my app. Dietrich Streifert wrote: > > One possibility is to create some widgets delayed. So if some of your > widgets ar

Re: [qooxdoo-devel] Long running scripts under FF

2006-10-18 Thread dperez
I already work in a computer with 4 Gb of memory and 4 processors What's slow is probably the rendering process (I recognize I have complicated forms) alex.d wrote: > > The only other workaround is to buy a better PC. ;-) > -- View this message in context: http://www.nabble.com/Long-ru

Re: [qooxdoo-devel] Long running scripts under FF

2006-10-18 Thread Alex D.
Seriously: The display property should help. If you set display = false, appropriate DOM-Node will no be created. This should save you some time. The only other workaround is to buy a better PC. ;-) Hi community, Some refresh or initial page loading can take over 5 seconds. Befor

Re: [qooxdoo-devel] Long running scripts under FF

2006-10-18 Thread Dietrich Streifert
One possibility is to create some widgets delayed. So if some of your widgets are not visible after page load you can try to create them when they are needed. dperez schrieb: > Hi community, > > Some refresh or initial page loading can take over 5 seconds. > Before using Qooxdoo, that wasn't a

Re: [qooxdoo-devel] Long running scripts under FF

2006-10-18 Thread Alex D.
The only other workaround is to buy a better PC. ;-) > Hi community, > > Some refresh or initial page loading can take over 5 seconds. > Before using Qooxdoo, that wasn't any issue, because it wasn't so Javascript > intensive. > > Now with FF 1.5, I receive a message that the script is taking too

Re: [qooxdoo-devel] Long running scripts under FF

2006-10-18 Thread dperez
Here is more info: http://kb.mozillazine.org/Dom.max_script_run_time dperez wrote: > > Hi community, > > Some refresh or initial page loading can take over 5 seconds. > Before using Qooxdoo, that wasn't any issue, because it wasn't so > Javascript intensive. > > Now with FF 1.5, I receive a m

[qooxdoo-devel] Long running scripts under FF

2006-10-18 Thread dperez
Hi community, Some refresh or initial page loading can take over 5 seconds. Before using Qooxdoo, that wasn't any issue, because it wasn't so Javascript intensive. Now with FF 1.5, I receive a message that the script is taking too long, and asks the user to stop the script or continue it. This

[qooxdoo-devel] 答复: [qooxdoo-devel] a bug in changing treefile component icon?

2006-10-18 Thread Wenhua.Li
Thanks for your reply me But So sorrow, After “setIcon”, I use ” qx.ui.core.Widget.flushGlobalQueues();”, but it does not work;   And now the correct code list below:     treefile.setIcon("icon/16/presence/123.png");    

Re: [qooxdoo-devel] a bug in changing treefile component icon?

2006-10-18 Thread Alex D.
Hi,folks     I am now using the treefile component in the treefullcontrol .    When I change the node text in using “treefile.setLabel(‘abcd’)” , the node text will be changed, but when I using “treefile.setIcon(‘"icon/16/presence/abcd.png’)”, the node will not be ch

[qooxdoo-devel] a bug in changing treefile component icon?

2006-10-18 Thread Wenhua.Li
Hi,folks     I am now using the treefile component in the treefullcontrol .    When I change the node text in using “treefile.setLabel(‘abcd’)” , the node text will be changed, but when I using “treefile.setIcon(‘"icon/16/presence/abcd.png’)”, the node will not be changed, is this a b

[qooxdoo-devel] How to set default datetime format for use entire app (now with qx.ui.table).?

2006-10-18 Thread Sirichoke
Dear all, How to set default datetime format for use entire app? Now i especially use with table Rgds, Sirichoke - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with

[qooxdoo-devel] How to change appearance of widget

2006-10-18 Thread Stefan Schmidt
Hello again, I've got a question this time: How can I change the appearance of a widget? Setting the Property appears to fail, regarding this: ___ theme.registerAppearance("button-custom", { initial : function(vTheme) { v

Re: [qooxdoo-devel] static-class question:

2006-10-18 Thread Alex D.
>> and i call the init routine like: mypackage.Constants.init(); I can >> see in debugger that the routine is called but i don't see any >> debug-messages. Do anybody know why? > > Propably the log level is set to something higher than debug, so debug > log messages are not shown. > > DAMN

Re: [qooxdoo-devel] static-class question:

2006-10-18 Thread Til Schneider
> and i call the init routine like: mypackage.Constants.init(); I can see > in debugger that the routine is called but i don't see any > debug-messages. Do anybody know why? Propably the log level is set to something higher than debug, so debug log messages are not shown. See the manual for de

Re: [qooxdoo-devel] Table: displaying cell data which exceeds cell width

2006-10-18 Thread dperez
I have found a way of measuring text length, and I entered in the Qooxdoo FAQ. I use it successfully specially for measuring column widths. Derrell.Lipman wrote: > > Certainly. The length of the cell data, however, can way exceed the > available > space on the screen, so resizing the column do

Re: [qooxdoo-devel] window.setCentered(true)

2006-10-18 Thread dperez
Thanks Frederic, it works much better without any glitch. :-) frederic wrote: > > Hi David, > Have you try beforeAppear event ? > -- View this message in context: http://www.nabble.com/window.setCentered%28true%29-tf2458504.html#a6870719 Sent from the qooxdoo-devel mailing list archive a

[qooxdoo-devel] Removing a qx.ui.core.Parent child from the children array

2006-10-18 Thread Dietrich Streifert
Hello List! A parent implements the getChildren method which give us the children array back: /*! Return the array of all children */ qx.Proto.getChildren = function() { return this._children; } I want to completely wipe out a specific child entry given by its array index from the array. H