Closed
Bug 964034
Opened 10 years ago
Closed 10 years ago
(gaia-rtl) Support RTL for Music App
Categories
(Firefox OS Graveyard :: Gaia::Music, defect)
Tracking
(ux-b2g:2.1)
RESOLVED
WONTFIX
ux-b2g | 2.1 |
People
(Reporter: nefzaoui, Assigned: nefzaoui)
References
Details
(Whiteboard: [rtl-meta])
Attachments
(4 files)
This bug is set for tracking and fixing everything related to Right-To-Left issues in Music App.
Assignee | ||
Comment 1•10 years ago
|
||
This bit of combination exciting me, however I'm seeking advice concerning UX ? Since share button is set to be on the left in both cases showcased in attachment, it takes some of the original space of Artist & Album names when they are non-RTL.
Assignee | ||
Comment 2•10 years ago
|
||
Kaze, may I get your feedback about this decision please? :)
Attachment #8371091 -
Flags: feedback?(kaze)
Assignee | ||
Comment 3•10 years ago
|
||
Notice the two main tiles
Comment 4•10 years ago
|
||
Comment on attachment 8371091 [details] [review] PR to Github LGTM, let’s get David’s review on this patch. FTR, I wonder if we should mirror the rew/play/fwd buttons, the “Now playing” one and the progressbar. Please open another bug for that and we’ll ask for UX help.
Attachment #8371091 -
Flags: review?(dflanagan)
Attachment #8371091 -
Flags: feedback?(kaze)
Attachment #8371091 -
Flags: feedback+
Comment 5•10 years ago
|
||
Comment on attachment 8371091 [details] [review] PR to Github Reassigning the review to Dominic who knows more about Music than I do and probably has a shorter review queue.
Attachment #8371091 -
Flags: review?(dflanagan) → review?(dkuo)
Comment 6•10 years ago
|
||
Currently I got several reviews so I need to prioritize the them. Ahmed, if this patch target for 1.4? and I am not familiar with Right-To-Left language so probably it will take me some time to review it. Also cc'ing Jacqueline and Peter to let them know about this, thanks.
Flags: needinfo?(nefzaoui.ahmed)
Assignee | ||
Comment 7•10 years ago
|
||
Since this bug is one of many blockers for RTL usage in Firefox OS, there's no targeted version with this patch, just master in general, but in the same time, the sooner it gets merged, the sooner we can move on and integrate RTL-based languages in Firefox OS. Of course, Please, take your time. But I'd more than glad to get this reviewed the soonest possible :) Thanks.
Flags: needinfo?(nefzaoui.ahmed)
Assignee | ||
Comment 8•10 years ago
|
||
Any progress on this ? Anything I can help with ? Maybe concerning some clarifying some RTL information ? :)
Flags: needinfo?(dkuo)
Comment 9•10 years ago
|
||
Hey Ahmed, apologize for keep you waiting, I still got several blockers but I should be able to review this patch tomorrow, I will let you know if I need any help, thanks for your patient!
Flags: needinfo?(dkuo)
Assignee | ||
Comment 10•10 years ago
|
||
Thanks, In the meantime I can provide a MP3 song sample with RTL information in it to help you test what would it be like to Play it or have it listed in a LTR view? Shall I? :)
Comment 11•10 years ago
|
||
(In reply to Ahmed Nefzaoui [:Nefzaoui] from comment #10) > Thanks, In the meantime I can provide a MP3 song sample with RTL information > in it to help you test what would it be like to Play it or have it listed in > a LTR view? Shall I? :) Sure, that will be great!
Comment 12•10 years ago
|
||
The screenshots after applied attachment 8371091 [details] [review]
Comment 13•10 years ago
|
||
Comment on attachment 8371091 [details] [review] PR to Github Ahmed, First of all, I applied your patch then tested it before I actually look into the modified code, and noticed issues are easily found which means we should address them and check the patch again before a detail review. I have found 6 of them(maybe more) and probably some of them need discussion with ux/visual that they are issues or not. Please reference to attachment 8391132 [details]: 1. For the first big tile, since you are mirroring almost all the ui, to be sync with the LTR ui, we should also mirror the first big tile, that means, the first big tile should start from the right side. 2. When the artist, album or title are longer than the list area, the ellipsis shouldn't on the left side if it's LTR text. 3. The similar issue in 2., the ellipsis should on the right side on both the album/artist and song title if it's LTR text. 4. The similar issue in 2., the ellipsis should on the right side when it's not RTL text. 5. The album and artist text should be aligned to right for both RTL and LTR text. 6. If we are mirroring all the ui, then we should also mirror the page transitions. In RTL ui, when enter the next page, do LTR transition. When back to previous page, do RTL transition. I think it's better to discuss with Jacqueline(ux) and Peter(visual) before you make further changes, and probably come out some simple wireframes so that we can fix this and I can review base on the results, and if you need helps on the code, feel free to ping me, thanks.
Attachment #8371091 -
Flags: review?(dkuo)
Assignee | ||
Comment 14•10 years ago
|
||
So few explanations :) Picture 1: That's how exactly it should be, RTL stands for Right To Left, thus, everything written in an RTL-based language should be on the Right side. (Please see Setting App, which has full RTL support right now) And it's already on the right in the picture. Where's the problem? Picture 2 and Picture 3: OK Picture 4: That was the (logical) approach I chose to work on in Headers (/shared/headers.css bug 883673), which were accepted by :Kaze back then and this is how competitors does (did) too.. And for Music App there's bug 868549 which tend to see how to get over such cases.. Typically now our problem in this bug. Picture 5: Attempted to make the Music App look smarter so when There's a non-RTL (e.g. English/French Song) song being played, it doesn't align it to the right, but to the left instead. As exactly you requested for Picture 2 and 3 For transitions: OK I'll see what I can do, but to be honest I didn't notice any problem with having transitions that way Finally let me refer to this wiki page: https://wiki.mozilla.org/L10n:B2G/RTL Further details please? Thanks so much
Flags: needinfo?(dkuo)
Assignee | ||
Comment 15•10 years ago
|
||
I just updated the PR with - Fixed transition as requested - RTL icons for Album view, and "Currently Playing" icon Please take a look at it now and tell me if that's how transitions are supposed to work, before I proceed to fixing what is in Picture 2 and 3. Also I'd like to know what do you think about my comments concerning Screenshot 1,4 and 5 in your attachment. Thanks so much
Assignee | ||
Comment 16•10 years ago
|
||
Sorry for spamming but I just forgot to mention that icons I just added are indeed compressed with png_recompress.sh
Comment 17•10 years ago
|
||
(In reply to Ahmed Nefzaoui [:Nefzaoui] from comment #14) > So few explanations :) Thanks for making these changes :) > Picture 1: > That's how exactly it should be, RTL stands for Right To Left, thus, > everything written in an RTL-based language should be on the Right side. > (Please see Setting App, which has full RTL support right now) > And it's already on the right in the picture. Where's the problem? Actually I was talking about the layout of the tiles, the "first" big tile was designed to be place on the left side when it's LTR language. When it's RTL, the first big tile should be started from the right side, that will sync to all the other ui elements. > Picture 2 and Picture 3: > OK > > Picture 4: > That was the (logical) approach I chose to work on in Headers > (/shared/headers.css bug 883673), which were accepted by :Kaze back then and > this is how competitors does (did) too.. And for Music App there's bug > 868549 which tend to see how to get over such cases.. Typically now our > problem in this bug. If you have already addressed the header for RTL in /shared/headers.css, then I am fine with that change because all the apps use the shared css should have the same rules. But I don't think we should depend on bug 868549 to fix this issue, cause if some text is truncated imply it should use marquee, then do we need to also use marquee on all the truncated text? for music the answer is probably no because it's easy to get truncated text, like the screenshot in attachment 8371091 [details] [review]. > Picture 5: > Attempted to make the Music App look smarter so when There's a non-RTL (e.g. > English/French Song) song being played, it doesn't align it to the right, > but to the left instead. As exactly you requested for Picture 2 and 3 Okay, this looks good to me as you mentioned above. > For transitions: OK I'll see what I can do, but to be honest I didn't notice > any problem with having transitions that way Every time when the pages do left-to-right transition, it means music app enters the next level, that's, the transition actually indicates the users that they are going to the next page. And base on this point, when it's RTL ui, the page transition should be opposite to indicate the same thing. I believe for the other apps, like settings or homescreen, we should also make similar changes or the ux won't be sync among all the apps. > Finally let me refer to this wiki page: https://wiki.mozilla.org/L10n:B2G/RTL > > Further details please? > Thanks so much I just comment these from my point of view, and I am sure ux and visual folks will have different opinions, let's needinfo Jacqueline and Peter to look on this first. Jacqueline and Peter, would you please check attachment 8371091 [details] [review] and see if Ahmed and me are doing right on the RTL ui for music? thanks.
Flags: needinfo?(pla)
Flags: needinfo?(jsavory)
Flags: needinfo?(dkuo)
Comment 18•10 years ago
|
||
(In reply to Dominic Kuo [:dkuo] from comment #17) > Jacqueline and Peter, would you please check attachment 8371091 [details] [review] > and see if Ahmed and me are doing right on the RTL ui for music? thanks. Actually I mean attachment 8391132 [details], it would be better for ux and visual to look on the screenshots instead of the patch, sorry about that :P
Assignee | ||
Comment 19•10 years ago
|
||
Haven't done a lot concerning this bug lately, but it turned out that the comment on Picture 4 from attachment 8391132 [details] can be actually addressed too, Bug 993089. Silly me. Also took a slight look and tried to hack on layouts as you suggested regarding Picture 1 in Comment 17.. Seems like it needs more event listeners which means lower performance and slower App loading.. Still haven't deeply looked into it though, what do you think? :)
Flags: needinfo?(dkuo)
Comment 20•10 years ago
|
||
(In reply to Ahmed Nefzaoui [:Nefzaoui] from comment #19) > Haven't done a lot concerning this bug lately, but it turned out that the > comment on Picture 4 from attachment 8391132 [details] can be actually > addressed too, Bug 993089. Silly me. > Also took a slight look and tried to hack on layouts as you suggested > regarding Picture 1 in Comment 17.. Seems like it needs more event listeners > which means lower performance and slower App loading.. Still haven't deeply > looked into it though, what do you think? :) Bug 993089 looks good to me and that should address Picture 4 in attachment 8391132 [details]. For Picture 1 what do you mean by more event listeners? (Sorry about the inactive response, I am working on 1.3t blockers...)
Flags: needinfo?(dkuo)
Updated•10 years ago
|
Assignee: nobody → nefzaoui.ahmed
Updated•10 years ago
|
ux-b2g: --- → 2.1
Comment 22•10 years ago
|
||
Hi Ahmed/Dominic Can you guys confirm what's been asked of UX? Is it the truncation issue and font usage? Or the whole RTL implementation in general? Thanks! Hung
Flags: needinfo?(nefzaoui.ahmed)
Flags: needinfo?(hnguyen)
Flags: needinfo?(dkuo)
Comment 23•10 years ago
|
||
I apologize for the confusion. Hung is not working on RTL UX. Hung, this was done without any specs. This would just be for a patch review on music fixes. Today is merge day for 2.1 but this is not a 2.1 blocker, so it will push to 2.2 if it doesn't land and merge.
Comment 24•10 years ago
|
||
I think it's nice to have both UX and visual people to review the RTL patch, since the are mostly visually changes so that's why I needinfo Jacqueline and Hung/Peter. Ahmed, recently the gaia-header component is landed in music app, so I think you will probably need to update your patch due to the conflicts, would you please address it and let's bring this back to the progress? thank you so much!
Flags: needinfo?(dkuo) → needinfo?(nefzaoui.ahmed)
Assignee | ||
Comment 26•10 years ago
|
||
Sure, I'm just waiting for my flame device to arrive (with my Peak currently having a almost-dead battery), couple of days and will kick off the work again :) Sorry for the huge delay..
Flags: needinfo?(nefzaoui.ahmed)
Comment 27•10 years ago
|
||
(In reply to Ahmed Nefzaoui [:Nefzaoui] from comment #26) > Sure, I'm just waiting for my flame device to arrive (with my Peak currently > having a almost-dead battery), couple of days and will kick off the work > again :) > Sorry for the huge delay.. Ahmed, please take your time cause this is not a blocker(for now) and I am sure we will need reviews(visual and code) back and forth, also thanks again for working on this :)
Comment 28•10 years ago
|
||
Exactly. This is not a blocker and will likely take a bit. :) Thanks all!
Comment 29•10 years ago
|
||
Resolving as WONTFIX as this will be replaced by a new 2.2 meta bug for RTL in Music, with child bugs attached.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Comment 30•10 years ago
|
||
Resolving as WONTFIX as this will be replaced by a new 2.2 meta bug for RTL in Music, with child bugs attached.
Updated•9 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•