Closed
Bug 1065384
Opened 10 years ago
Closed 10 years ago
[fte] tutorial string tutorial-vertical-scroll-v2-tiny has insufficient space in some locales
Categories
(Firefox OS Graveyard :: Gaia::First Time Experience, defect)
Firefox OS Graveyard
Gaia::First Time Experience
ARM
Gonk (Firefox OS)
Tracking
(b2g-v2.1 verified, b2g-v2.2 verified)
VERIFIED
FIXED
2.1 S5 (26sep)
People
(Reporter: aryx, Assigned: sfoster)
References
Details
(Whiteboard: [systemsfe])
Attachments
(7 files, 3 obsolete files)
274.72 KB,
image/png
|
Details | |
46 bytes,
text/x-github-pull-request
|
fcampo
:
review+
fabrice
:
approval-gaia-v2.1+
|
Details | Review |
87.04 KB,
image/png
|
epang
:
ui-review+
|
Details |
120.34 KB,
image/png
|
epang
:
ui-review+
|
Details |
154.12 KB,
image/png
|
epang
:
ui-review+
|
Details |
2.46 MB,
video/3gpp
|
Details | |
2.74 MB,
video/3gpp
|
Details |
Boot2Gecko 2.2.0.0-prerelease 20140909160207 on Flame The first screen of the tutorial uses the string with the entity tutorial-vertical-scroll-v2-tiny and is "Swipe up and down to browse your apps and bookmarks. Tap and hold an icon to delete, move, or edit it." Unfortunately, many locales have much longer translations for "swipe", "apps", "tap" etc., so the translation gets much longer and requires five lines of text in e.g. German (see attached screenshot). French dropped some of the text to fit in 4 lines. Please provide space for a fifth line of text
Assignee | ||
Comment 1•10 years ago
|
||
Jacqueline, Eric: we looked at these kind of issues when the tutorial videos first landed. We may be able to make a rule that just gives 5 lines of text to this screen, but the video will shrink accordingly. Unfortunately the strings are locked so I don't think we have any other options here?
Flags: needinfo?(jsavory)
Flags: needinfo?(epang)
Whiteboard: [systemsfe]
Comment 2•10 years ago
|
||
(In reply to Sam Foster [:sfoster] from comment #1) > Jacqueline, Eric: we looked at these kind of issues when the tutorial videos > first landed. We may be able to make a rule that just gives 5 lines of text > to this screen, but the video will shrink accordingly. Unfortunately the > strings are locked so I don't think we have any other options here? Hey Sam, would we be able to increase the space only when needed? 5 lines of space is alot, and I think will be to much on other locales (such as English). If the video shrinks accordingly will it end up blurry?
Flags: needinfo?(epang)
Assignee | ||
Comment 3•10 years ago
|
||
> Hey Sam, would we be able to increase the space only when needed? 5 lines
> of space is alot, and I think will be to much on other locales (such as
> English). If the video shrinks accordingly will it end up blurry?
I'll have to try it and see. Yes we can measure text and adjust the space as needed. I had just hoped we could avoid that. I'm not too worried about degrading the quality of the video, its more an issue of layout and possibly performance.
Assignee: nobody → sfoster
Comment 4•10 years ago
|
||
I agree with Eric that reducing the video size for all locales would look strange. I think adjusting it when necessary is the best solution for now. Sorry for the long string, I tried to add the bookmark information using as few words as possible.
Flags: needinfo?(jsavory)
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8489719 -
Flags: ui-review?(epang)
Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8489720 -
Flags: ui-review?(epang)
Assignee | ||
Comment 7•10 years ago
|
||
These screenshots show the extreme cases. Note that in practice we never have less than 2 lines, and never more than 5. But the patch I'll attach should be flexible enough to ensure the text is visible and legible regardless. I've got a minimum height on there to stop the video from jumping around too much as you step through. Beyond 3-4 lines it will start to squish down the video to fit.
Attachment #8489723 -
Flags: ui-review?(epang)
Assignee | ||
Comment 8•10 years ago
|
||
This patch changes the layout from using a fixed-height for the text that captions the tutorial videos, to using flexbox to scale the video area as necessary. I've run it through a few times on the flame, with various string lengths and its performed well. I don't currently have a smaller screen device to test it on though. As the text is currently clipped/incomplete in some languages, I assume we're looking at 2.1 uplift for this if possible.
Attachment #8489726 -
Flags: review?(fernando.campo)
Updated•10 years ago
|
Target Milestone: --- → 2.1 S5 (26sep)
Comment 9•10 years ago
|
||
(In reply to Sam Foster [:sfoster] from comment #7) > Created attachment 8489723 [details] > ftu-l10n-single-line.png > > These screenshots show the extreme cases. Note that in practice we never > have less than 2 lines, and never more than 5. But the patch I'll attach > should be flexible enough to ensure the text is visible and legible > regardless. > > I've got a minimum height on there to stop the video from jumping around too > much as you step through. Beyond 3-4 lines it will start to squish down the > video to fit. Hey Sam, looking good, but before I review these I just have one quick question. Can we vertically center the text above the video in the space between the status bar and video?
Flags: needinfo?(sfoster)
Comment 10•10 years ago
|
||
Comment on attachment 8489726 [details] [review] PR to use flexbox in tutorial caption/video layout slowly using flex in all ftu :D thanks Sam also, I'd say +1 to comment 9 about vertical centering, it'd look better when empty space is big.
Attachment #8489726 -
Flags: review?(fernando.campo) → review+
Assignee | ||
Comment 11•10 years ago
|
||
> Hey Sam, looking good, but before I review these I just have one quick
> question. Can we vertically center the text above the video in the space
> between the status bar and video?
Of course, in fact I thought I had done that but I see the screenshot says otherwise.
Flags: needinfo?(sfoster)
Assignee | ||
Comment 12•10 years ago
|
||
Updated with vertically-centered text
Attachment #8489720 -
Attachment is obsolete: true
Attachment #8489720 -
Flags: ui-review?(epang)
Attachment #8490118 -
Flags: ui-review?(epang)
Assignee | ||
Comment 13•10 years ago
|
||
Attachment #8490120 -
Flags: ui-review?(epang)
Assignee | ||
Comment 14•10 years ago
|
||
All screenshots for ui-review updated with fixed vertical centering
Attachment #8490121 -
Flags: ui-review?(epang)
Assignee | ||
Updated•10 years ago
|
Attachment #8489723 -
Attachment is obsolete: true
Attachment #8489723 -
Flags: ui-review?(epang)
Assignee | ||
Updated•10 years ago
|
Attachment #8489719 -
Attachment is obsolete: true
Attachment #8489719 -
Flags: ui-review?(epang)
Assignee | ||
Comment 15•10 years ago
|
||
PR updated with fixed vertical-centering on tutorial step text.
Comment 16•10 years ago
|
||
Comment on attachment 8490118 [details]
ftu-l10n-average-lines.png
Looks good, thanks Sam!
Attachment #8490118 -
Flags: ui-review?(epang) → ui-review+
Comment 17•10 years ago
|
||
Comment on attachment 8490120 [details]
ftu-l10n-many-lines.png
Looks good, thanks!
Attachment #8490120 -
Flags: ui-review?(epang) → ui-review+
Comment 18•10 years ago
|
||
Comment on attachment 8490121 [details]
ftu-l10n-single-line.png
Thanks again R+
Attachment #8490121 -
Flags: ui-review?(epang) → ui-review+
Assignee | ||
Comment 19•10 years ago
|
||
Landed on master: https://github.com/mozilla-b2g/gaia/commit/d3510be2067ff39ce07e72268ae510279ee7688e Commit: https://github.com/mozilla-b2g/gaia/commit/7a9d4ff1c77db0249a3c4a44942609883c7abba8
Assignee | ||
Comment 20•10 years ago
|
||
Comment on attachment 8489726 [details] [review] PR to use flexbox in tutorial caption/video layout [Approval Request Comment] [Bug caused by] (feature/regressing bug #): New, longer strings in bug 1054352 [User impact] if declined: Some captions for the tutorial videos will be incomplete in some locales [Testing completed]: Clean Gaia-Try, manual testing with existing strings and short and long extremes [Risk to taking this patch] (and alternatives if risky): Low risk, FTU app CSS changes only [String changes made]: None
Attachment #8489726 -
Flags: approval-gaia-v2.1?
Assignee | ||
Comment 21•10 years ago
|
||
Resolving as this is fixed in master.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Attachment #8489726 -
Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
Comment 22•10 years ago
|
||
v2.1: https://github.com/mozilla-b2g/gaia/commit/bc4675f3fc48387f6d04579156ecafc65e4b5f4f
status-b2g-v2.1:
--- → fixed
status-b2g-v2.2:
--- → fixed
Comment 25•10 years ago
|
||
Comment 26•10 years ago
|
||
Comment 27•10 years ago
|
||
This issue has been successfully verified on Flame 2.1, 2.2 See attachment:germen.3gp,french.3gp Reproducing rate: 0/5 Flame 2.1 new build: Gaia-Rev ccb49abe412c978a4045f0c75abff534372716c4 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/18fb67530b22 Build-ID 20141202001201 Version 34.0 Flame 2.2 version: Gaia-Rev 725685831f5336cf007e36d9a812aad689604695 Gecko-Rev https://hg.mozilla.org/mozilla-central/rev/2c9781c3e9b5 Build-ID 20141202040207 Version 37.0a1
You need to log in
before you can comment on or make changes to this bug.
Description
•