Closed
Bug 1481438
Opened 7 years ago
Closed 7 years ago
Horizontal scrollbar when nick name is too long
Categories
(Thunderbird :: Instant Messaging, defect)
Thunderbird
Instant Messaging
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 63.0
People
(Reporter: Paenglab, Assigned: Paenglab)
Details
Attachments
(1 file)
|
1.14 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
In Chat's participant list (the one on the right) when a nick is longer than the width of the list a horizontal scrollbar appears. We should crop this name instead.
| Assignee | ||
Comment 1•7 years ago
|
||
This can be tested in maildev where a user with lots of "a" exists.
Comment 2•7 years ago
|
||
Comment on attachment 8998159 [details] [diff] [review]
cropNick.patch
Looks good, I didn't test it. TB 60 already does the cropping, so that's a regression, most likely from the listbox stuff, right?
So if it works in TB 60, is it done via CSS there? And has that CSS been removed or should be removed? Or why why did it stop working? Should the CSS be adjusted instead of doing JS stuff here?
| Assignee | ||
Comment 3•7 years ago
|
||
Yes, it's a regression from the listbox conversion. It's not done through CSS but, I think, automatically by the listbox stuff.
Comment 4•7 years ago
|
||
Comment on attachment 8998159 [details] [diff] [review]
cropNick.patch
OK. Please double-check that there was really no CSS involved.
Attachment #8998159 -
Flags: review?(jorgk) → review+
| Assignee | ||
Comment 5•7 years ago
|
||
Checked, the listcell-label has flex="1" crop="right" in its attributes and no CSS for this. We use crop="end" to be sure it works on RTL too. The listcell-label crop is set automatically by the listbox stuff, so this should work correctly too on RTL.
Keywords: checkin-needed
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/22406f6836c1
Crop the nickname when it is too long. r=jorgk
Updated•7 years ago
|
Target Milestone: --- → Thunderbird 63.0
You need to log in
before you can comment on or make changes to this bug.
Description
•