Closed Bug 906887 Opened 13 years ago Closed 12 years ago

[Gallery] HD Play button grey overlay isn't aligned with white circle boarder

Categories

(Firefox OS Graveyard :: Gaia::Gallery, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.1hd ?)

RESOLVED INVALID
Tracking Status
b2g-v1.1hd --- ?

People

(Reporter: amylee, Assigned: sjochimek)

References

Details

(Whiteboard: helix vsd, HD)

Attachments

(4 files, 2 obsolete files)

Hi Pavel, On the play button in the gallery video playback, the grey overlay and the white circle boarder isn't aligned with each other so you see a bit of the grey overlay peeking out of the white boarder. Can you ensure that the overlay and white circle boarder is center aligned to the screen (same issue as Bug 906861). Thanks
blocking-b2g: --- → hd?
Whiteboard: helix vsd
(In reply to Amy from comment #0) > Created attachment 792422 [details] > Gallery- Play-Button.png > > Hi Pavel, > > On the play button in the gallery video playback, the grey overlay and the > white circle boarder isn't aligned with each other so you see a bit of the > grey overlay peeking out of the white boarder. Can you ensure that the > overlay and white circle boarder is center aligned to the screen (same issue > as Bug 906861). > > Thanks Just wanted to add that this also appears in the pressed state.
HD+ layout but, but amy how does this differ from 906861? (In reply to Amy from comment #0) > (same issue > as Bug 906861). > > Thanks
blocking-b2g: hd? → hd+
Flags: needinfo?(amylee.design)
Hi Wayne, The other bug is for the camera app. It's the same issue but happening on two different apps. I thought I would keep these separate for tracking purposes but if it's better to have one bug that's fine too.
Flags: needinfo?(amylee.design)
my Camera App doesn't work
Assignee: pivanov → sjochimek
this seems to appear in SD as well. So a patch will be needed for both sd and hd. Thanks!
Flags: needinfo?(sjochimek)
Whiteboard: helix vsd → helix vsd, HD
Eric, the problem is that we had an odd value in @1x that has been scaled in @1.5x. What you see is .5px diff that mixed up the render around edges. We really need to work with 'scalable' values. (1px in @1x would become 1.5px in @1.5px and that we don't want, prefer even values in @1x.) So here the solution, is to redo: - video_play_focus(@...).png - video_play_normal(@...).png to be a 100px instead of 101px. Same problem here: https://bugzilla.mozilla.org/show_bug.cgi?id=906851 (FMB)
Flags: needinfo?(sjochimek) → needinfo?(epang)
(In reply to Sam Joch [:samjoch] from comment #6) > Eric, the problem is that we had an odd value in @1x that has been scaled in > @1.5x. > What you see is .5px diff that mixed up the render around edges. > We really need to work with 'scalable' values. > (1px in @1x would become 1.5px in @1.5px and that we don't want, prefer even > values in @1x.) > > So here the solution, is to redo: > - video_play_focus(@...).png > - video_play_normal(@...).png > > to be a 100px instead of 101px. > > Same problem here: https://bugzilla.mozilla.org/show_bug.cgi?id=906851 > > (FMB) Yes that makes sense, Amy can you look into creating images at 100px x 100px for same?
Flags: needinfo?(sjochimek)
Flags: needinfo?(epang)
Flags: needinfo?(amylee.design)
Hi, I opened up @1 scale of the video_play_focus/normal graphics from Gaia and it's at 106px and the @1.5 scale is at 159px. Can you attached the graphics currently being used for focus and normal? I want to make sure the cropping is the same. Thanks (In reply to Eric Pang [:epang] from comment #7) > (In reply to Sam Joch [:samjoch] from comment #6) > > Eric, the problem is that we had an odd value in @1x that has been scaled in > > @1.5x. > > What you see is .5px diff that mixed up the render around edges. > > We really need to work with 'scalable' values. > > (1px in @1x would become 1.5px in @1.5px and that we don't want, prefer even > > values in @1x.) > > > > So here the solution, is to redo: > > - video_play_focus(@...).png > > - video_play_normal(@...).png > > > > to be a 100px instead of 101px. > > > > Same problem here: https://bugzilla.mozilla.org/show_bug.cgi?id=906851 > > > > (FMB) > > Yes that makes sense, Amy can you look into creating images at 100px x 100px > for same?
Flags: needinfo?(amylee.design)
Hi Sam, Need info for comment 8. Thanks!
Attached file Video_Play_Buttons.zip (obsolete) —
Hi, Here are the video player buttons @100x100px
Amy, Seems the zip missed @1.5px and @2x versions ?
Flags: needinfo?(amylee.design)
Attached file Video_Play_Buttons.zip (obsolete) —
Here are the rest of the sizes
Attachment #796139 - Attachment is obsolete: true
Flags: needinfo?(amylee.design)
Amy, the image doesn't match. Can i have for both 'focus' and 'normal' new image, cause i still have the issue: - for @1x: cropped to 100px x 100px, with a 100px filled circle (instead of 106px with a 101px filled circle) - for @1.5x: cropped to 150px x 150px with a 150px filled circle (instead of 159px with a 151px filled circle) - for @2x: cropped to 200px x 200px with a 200px filled circle (instead of 212px with a 200px filled circle) Thanks (FMB)
Flags: needinfo?(amylee.design)
Attached file Play_Buttons.zip —
Hi Sam, I've cropped the images to the size of the circle 100px, 150x, and 200px. Let me know if these work for you.
Attachment #796151 - Attachment is obsolete: true
Flags: needinfo?(amylee.design)
Hi Sam, There are two bugs talking the same thing. This one is for gallery, another is for camera. Would you mind to take care another one, bug 906861??? We use the shared program, but copied css, and image resource in gaia. So, that will be easy for you to take both of them. Thanks.
See Also: → 906861
The copied css and image resources means you have to make the same patch to camera app.
Attached file PR Github —
Attachment #798950 - Flags: feedback?(epang)
Attachment #798950 - Flags: feedback?(amylee.design)
Attached image Play button —
Here's the screenshot (just like I attached in bug 906861). You might see a little weird on the left and right side. I am not sure if it's image's problem because when I try to combine them together on photoshop, it seems the same as I attached. And btw, I think you might also need to adjust their width/height/left/top value and also to videoPlayerPauseButton:active.
Would you mind to do the same thing on Camera? As comment 17, bug 906861 should have same solution.
Hi George, You're right I still see a bit of a cut off in the graphic. Would it help if I provided a graphic with a 1 pixel spacing all around? If so, should the size of the graphic change (i.e 100px to 101px) or shrinking the circle by 1 pixel and keeping the graphic size the same. (In reply to George Duan [:gduan] from comment #19) > Created attachment 799211 [details] > Play button > > Here's the screenshot (just like I attached in bug 906861). You might see a > little weird on the left and right side. I am not sure if it's image's > problem because when I try to combine them together on photoshop, it seems > the same as I attached. > > And btw, I think you might also need to adjust their width/height/left/top > value and also to videoPlayerPauseButton:active.
(In reply to Amy from comment #21) > Hi George, > > You're right I still see a bit of a cut off in the graphic. Would it help if > I provided a graphic with a 1 pixel spacing all around? If so, should the > size of the graphic change (i.e 100px to 101px) or shrinking the circle by 1 > pixel and keeping the graphic size the same. > > (In reply to George Duan [:gduan] from comment #19) > > Created attachment 799211 [details] > > Play button > > > > Here's the screenshot (just like I attached in bug 906861). You might see a > > little weird on the left and right side. I am not sure if it's image's > > problem because when I try to combine them together on photoshop, it seems > > the same as I attached. > > > > And btw, I think you might also need to adjust their width/height/left/top > > value and also to videoPlayerPauseButton:active. Hey Amy, Sam worked on a patch for bug 906861 which looks good. Tho not exactly as intended I think it looks good. I'll attach a screenshot so you can see.
Flags: needinfo?(amylee.design)
(In reply to Eric Pang [:epang] from comment #22) > (In reply to Amy from comment #21) > > Hi George, > > > > You're right I still see a bit of a cut off in the graphic. Would it help if > > I provided a graphic with a 1 pixel spacing all around? If so, should the > > size of the graphic change (i.e 100px to 101px) or shrinking the circle by 1 > > pixel and keeping the graphic size the same. > > > > (In reply to George Duan [:gduan] from comment #19) > > > Created attachment 799211 [details] > > > Play button > > > > > > Here's the screenshot (just like I attached in bug 906861). You might see a > > > little weird on the left and right side. I am not sure if it's image's > > > problem because when I try to combine them together on photoshop, it seems > > > the same as I attached. > > > > > > And btw, I think you might also need to adjust their width/height/left/top > > > value and also to videoPlayerPauseButton:active. > > Hey Amy, Sam worked on a patch for bug 906861 which looks good. Tho not > exactly as intended I think it looks good. I'll attach a screenshot so you > can see. I've taken a closer look and think the icon should stay consistant with the other play icons of the same style. The current patch gives a grey/blue highlight border around the white.
Attachment #798950 - Flags: feedback?(epang)
Attachment #798950 - Flags: feedback?(amylee.design)
Unblocking this as polish. Please move the bug along and have it done for v1.2 onwards.
blocking-b2g: hd+ → ---
So what do we do here ?
Flags: needinfo?(epang)
(In reply to Sam Joch [:samjoch] from comment #18) > Created attachment 798950 [details] > PR Github
Flags: needinfo?(amylee.design)
closing this bug, the currently implementation works. Thanks!
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(epang)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: