Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJS-8824
in
a recent build.
-
the following line of code (which i found on a forum) helped me fix this:
Code:
delete Ext.tip.Tip.prototype.minWidth;
-
Sencha Premium Member
How do I find patched code?
I downloaded the latest 4.2.1 nightly build. How do I find what code changes to fix this?
-
Ext JS Premium Member
Seems the tooltip issue is still not fixed in ExtJS 4.2.1-883 (commercial) in Firefox 21.0 on MacOS X. I've got cut-offs here. (But working perfectly in Chrome). The "invalid" text should be "File doesn't exist or isn't executable". None of the given workarounds in this thread works.
FirefoxScreenSnapz010.png
Edit: when adding a single point (".") to the end of the sentence, the text is displayed correctly in Firefox. Seems the length determination of the text is broken.
-
25 May 2013, 11:52 AM
#24
Sencha Premium Member
Bug still exists in 4.2.1.883 (GPL) and Chrome 27.0.1453.9. In Firefox 21.0 it works.
tooltip_4.2.1.883.png
-
4.2.1.883 is OK for me (both commercial and GPL) in Chrome 27 and Firefox 21.
@vot: Your screenshot is how it looked in 4.2.0.663, could the old version still be in your cache?
@h.latzko: Can you provide a code example?
-
26 May 2013, 11:32 PM
#26
Sencha Premium Member
@richardvd You're right, it's all ok now. Did not know how this could happen because i always clean the cache while reloading during development, had too much trouble without this.
-
Ext JS Premium Member
@vot: just use any textfield, and manually mark it as invalid with the following code:
Code:
Ext.getCmp('whatEverComponent').markInvalid('File doesn\'t exist or isn\'t executable');
-
No problem in Firefox 21 on Windows 7 with this code:
Code:
Ext.create('Ext.form.Panel', {
title: 'Simple Form',
bodyPadding: 5,
width: 300,
items: [{
xtype: 'textfield',
fieldLabel: 'First Name',
id: 'whatEverComponent'
}],
renderTo: Ext.getBody()
});
Ext.getCmp('whatEverComponent').markInvalid('File doesn\'t exist or isn\'t executable');
Result:
extjs-4.2.1-markInvalid.PNG
Anyone who can run this on Mac OS X with Ext JS 4.2.1 in Firefox 21?
-
Mac firefox 21 - OS X 10.8.3
The Mac version of firefox still has the form tooltip wrapping issue described in this thread.
Other tooltips behave better but not always.
Mac firefox 21 - OS X 10.8.3
Anyone else?
-
This thread is marked fixed, but it isn't fixed for the Mac version of Firefox.
Is there a work around for this?