The window was only existing in text and other form fields inside a
window widget. The preventDefault added some days ago also prohibit the
native focus handling in gecko based browsers. I think it should work
without this, too.
The bug seems to be fixed in revision 4358. Please verify this.
Cheers,
Sebastian
Dietrich Streifert schrieb:
> I can confirm the bug. I created a testcase which shows the problem.
> Hitting the TAB key moves the cursor to the second field but positioning
> the cursor with the mouse does not work. The testcase is intended to be
> run from from frontend/demo/source/html/test:
>
> Alex please file a bug in bugzilla and attach the testcase to the bug.
>
>
>
> Alex D. schrieb:
>> Here are the files:
>>> Hi folks,
>>>
>>> i'm working with revision 4352 and i observe following strange focus
>>> behavior under FF:
>>> i CAN NOT FOCUS ANY TEXTFIELDS with the mouse! It's sounds weird but
>>> take a look at the example(attached files).
>>> I couldn't reproduce this with any of the demp-examples so i took
>>> sample1 from skeletons to demonstrate this (I'm
>>> sorry i couldn't provide any shorter example):
>>> *custom/Application.js*:
>>> ----------------------------------------------------------------------------------------
>>> qx.OO.defineClass("custom.Application", qx.component.AbstractApplication,
>>> function () {
>>> qx.component.AbstractApplication.call(this);
>>> });
>>>
>>> qx.Proto.main = function(e)
>>> {
>>> var test = new custom.Test;
>>> test.addToDocument();
>>> test.open();
>>> };
>>> ----------------------------------------------------------------------------------------
>>>
>>> and my *Test class in custom/Test.js:*
>>>
>>> ----------------------------------------------------------------------------------------
>>> qx.OO.defineClass("custom.Test", qx.ui.window.Window, function()
>>> {
>>> qx.ui.window.Window.call(this, "test");
>>>
>>> var vbox = new qx.ui.layout.VerticalBoxLayout;
>>> vbox.set({ width:200, height:200 });
>>>
>>> var text1 = new qx.ui.form.TextField;
>>> var text2 = new qx.ui.form.TextField;
>>> var text3 = new qx.ui.form.TextField;
>>>
>>> vbox.add(text1, text2, text3);
>>> this.add(vbox);
>>>
>>> });
>>>
>>> qx.Proto.dispose = function()
>>> {
>>> if (this.getDisposed()) {
>>> return true;
>>> }
>>> return qx.ui.window.Window.prototype.dispose.call(this);
>>> }
>>> ----------------------------------------------------------------------------------------
>>> What you see is that you can not focus the textfields with the mouse,
>>> but with TAB-button!
>>> This example doesn't work only under Firefox - IE has no problems at
>>> all. Any ideas?
>>>
>>> Best Regards
>>> alex.d
>>>
>> ------------------------------------------------------------------------
>>
>> qx.OO.defineClass("custom.Application", qx.component.AbstractApplication,
>> function () {
>> qx.component.AbstractApplication.call(this);
>> });
>>
>> qx.Proto.main = function(e)
>> {
>> var test = new custom.Test;
>> test.addToDocument();
>> test.open();
>> };
>>
>> ------------------------------------------------------------------------
>>
>> /*
>> * qooxdoo - the new era of web interface development
>> *
>> * Copyright:
>> * (C) 2006 by TIS-GMBH
>> *
>> * Internet:
>> * * http://tis-gmbh.de
>> *
>> * Author:
>> * * Alex Dukhovniy
>> */
>>
>> /*
>> * test Window
>> */
>>
>> qx.OO.defineClass("custom.Test", qx.ui.window.Window, function()
>> {
>> qx.ui.window.Window.call(this, "test");
>>
>> var vbox = new qx.ui.layout.VerticalBoxLayout;
>> vbox.set({ width:200, height:200 });
>>
>> var text1 = new qx.ui.form.TextField;
>> var text2 = new qx.ui.form.TextField;
>> var text3 = new qx.ui.form.TextField;
>>
>> vbox.add(text1, text2, text3);
>> this.add(vbox);
>>
>> });
>>
>> qx.Proto.dispose = function()
>> {
>> if (this.getDisposed()) {
>> return true;
>> }
>>
>> return qx.ui.window.Window.prototype.dispose.call(this);
>> }
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys -- and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>
> --
> Mit freundlichen Grüßen
> Dietrich Streifert
> Visionet GmbH
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel