Re: [qooxdoo-devel] XUL support removal in Firefox 4

2010-09-06 Thread Helder Magalhães
Hi everyone, thron7-2 wrote: > > That's a good one, Helder. Can you open a bug for it?! > Sure, I've opened bug 4058 [1] add added a few more details. ;-) thron7-2 wrote: > > Thanks, > T. > HTH, Helder [1] http://bugzilla.qooxdoo.org/show_bug.cgi?id=4058 -- View this message in con

[qooxdoo-devel] looking for easy way to set font weight with appearances

2010-09-06 Thread Greg Beaver
Hi, I recently committed this godawful-looking code, and would love to be able to find a quick way to set font weight and size using appearances instead of directly using html. I tried setting a color theme and using the textColor property of widgets, but the qx.ui.basic.Label appears to ignore

Re: [qooxdoo-devel] Table Column Resizer Event

2010-09-06 Thread Burak Arslan
On 08/11/10 17:17, Derrell Lipman wrote: > On Wed, Aug 11, 2010 at 06:22, Mengu > wrote: > > > Hello Derrell, > > Thank you for the patch. We have applied the patch. The problem is > "isMouseAction" that comes from e.getData() is undefined. > > > Ok, I ha

Re: [qooxdoo-devel] Grid decorator's baseImage

2010-09-06 Thread Ben Lozano
Okay, I found out how the images are supposed to be specified, with a pretty lengthy search. I had to manually split the image, but that was a success, and I'm absolutely sure the name scheme is correct, and I'm specifying the base image in the correct way. However, when i try to use this grid deco

Re: [qooxdoo-devel] Feature req - htmlarea should fill states.focused

2010-09-06 Thread Petr Kobalíček
btw I tested the code you posted and it works in firefox only some time and it not works in chromium. Do you encountered similar behavior? Best regards Petr Kobalicek On Mon, Sep 6, 2010 at 7:38 PM, Petr Kobalíček wrote: > Hi Ralf, > > thanks for these tips, very valuable to me. I'm going to fil

Re: [qooxdoo-devel] Scalable Javascript Architecture

2010-09-06 Thread panyasan
You're welcome. This programming model is really powerful. The more I use it, the more I realize that, in a very natural way, it solves quite a number of problems that I have been struggling with previously ... C. -- View this message in context: http://qooxdoo.678.n2.nabble.com/Scalable-Javas

[qooxdoo-devel] Grid decorator's baseImage

2010-09-06 Thread Ben Lozano
I can't find a detailed enough explanation of what the grid decorator's baseImage url is supposed to point to. The api documentation seems to suggest both that one image should be used, and that the images should be divided into nine subimages and named according to a scheme. Could you please let m

Re: [qooxdoo-devel] Feature req - htmlarea should fill states.focused

2010-09-06 Thread Petr Kobalíček
Hi Ralf, thanks for these tips, very valuable to me. I'm going to fill bug reports tomorrow. Best regards Petr Kobalicek On Mon, Sep 6, 2010 at 7:20 PM, Ralf Nieuwenhuijsen wrote: > Current workaround: >     var e = new qx.ui.embed.HtmlArea; >     e.addListener('focused', function(){ >       e.

Re: [qooxdoo-devel] How change image height of Atom icon

2010-09-06 Thread Ralf Nieuwenhuijsen
Please note that scaling images this way creates uglier images, than manually scaling them. Most browsers don't do proper aliasing. So it is actually suggested that you use a 16px icon, if you want it to be that size. Greetings, Ralf 2010/9/6 Daniel Wagner > Hi Marcel, > > this should do the t

Re: [qooxdoo-devel] Virtual Keyboard

2010-09-06 Thread Ralf Nieuwenhuijsen
One quick, simple and neat way of doing it, would be by creating a subclass of a textfield, and then showing a popup, which contains the virtual keyboard. That seems to be very close to the visual cues people already understand. It also eliviates the problem that simulated keypress events, don't ac

Re: [qooxdoo-devel] Feature req - htmlarea should fill states.focused

2010-09-06 Thread Ralf Nieuwenhuijsen
Current workaround: var e = new qx.ui.embed.HtmlArea; e.addListener('focused', function(){ e.addState('focused'); }, this); e.addListener('focusOut', function(){ e.removeState('focused'); }, this); PS. These event names aren't consistent with the rest of qooxdoo.

Re: [qooxdoo-devel] Tests with qxSelenium and waiting for load

2010-09-06 Thread Joffrey Fuhrer - NOVLOG
On 06/09/2010 15:48, Daniel Wagner wrote: > Hi again, > > Joffrey Fuhrer - NOVLOG schrieb: > >> Hi Daniel, >> >> Thanks for the quick answer. I'm using isElementPresent() now, but the >> thing that still bugs me is the fact that I'm forced to catch an unknown >> runtime exception in order to ke

Re: [qooxdoo-devel] qx.ui.virtual.cell.Cell and cell border

2010-09-06 Thread Christian Hagendorn
Hi Christian, the problem is that qx.ui.virtual.cell.Cell doesn't support decorators. You have to apply a normal css style for the border, but I'm not sure if you can do this by defining a css style which uses the generated css class attribute. Otherwise you have to write your own cell render

[qooxdoo-devel] storing and re-using a selection model/manager

2010-09-06 Thread Nathan Hadley
Hello all, I'm currently using a table where it may look at several cached table models, I would also like to be able to cache the selection of the table so that when the user has made a selection on one of the models, changed to another and then changed back the selection can be restored.

Re: [qooxdoo-devel] Flash appear event does not work as expected

2010-09-06 Thread Stefan Andersson
Hej Chris! I know this and I appreciate what you wrote. I still think we could add a little more in the Flash widget: One question is opened here. You put this code in the constructor of the Flash widget: this.addListenerOnce("appear", function() { this.getContentElement().creat

Re: [qooxdoo-devel] Scalable Javascript Architecture

2010-09-06 Thread Christian Hagendorn
Hi Christian, thank you for sharing. Our team is this week not completely in office, so please be patient for a answer. Cheers, Chris Am 05.09.2010 11:14, schrieb panyasan: > Hello list, > > a few days ago, I watched a presentation by Nicolas Zakas on "Scalable > Javascript Architecture" in t

Re: [qooxdoo-devel] Flash appear event does not work as expected

2010-09-06 Thread Christian Hagendorn
Hi Stefan, in the past I have done a detailed look at the two way communication between JavaScript (browser) and ActionScript (Flash Player). But first of all, all widgets are rendered asynchronously due to performance reasons. This means that when the "appear" event is fired, the widget is

Re: [qooxdoo-devel] Feature req - htmlarea should fill states.focused

2010-09-06 Thread Daniel Wagner
Hi Petr, sure, if you think it would be useful/necessary, go ahead and file a report. Alex is the HtmlArea expert so he'll decide if and when it gets implemented, just be aware that it'll be a few weeks until he can look into it. Regards, Daniel Petr Kobalíc(ek schrieb: > Hi, > > I'd like t

Re: [qooxdoo-devel] Tests with qxSelenium and waiting for load

2010-09-06 Thread Daniel Wagner
Hi again, Joffrey Fuhrer - NOVLOG schrieb: > Hi Daniel, > > Thanks for the quick answer. I'm using isElementPresent() now, but the > thing that still bugs me is the fact that I'm forced to catch an unknown > runtime exception in order to keep the tests from crashing. The output > tells somethi

Re: [qooxdoo-devel] Refresh Browser

2010-09-06 Thread Tranninger Harald
-Ursprüngliche Nachricht- Von: f...@mail.dnttm.ro [mailto:f...@mail.dnttm.ro] Gesendet: Montag, 06. September 2010 15:28 An: qooxdoo-devel@lists.sourceforge.net Betreff: Re: [qooxdoo-devel] Refresh Browser window.top.location.reload(); There's no qooxdoo-ish way of doing that, since it

Re: [qooxdoo-devel] Refresh Browser

2010-09-06 Thread Marius Austerschulte
What about window.location.reload() or window.location.reload(force) where force is a boolean argument. 2010/9/6 John Spackman > Have you tried: > > window.location = window.location; > > John > > On 06/09/2010 13:32, "Tranninger Harald" wrote: > > > > >-Ursprüngliche Nachricht- > >Von

Re: [qooxdoo-devel] Refresh Browser

2010-09-06 Thread flj
window.top.location.reload(); There's no qooxdoo-ish way of doing that, since it's not the logic of qooxdoo to ever reload the window. The whole purpose of qooxdoo is to be able to do web apps desktop-like. A refresh in the browser is like restarting a desktop app. For a fast and responsive app

Re: [qooxdoo-devel] Flash appear event does not work as expected

2010-09-06 Thread Stefan Andersson
flash.addEventListener("onProgress", function() { alert("Hello"); }, false); this is the callback function from the Flash object. What would be flash in this? Whereto attach the listener until part or whole of the flash file has been loaded? onProgress is the the event which Flash calls to i

Re: [qooxdoo-devel] Refresh Browser

2010-09-06 Thread John Spackman
Have you tried: window.location = window.location; John On 06/09/2010 13:32, "Tranninger Harald" wrote: > >-Ursprüngliche Nachricht- >Von: panyasan [mailto:i...@bibliograph.org] >Gesendet: Montag, 06. September 2010 14:22 >An: qooxdoo-devel@lists.sourceforge.net >Betreff: Re: [qooxdoo

Re: [qooxdoo-devel] Bug in Flash widget

2010-09-06 Thread Christian Hagendorn
Hi Stefan, I'm not a flash expert, but so fare as I know it is not possible to set the mouse cursor for a flash movie from JavaScript. The widget method "setCursor" sets only a style attribute on the DOM element and this has only effect on browser content. The flash player handles his own co

Re: [qooxdoo-devel] Refresh Browser

2010-09-06 Thread Tranninger Harald
-Ursprüngliche Nachricht- Von: panyasan [mailto:i...@bibliograph.org] Gesendet: Montag, 06. September 2010 14:22 An: qooxdoo-devel@lists.sourceforge.net Betreff: Re: [qooxdoo-devel] Refresh Browser Hi, can you describe what you want to do? Refreshing the browser is a very un-qooxdoo'is

Re: [qooxdoo-devel] Refresh Browser

2010-09-06 Thread panyasan
Hi, can you describe what you want to do? Refreshing the browser is a very un-qooxdoo'ish way of doing things ;-) C. -- View this message in context: http://qooxdoo.678.n2.nabble.com/Refresh-Browser-tp5502942p5502947.html Sent from the qooxdoo mailing list archive at Nabble.com.

Re: [qooxdoo-devel] Bug in Scroll widget with scroolbars

2010-09-06 Thread Christian Hagendorn
Hi Stefan, this is not a bug, the scroll container tries to shrink the content when the content allows it. The flash widget allows it by default. You have to configure the flash widget: http://tinyurl.com/2uua5qf Cheers, Chris Am 06.09.2010 13:08, schrieb Stefan Andersson: var flashS = new

[qooxdoo-devel] Refresh Browser

2010-09-06 Thread Tranninger Harald
Hi, didn´t find how to refresh the browser. I have a Server, that should refresh the browser of the client. Same refresh as if you press F5 at the client. Is there a command for it? Thanks, Hari -- This SF.net Dev2Dev e

Re: [qooxdoo-devel] Tests with qxSelenium and waiting for load

2010-09-06 Thread Joffrey Fuhrer - NOVLOG
Hi Daniel, Thanks for the quick answer. I'm using isElementPresent() now, but the thing that still bugs me is the fact that I'm forced to catch an unknown runtime exception in order to keep the tests from crashing. The output tells something like : [junit] 13:30:59.967 INFO - Command req

[qooxdoo-devel] Virtual Keyboard

2010-09-06 Thread Tranninger Harald
Hi, one question. Has anyone done an implementation of a virtual keyboard yet? I´m just asking, maybe someone has done one. Otherwise it shouldn´t be a problem to do it on my own. Any experience with virtual keyboards? Hari ---

[qooxdoo-devel] Bug in Scroll widget with scroolbars

2010-09-06 Thread Stefan Andersson
var flashS = new qx.ui.container.Scroll(); flashS.setHeight(200); flashS.setWidth(200); var flash = new qx.ui.embed.Flash(""); flash.setHeight(400); flash.setWidth(400); flash.setScale("noscale"); flash.setPlay(false); flash.setMenu(false); this.getRoot().setCursor("text"); var doc = this.getRoo

Re: [qooxdoo-devel] Tests with qxSelenium and waiting for load

2010-09-06 Thread Daniel Wagner
Hi Joffrey, why do you think waitForX is error prone? It seems pretty straightforward to me: If the condition isn't met within the given timeout that means there's a problem with the application so the test should fail. waitForElementPresent should work well for dynamically created widgets si

[qooxdoo-devel] Bug in Flash widget

2010-09-06 Thread Stefan Andersson
var flash = new qx.ui.embed.Flash(""); flash.setHeight(400); flash.setWidth(400); flash.setScale("noscale"); flash.setPlay(false); flash.setMenu(false); flash.setCursor("text"); var doc = this.getRoot(); doc.add(flash); - No text selection cursor appears. It is still pointer! Stefan

Re: [qooxdoo-devel] How to stop oldValue to become a faulty value creating recursion

2010-09-06 Thread John Spackman
Hi Stefan The event tells you that something happened and you don't get a chance to "undo" it, so you'll need another strategy. You could add a mutex to your "this" object, eg: _onChangeValue: function(e) { if (this.changingValue) return; this.changingValue = true; Š.snipŠ this.chan

Re: [qooxdoo-devel] How change image height of Atom icon

2010-09-06 Thread Daniel Wagner
Hi Marcel, this should do the trick: atom.getChildControl("icon").set({ width : 16, height : 16, scale : true }); Regards, Daniel Marcel Ruff schrieb: > Hi, > > I have a set of icons which are too big for a specific Atom: > >atom.setIcon("tooBig.png"); // is 22 > > Can I forc

[qooxdoo-devel] Tests with qxSelenium and waiting for load

2010-09-06 Thread Joffrey Fuhrer - NOVLOG
Hi everyone, I am currently exploring Novlog's test suite to find some improvements we could make on it. I am facing some interrogations that I think maybe you could answer. Many times, we have to wait for the loading of some widget until we can use it/click on it. I've been able to see that in

Re: [qooxdoo-devel] Tabs open in other window

2010-09-06 Thread Daniel Wagner
Hi, by defining p1, p3 and tab in the constructor without "var" or "this" you're creating global objects (window.p1 and so on). Creating a new instance of Describe overwrites these so all tabs are added to the TabView that was created last. Just use this.p1, this.p3 and this.tab in the constru

Re: [qooxdoo-devel] typos in documentation

2010-09-06 Thread Daniel Wagner
Fixed. Thanks, Greg. Regards, Daniel Greg Beaver schrieb: > Hi, > > Small typo in the docs for 1.2 at > http://manual.qooxdoo.org/1.2/pages/widget/table_remote_model.html: > > If the user scrolls, the rows he will see soon are loaded > asynchroniously in the background. All loaded data is m

Re: [qooxdoo-devel] Tabs open in other window

2010-09-06 Thread ndm
Any ideas about this? -- View this message in context: http://qooxdoo.678.n2.nabble.com/Tabs-open-in-other-window-tp5495589p5498527.html Sent from the qooxdoo mailing list archive at Nabble.com. -- This SF.net Dev2Dev e

[qooxdoo-devel] Tabs open in other window

2010-09-06 Thread ndm
When I make two instances of the class Describe and click on add button it creates a new tab in the second instance, not the first. e.g. the code: var d1 = new iveware.Describea(); d1.moveTo(420,50); d1.open(); var d2 = new iveware.Describea(); d2.moveTo(420,350);