Closed Bug 945098 Opened 12 years ago Closed 12 years ago

WVGA - 3:4 aspect ratio is hard coded into wallpaper selection

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(blocking-b2g:hd+, b2g18 wontfix, b2g-v1.1hd fixed, b2g-v1.2 affected)

RESOLVED FIXED
blocking-b2g hd+
Tracking Status
b2g18 --- wontfix
b2g-v1.1hd --- fixed
b2g-v1.2 --- affected

People

(Reporter: padamczyk, Assigned: timdream)

Details

(Whiteboard: ux-tracking, visual design, visual-tracking, jian [good first bug][lang=js][mentor-lang=zh][mentor=timdream][mentor=djf])

Attachments

(2 files)

When selecting a wallpaper from the Gallery, the app crops it to what I suspect is a 4:3 aspect ratio not the native aspect ratio of the device (5:3 in the case of the WVGA) I also noticed the default wallpaper (green grass) on the WVGA device looks fuzzy when a new build is loaded. However when I select the same wallpaper from the wallpaper app, it gets a little sharper. So it might be up scaling the wallpaper at boot up.
Flags: needinfo?(timdream)
Whiteboard: ux-tracking, visual design, visual-tracking, jian
David or Dale, are we hard-coding the height/width in the code? Nothing showed up with quick |grep|.
Flags: needinfo?(timdream)
Flags: needinfo?(dflanagan)
Flags: needinfo?(dale)
This should probably block because it's a functionality issue.
blocking-b2g: --- → 1.3?
Flags: needinfo?(dflanagan)
Flags: needinfo?(dale)
Thanks, switching category. We should update these values to window.screen.width and height times device pixel ratio. This is probably a good first bug. Please needinfo? me if you are interested taking this issue.
Component: Gaia::Gallery → Gaia::Homescreen
Whiteboard: ux-tracking, visual design, visual-tracking, jian → ux-tracking, visual design, visual-tracking, jian [good first bug][lang=js][mentor-lang=zh][mentor=timdream][mentor=djf]
Does this reproduce on 1.1 or 1.2? Note - you'll likely need to use a Helix device to reproduce this.
Keywords: qawanted
QA Contact: mvaughan
This issue does reproduce on the Helix 12/03 1.1 and 1.2 builds. When attempting to set a 480X800 image as the wallpaper, the image will be cropped automatically. Also, the issue of the default green grass wallpaper appearing a little fuzzy when launching a Firefox OS build for the first time does reproduce on the 12/03 1.2 build. It also reproduces on the 12/03 1.1 build with the default grayish reeds wallpaper. The image will become sharper once I set it as the wallpaper through the Display menu under Settings. NOTE: This issue can be reproduced by simply resetting the phone. - Helix 1.1 Build - Environmental Variables: Device: Helix v1.1 COM RIL BuildID: 20131203042203 Gaia: db9dd61b0a0e7ea9e3821dbae9775d90349578b0 Gecko: 155c632d4a41 Version: 18.0 Firmware Version: Y300-F1V100R001C00B004SP01 RIL Version: 01.01.00.019.281 - Helix 1.2 Build - Environmental Variables: Device: Helix v1.2 COM RIL BuildID: 20131203004002 Gaia: c8f14ad3950d59ba13d7639eff02d080060bb3ce Gecko: 244e98241b2c Version: 26.0 Firmware Version: Y300-F1V100R001C00B004SP01 RIL Version: 01.02.00.019.102
Keywords: qawanted
Clarification - the 1.1 build is referring to 1.1 HD, not 1.1 directly. I double checked the commits - they reference the latest changes on 1.1 HD.
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #2) > This should probably block because it's a functionality issue. If we're really going to consider blocking on this, then we should target the earliest release this reproduces on. Based on the testing above, it looks like this reproducing on 1.1 HD. Gregor has also confirmed reproduction on 1.1 HD. Wayne - Can you triage this?
blocking-b2g: 1.3? → hd?
Flags: needinfo?(wchang)
Triage: blocks for 1.1HD since as it is basic functionality
blocking-b2g: hd? → hd+
Flags: needinfo?(wchang)
Tim, Do you have someone to take this? Thanks.
Flags: needinfo?(timdream)
Assignee: nobody → timdream
Flags: needinfo?(timdream)
Comment on attachment 8342275 [details] [review] mozilla-b2g:master PR#14354 Can anyone do a quick review here? Please remove other reviewers if you think your review is enough. :)
Attachment #8342275 - Flags: review?(dflanagan)
Attachment #8342275 - Flags: review?(crdlc)
Attachment #8342275 - Flags: review?(arthur.chen)
Comment on attachment 8342275 [details] [review] mozilla-b2g:master PR#14354 Looks good to me, 10x
Attachment #8342275 - Flags: review?(crdlc) → review+
Comment on attachment 8342275 [details] [review] mozilla-b2g:master PR#14354 r=me
Attachment #8342275 - Flags: review?(arthur.chen) → review+
Comment on attachment 8342275 [details] [review] mozilla-b2g:master PR#14354 Landing this patch since I got r+ from both homescreen and settings app peer.
Attachment #8342275 - Flags: review?(dflanagan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: