Open Bug 1498977 Opened 7 years ago Updated 3 years ago

Dropdown list in settings unnecessarily truncated with long translations

Categories

(Firefox :: Settings UI, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: flod, Unassigned)

Details

Attachments

(4 files)

https://searchfox.org/mozilla-central/rev/3a54520d8d2319a4116866371ed3d9ed2ec0cc2b/browser/components/preferences/in-content/privacy.xul#263-279 You can see that the option correctly shows up in the list, but when selected it's truncated, and there's plenty of space. I can't spot anything in the CSS explaining that width limit. We also have bug 1480809 on file for another dropdown, so I wonder if there's an underlying problem with sizing these dropdowns.
Attached image Italian screenshot
We've seen this before, but I can't remember *exactly* what caused it. IIRC it had something to do with the internal padding/margin somewhere that caused us to determine the wrong (too narrow) size, with the padding/margin included. I thought we worked around it in the other instance (by moving spacing to a different element or from margin to padding or vice versa), but I could be wrong. Perhaps Neil can figure out what's going wrong here.
Flags: needinfo?(enndeakin)
How do I reproduce this? Just use an Italian build?
Flags: needinfo?(enndeakin)
(In reply to Neil Deakin from comment #3) > How do I reproduce this? Just use an Italian build? That, or you might try with pseudolocale https://firefox-source-docs.mozilla.org/intl/l10n/l10n/fluent_tutorial.html#pseudolocalization
Back to Enn, now that :flod has come back with how to use pseudolocales to reproduce this.
Flags: needinfo?(enndeakin)
Priority: -- → P3
No, I don't see the issue at all.
Flags: needinfo?(enndeakin)
Attached image en-US Nightly
This is Nightly with accented pseudolocale: this option is fully visible in the dropdown, then truncated.
Attached image Screenshot new prefs
FYI, this is happening in another dropdown now.
Attached image FIrefox 106

This is still happening in some dropdowns.

Summary: Dropdown list for cookies and site data ("Keep until") is unnecessarily truncated → Dropdown list in settings unnecessarily truncated with long translations
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: