Long tooltips without whitespaces are truncated and not wrapped
Categories
(Core :: Layout, defect, P2)
Tracking
()
People
(Reporter: FragerZ, Assigned: dholbert)
References
(Blocks 1 open bug, )
Details
(Keywords: helpwanted, regression, testcase, Whiteboard: [bugday-20150624][proton-modals][priority:2c])
Attachments
(8 files)
Updated•12 years ago
|
Updated•12 years ago
|
Updated•12 years ago
|
Comment 7•12 years ago
|
||
Updated•12 years ago
|
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Comment 13•11 years ago
|
||
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
Comment 16•11 years ago
|
||
Comment 17•10 years ago
|
||
Comment 18•9 years ago
|
||
Updated•9 years ago
|
Comment 19•9 years ago
|
||
Comment 21•9 years ago
|
||
Comment 23•6 years ago
|
||
Updated•4 years ago
|
Comment 25•4 years ago
|
||
Is there any resolution to this bug?
Comment 26•4 years ago
|
||
¡Hola Roma!
Unfortunately not yet.
The issue still reproduces on today's Firefox Nightly with the test case attached to this bug.
I've set the bug flags accordingly FWIW.
¡Gracias!
Alex
Updated•4 years ago
|
Comment 27•4 years ago
|
||
(In reply to alex_mayorga from comment #26)
¡Hola Roma!
Unfortunately not yet.
The issue still reproduces on today's Firefox Nightly with the test case attached to this bug.
I've set the bug flags accordingly FWIW.
¡Gracias!
Alex
Thanks for the reply ..!
Updated•4 years ago
|
Comment 29•4 years ago
|
||
We should try to resurrect this patch. It's breaking the tooltip of origin titles in in-content modal dialogs in proton.
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 30•4 years ago
|
||
The original testcase loads fine for me right now, but that's just because my monitor is wide enough for the whole thing to fit just fine on a single line.
Here's a version of the testcase with a much larger tooltip, whose last stretch of characters is "zzzzz". Expected results here would be for the "zzzz" to be visible (e.g. via linewrapping) or for the clipped characters to be gracefully ellipsized somehow. Actual results are that it gets clipped right now (somewhere around "dddddeeeee" for me).
Assignee | ||
Comment 31•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 32•4 years ago
•
|
||
I posted a rebased version of the patch. It seems to work. (And its included automated testcase seems to work, too -- it fails without the functional part of the patch, and it passes with it.)
Here's a screenshot of "testcase 2" with the patch, showing the correct/expected behavior, I think.
I also tried a testcase with a bunch of kinda-long words, to be sure we didn't end up wrapping midword unnecessarily, and that worked fine as well. I verified that we'll wrap entire words (instead of e.g. laying out as many characters as possible and breaking at arbitrary midword points).
Assignee | ||
Comment 33•4 years ago
|
||
Assignee | ||
Comment 34•4 years ago
|
||
Try run looks good, I think (seems like just known-intermittent failures, and I don't see the new test failing anywhere).
Since we're in a soft-freeze as of earlier today, I'll hold off to land this until after the merge on Monday. (Gijs, let me know if there's any reason that we might need to uplift this to 89beta; I don't have a good understanding of what the proton impact is here & what if anything that means for 89.)
Comment 35•4 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #34)
Try run looks good, I think (seems like just known-intermittent failures, and I don't see the new test failing anywhere).
Since we're in a soft-freeze as of earlier today, I'll hold off to land this until after the merge on Monday. (Gijs, let me know if there's any reason that we might need to uplift this to 89beta; I don't have a good understanding of what the proton impact is here & what if anything that means for 89.)
I think given this is a CSS only patch (plus a test), and is therefore pretty low-risk, it would be nice to land it today, or if you prefer to wait, uplift to beta for proton. It's proton-relevant in that we use tooltips for long domains in dialog titles (where subdomains will get elided in order to show the toplevel domain), and if the tooltip then truncates at the end (toplevel domain instead of subdomain) that would be unfortunate. Does that help?
Assignee | ||
Comment 36•4 years ago
|
||
Sure, makes sense. I've triggered lando; should be landing soon.
Comment 37•4 years ago
|
||
Comment 38•4 years ago
|
||
bugherder |
Updated•3 years ago
|
Updated•3 years ago
|
Comment 40•3 years ago
|
||
Reproduced the initial issue with an affected build, Firefox 89.0a1 (20210410214333).
Verified fixed with 89.0b10 on Windows 10x64, macOS 11.3.1 and Ubuntu 18.04. The tooltips are displayed as expected using the attached test cases.
Description
•