Closed Bug 1260803 Opened 9 years ago Closed 9 years ago

Unicode in title of tab doesn't hide properly as tab size shrinks

Categories

(Core :: XUL, defect)

48 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 898984

People

(Reporter: nicholashuber, Unassigned)

Details

Attachments

(2 files)

Attached image not showing unicode.png
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 Build ID: 20160328030215 Steps to reproduce: Have a title with unicode in it showing in a tab. Add more tabs or shrink the firefox window until it starts truncating characters. The unicode character will turn into a square with numbers/letters in it before disappearing as it shrinks further Actual results: Unicode character changed before it was hidden Expected results: The unicode character should be hidden completely or shown completely
Attached image showing unicode.png
Component: Untriaged → Tabbed Browser
If anything this is a XUL / gfx bug. Tabbed browser is not doing anything special, it's just using XUL crop the way it's designed to be used. I vaguely recall there being existing bugs about this, Jonathan, do you know?
Component: Tabbed Browser → XUL
Flags: needinfo?(jfkthame)
Product: Firefox → Core
Whiteboard: [DUPEME]
The cropping support in the XUL nsTextBoxFrame code is fundamentally i18n-hostile. We need to throw it away and replace it with something akin to -- probably built on top of -- the nsTextFrame code; see bug 898984 (and others, I think). (A possible workaround here: if tab titles were modified to put the text inside an HTML <div> with text-overflow:ellipsis, things would probably be a lot better. But I don't know how feasible that might be.)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(jfkthame)
Resolution: --- → DUPLICATE
Whiteboard: [DUPEME]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: