I ran into the same issue and was able to implement a workaround yesterday using the following:
window.setParent(window.getTopLevelWidget()); window.setModal(true); Make sure to reset the parent to the "real" window's parent before deleting it and also set model back to false. Hope it helps. Jeroen -----Original Message----- From: Kuzmeech [mailto:[EMAIL PROTECTED] Sent: vrijdag 22 augustus 2008 06:06 To: [email protected] Subject: [qooxdoo-devel] IE and Modal Window issue Hi, for some reason modal window doesn't allow elements to be focused under IE, works in FF and Opera.. Thanks in advance == cut Application.js == /* ************************************************************************ #module(faster) ************************************************************************ */ qx.Class.define("faster.Application", { extend : qx.application.Gui, members : { main : function() { this.base(arguments); // outer frame var frame = new qx.ui.layout.CanvasLayout; frame.setEdge(15); frame.addToDocument(); var w1 = new qx.ui.window.Window("Login", "icon/16/apps/preferences-desktop-multimedia.png"); w1.setSpace(20, 250, 48, 130); frame.add(w1); with (w1) { setCentered(true); setModal(true); setResizable(false); setShowMinimize(false); setShowMaximize(false); setShowClose(false); open(); } var gl = new qx.ui.layout.GridLayout; w1.add(gl); gl.setPadding(10); gl.setDimension(200, "auto"); gl.setColumnCount(2); gl.setRowCount(3); gl.setVerticalSpacing(4); gl.setHorizontalSpacing(6); gl.setColumnWidth(0, 70); gl.setColumnWidth(1, 130); gl.setColumnVerticalAlignment(0, "middle"); gl.setRowHeight(0, 22); gl.setRowHeight(1, 22); gl.setRowHeight(2, 30); gl.setRowVerticalAlignment(2, "middle"); gl.add(new qx.ui.basic.Label("User:"), 0, 0); var userField = new qx.ui.form.TextField; gl.add(userField, 1, 0); gl.add(new qx.ui.basic.Label("Password:"), 0, 1); gl.add(new qx.ui.form.PasswordField, 1, 1); var submit = new qx.ui.form.Button("Submit", "icon/16/actions/dialog-ok.png"); submit.setHorizontalAlign("right"); gl.add(submit, 1, 2); submit.addEventListener( "execute", function(e) { alert("submitted"); },this); }, } }); -- View this message in context: http://www.nabble.com/IE-and-Modal-Window-issue-tp19101015p19101015.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=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------- 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=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
