Closed
Bug 892700
Opened 11 years ago
Closed 10 years ago
[settings] Show developer/debug options on two lines if necessary (wrap text)
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(b2g-v2.1 verified)
VERIFIED
FIXED
2.1 S1 (1aug)
Tracking | Status | |
---|---|---|
b2g-v2.1 | --- | verified |
People
(Reporter: aryx, Assigned: flod)
References
Details
(Keywords: l12y, Whiteboard: LocRun2.0)
Attachments
(4 files, 3 obsolete files)
Unagi with Gaia 1.1.0.0-prerelease 20130711070209
With some non-English languages like German, some texts in Settings > Device Information > More Information > Developer are cropped, e.g. flash new paint and slow animation logging. These labels have to be shown on two lines to fit (or a different solution be found).
Comment 1•11 years ago
|
||
Is there a screenshot of this one? If so, please attach. Thanks!
Reporter | ||
Comment 2•11 years ago
|
||
This is a screenshot of the issue with German as UI language. It also affects other languages.
Label(s) too long, get(s) cropped:
Arab
Chinese traditional
Croatian
Dutch
German
Greek
Romanian
Serbian
Slovakian
Turkish
Words abbreviated with full-stop/dot by localizer:
French
Russian
Maybe some of the passing localizations had to shorten the texts, making them more ambiguous.
Comment 3•11 years ago
|
||
Please let me know if the recommended LabelBeginning...LabelEnd ellipsis method (see https://docs.google.com/a/mozilla.com/document/d/19XbHvtThAUCwzyx_TXJHY7ZX8t99MxhZnZamWUcB158/edit) might work here. If it will not work, UX can advise on UI adjustment.
Reporter | ||
Comment 4•11 years ago
|
||
We are told by l10n staff not use that. And at least in German, I am not sure it would always work (including understand by users), e.g. "Log slow animations" is "Langsame Animationen protokollieren" with "Langs. Anim. prot." as shortest way to do it with abbreviations, ellipsis in the middle won't work at all for this string.
Comment 5•11 years ago
|
||
(In reply to Stephany Wilkes from comment #3)
> Please let me know if the recommended LabelBeginning...LabelEnd ellipsis
> method (see
> https://docs.google.com/a/mozilla.com/document/d/
> 19XbHvtThAUCwzyx_TXJHY7ZX8t99MxhZnZamWUcB158/edit) might work here. If it
> will not work, UX can advise on UI adjustment.
Stephany, I'm strictly against doing that. It's turning l10n working patterns into really bad state. We'll breaking translation memories, spellcheckers, whatnot. It's the wrong thing to do.
Comment 6•11 years ago
|
||
Then it shouldn't be a suggested pattern, shouldn't have remained in the document, and shouldn't be suggested. I'll update it accordingly.
We'll need to come up with something different for flexible UI in the long term, since UX does not have team capacity to address each bug as a one-off. We'll do what we can on these in the meantime, though!
Flags: needinfo?(firefoxos-ux-bugzilla)
Assignee | ||
Comment 7•11 years ago
|
||
The problem is still there and getting much worse in 1.2 (longer labels). Any plan to fix this? I'm running out of abbreviations.
Updated•11 years ago
|
Flags: needinfo?(firefoxos-ux-bugzilla)
Comment 8•11 years ago
|
||
Flagging Eric to advise.
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(epang)
Comment 9•11 years ago
|
||
(In reply to Stephany Wilkes from comment #8)
> Flagging Eric to advise.
Hi, I've opened the bug 908309 to allow two lines in settings when truncation exist to address situations like this. Thanks!
Depends on: 908309
Flags: needinfo?(epang)
Assignee | ||
Comment 10•11 years ago
|
||
Since bug 908309 doesn't seem to get any traction, is there any chance to fix this with override rules only for section#developers?
I count 5 truncated labels in English at the moment.
For example, from a quick/incomplete test this code would keep one-line labels as they are, and let labels span on multiple lines if necessary
#developer #label.pack-checkbox input ~ span:after {
background-position: center 0;
}
#developer ul li > label > span {
overflow: visible;
white-space: normal;
min-height: 6rem;
height: auto;
line-height: 2.5rem;
padding: 1.7rem 4rem 1rem 3rem;
}
Comment 24•11 years ago
|
||
Can this bug fix options in HUD panel, too?
We have truncation bugs for a bunch of locales in this panel as well
Updated•10 years ago
|
Whiteboard: LocRun2.0
Assignee | ||
Comment 27•10 years ago
|
||
Attachment #8455260 -
Flags: review?(ehung)
Assignee | ||
Comment 28•10 years ago
|
||
Comparison between old (left) and patched.
Attachment #8395615 -
Attachment is obsolete: true
Assignee | ||
Comment 29•10 years ago
|
||
Comparison between current (left) and patched (right).
Attachment #8455262 -
Attachment is obsolete: true
Comment 30•10 years ago
|
||
Comment on attachment 8455260 [details] [review]
Pull request on Github
Thank you for the patch. It looks good to me, but I think we need ui-review.
Hi Eric, this patch do more than fixing two lines issue, there are a few visual changes e.g. size and position of the color box to make it look balanced. I think visual team would like to take a look. Thanks!
Attachment #8455260 -
Flags: ui-review?(epang)
Attachment #8455260 -
Flags: review?(ehung)
Attachment #8455260 -
Flags: review+
Assignee | ||
Comment 31•10 years ago
|
||
(In reply to Evelyn Hung [:evelyn] from comment #30)
> Thank you for the patch. It looks good to me, but I think we need ui-review.
Thanks, I absolutely agree.
Assignee: nobody → francesco.lodolo
Comment 32•10 years ago
|
||
Comment on attachment 8455260 [details] [review]
Pull request on Github
redirecting review to Carol since she now owns the visuals of the settings app. Thanks!
Attachment #8455260 -
Flags: ui-review?(epang) → ui-review?(chuang)
Comment 33•10 years ago
|
||
Comment on attachment 8455260 [details] [review]
Pull request on Github
Helen will take care of this ui review
Attachment #8455260 -
Flags: ui-review?(chuang) → ui-review?(hhuang)
Comment 34•10 years ago
|
||
Comment on attachment 8455260 [details] [review]
Pull request on Github
I’ve checked the patch, showing two lines works for me, thanks for the implement. Just want to make sure it's vertical center alignment.
I also noticed that there are some layout problems in Developer > Developer HUD. The margin of color-box looks squished in fixed version, it is suppose to keep the same width. Some color-box are smaller than the others, but I think all of them should be the same size (2x2 rem). Besides, I found some dividers are disappeared, please help to fix them.
Thank you.
Attachment #8455260 -
Flags: ui-review?(hhuang) → ui-review-
Comment 35•10 years ago
|
||
I have notes on the screenshot, please take a look.
Assignee | ||
Comment 36•10 years ago
|
||
I think I've addressed all the requests.
Some notes on the separators: HUD section is using <ul> and <li> in a peculiar way, and I tried to change the markup as little as possible.
That means adding an extra class to the two elements that need a top border: removing the rule to hide border on last child would cause a border on top of the header element. Also moved the memory elements in separate list items.
Also fixed RTL, which I didn't think about in the first version.
Attachment #8455263 -
Attachment is obsolete: true
Assignee | ||
Comment 37•10 years ago
|
||
Comment on attachment 8455260 [details] [review]
Pull request on Github
Helen, can you check the new screenshots?
I'll have to go back to the review after ui-review since I've changed part of the markup.
Attachment #8455260 -
Flags: ui-review- → ui-review?(hhuang)
Comment 38•10 years ago
|
||
Comment on attachment 8455260 [details] [review]
Pull request on Github
It's awesome! Thanks for your great help :)
Attachment #8455260 -
Flags: ui-review?(hhuang) → ui-review+
Assignee | ||
Comment 39•10 years ago
|
||
Comment on attachment 8455260 [details] [review]
Pull request on Github
Evelyn, can you check again the patch?
To address ui-review, I had to do some changes to the existing markup (see also comment 36).
Attachment #8455260 -
Flags: review+ → review?(ehung)
Comment 40•10 years ago
|
||
Comment on attachment 8455260 [details] [review]
Pull request on Github
Thanks, awesome!
Attachment #8455260 -
Flags: review?(ehung) → review+
Assignee | ||
Comment 41•10 years ago
|
||
Great, setting checkin-needed.
Status: NEW → ASSIGNED
Keywords: checkin-needed
Comment 42•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-b2g-v2.1:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S1 (1aug)
Assignee | ||
Comment 47•10 years ago
|
||
Verified on flame
Gaia c8511217183ade630f5afa7698c04efef5c6806b
Gecko https://hg.mozilla.org/mozilla-central/rev/a4dcfbebcb58
BuildID 20140728040209
Version 34.0a1
ro.build.version.incremental=110
ro.build.date=Fri Jun 27 15:57:58 CST 2014
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•