Hi, Christian, congrats to your solution! :-)
Given that nobody could help you with this weird Mozilla bug that showed up in qooxdoo 0.1 only, I hope you'll find a complete solution in "Part Two" soon, Andreas Christian Boulanger wrote: > Ok, since I couldn't stand the whining and nagging of the users of my > Qooxdoo 0.1 application, I invested some time into the question how to > work around the gecko-based browser (Firefox / Mozilla) bug which > prevents the display of the cursor in input fields in widgets that hover > over other widgets. > > There are a few hints online, but they all did not help me. For example: > > https://bugzilla.mozilla.org/show_bug.cgi?id=167801 > > counsels to set the underlying Divs' overflow property to "none". > > However, the exact opposite seems to be true! > > When I hacked the QxTextField source (remember, this is qooxdoo 0.1!) as > follows: > > function QxTextField(vText) > { > QxWidget.call(this); > > if(isValid(vText)) { > this.setText(vText); > }; > > this.setHtmlProperty("type", "text"); > > this.setTabIndex(1); > this.setCanSelect(true); > > this.setTagName("INPUT"); > this.setTextAlign("left"); > > this.addEventListener("blur", this._onblur); > this.addEventListener("focus", this._onfocus); > /** start hack CB**/ > this.addEventListener("click", function(e) { > this.getParent().getElement().style.overflow="auto"; > }); > /** end hack **/ > }; > > QxTextField.extend(QxWidget, "QxTextField"); > > The cursor appeared, as can be seen here: > > http://m15s08.vlinux.de/~cboulanger/bibliograph-0.9/ > > This helps for most situations, however, I still cannot select text in > QxTextFields or QxTextAreas. Maybe there will be a part two to this saga. > > Cheers, > Christian ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
