Closed Bug 1035681 Opened 10 years ago Closed 10 years ago

[Gallery] - check missing images

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pivanov, Assigned: pivanov)

References

Details

Attachments

(2 files)

We need to check following images:

??? apps/gallery/style/images/actionicon_gallery_edit_rotate_30x30@1.5x.png
??? apps/gallery/style/images/actionicon_gallery_edit_rotate_30x30@2x.png
??? apps/gallery/style/images/actionicon_gallery_edit_rotate_30x30@2.25x.png
apps/gallery/style/images/fullscreen@1.5x.png
apps/gallery/style/images/fullscreen@2x.png
apps/gallery/style/images/fullscreen@2.25x.png
apps/gallery/style/images/fullscreen_pressed@1.5x.png
apps/gallery/style/images/fullscreen_pressed@2x.png
apps/gallery/style/images/fullscreen_pressed@2.25x.png
??? apps/gallery/style/images/handle_pressed@1.5x.png
??? apps/gallery/style/images/handle_pressed@2x.png
??? apps/gallery/style/images/handle_pressed@2.25x.png
apps/gallery/style/images/player_mask@1.5x.png
apps/gallery/style/images/player_mask@2x.png
apps/gallery/style/images/player_mask@2.25x.png
apps/gallery/style/images/selection_mask_L@1.5x.png
apps/gallery/style/images/selection_mask_L@2x.png
apps/gallery/style/images/selection_mask_L@2.25x.png
apps/gallery/style/images/selection_mask_R@1.5x.png
apps/gallery/style/images/selection_mask_R@2x.png
apps/gallery/style/images/selection_mask_R@2.25x.png
apps/gallery/style/images/slider-bg@1.5x.png
apps/gallery/style/images/slider-bg@2x.png
apps/gallery/style/images/slider-bg@2.25x.png
apps/gallery/style/images/slider-indicator@1.5x.png
apps/gallery/style/images/slider-indicator@2x.png
apps/gallery/style/images/slider-indicator@2.25x.png
apps/gallery/style/images/ui/gradient@2x.png
apps/gallery/style/images/ui/gradient@2.25x.png
apps/gallery/style/images/ui/pane_divider@1.5x.png
apps/gallery/style/images/ui/pane_divider@2x.png
apps/gallery/style/images/ui/pane_divider@2.25x.png
apps/gallery/style/images/ui/pattern@1.5x.png
apps/gallery/style/images/ui/pattern@2x.png
apps/gallery/style/images/ui/pattern@2.25x.png

??? - we need to double check this
Summary: [Gallery] - remove unused images → [Gallery] - check missing images
Hey Helen,
can you help with this one?
Flags: needinfo?(hhuang)
Attached file images.zip
Following missing images are attached, please see the zip file.
- apps/gallery/style/images/ui/gradient@2x.png
- apps/gallery/style/images/ui/gradient@2.25x.png
- apps/gallery/style/images/ui/pattern@1.5x.png
- apps/gallery/style/images/ui/pattern@2x.png
- apps/gallery/style/images/ui/pattern@2.25x.png

These images are for tablet only, we don't need the other sizes.
- apps/gallery/style/images/fullscreen.png
- apps/gallery/style/images/fullscreen_pressed.png
- apps/gallery/style/images/handle_pressed.png
- apps/gallery/style/images/player_mask.png
- apps/gallery/style/images/selection_mask_L.png
- apps/gallery/style/images/selection_mask_R.png
- apps/gallery/style/images/slider-bg.png
- apps/gallery/style/images/slider-indicator.png
- apps/gallery/style/images/ui/pane_divider@1.5x.png
I also found we don't have apps/gallery/style/images/actionicon_gallery_edit_rotate_30x30.png in Gaia, seems it's not needed. 

Besides, there are some incorrect filenames in Gaia, can you help to revise them? 
- actionicon_gallery_edit_effects_30x30.png need to be renamed to actionicon_gallery_edit_effect_30x30.png ---> also, this image is outdated, the new one in the attachement.
- actionicon_gallery_edit_effects_30x30@1.5x.png need to be renamed to actionicon_gallery_edit_effect_30x30@1.5x.png 
- actionicon_gallery_edit_effects_30x30@2x.png need to be renamed to actionicon_gallery_edit_effect_30x30@2x.png
- actionicon_gallery_edit_effects_30x30@2.25x.png need to be renamed to actionicon_gallery_edit_effect_30x30@2.25x.png

Please help to relink the renamed images to Gallery app.
Thank you so much!
Flags: needinfo?(hhuang)
Attached file patch for Gaia/master
Hey Helen,
thanks for the quick answer :) can you check this one?
Attachment #8474468 - Flags: ui-review?(hhuang)
Comment on attachment 8474468 [details] [review]
patch for Gaia/master

Cool! Thank you so much for your help :)
Attachment #8474468 - Flags: ui-review?(hhuang) → ui-review+
Attachment #8474468 - Flags: review?(pdahiya)
Comment on attachment 8474468 [details] [review]
patch for Gaia/master

Hi Pavel
Attached patch is creating below new file that's not used
 apps/gallery/style/images/actionicon_gallery_edit_effect_30x30.png

Also, we shouldn't be renaming 
rename apps/gallery/style/images/{actionicon_gallery_edit_effect_selected_30x30.png => actionicon_gallery_edit_effects_selected_30x30.png}

as we are using actionicon_gallery_edit_effect_selected_30x30.png. See https://github.com/mozilla-b2g/gaia/blob/master/apps/gallery/style/gallery.css#L798

Thanks
Attachment #8474468 - Flags: review?(pdahiya) → review-
Comment on attachment 8474468 [details] [review]
patch for Gaia/master

Hey,
thanks for the feedback. You are right! think that now the PR it's OK :)
Attachment #8474468 - Flags: review- → review?(pdahiya)
Comment on attachment 8474468 [details] [review]
patch for Gaia/master

Looks good. Thanks for the patch!
Attachment #8474468 - Flags: review?(pdahiya) → review+
Sure :)

Thanks:)

Landed to master:
https://github.com/mozilla-b2g/gaia/commit/e0096044a8e1222504f3448c1dd3ddf0dc9eaf1a
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: