Closed Bug 1226988 Opened 9 years ago Closed 9 years ago

Pinch to zoom breaks home screen

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jkt, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36 Steps to reproduce: Pinched to zoom when on the home screen Pinched to expand in the opposite direction Actual results: After zooming, the icons zoomed out and were not visible After zooming back out the whole screen went black removing all icons including the home screen besides the battery indicators. Locking the phone and unlocking made the whole screen light up but remain fully black. Expected results: Not sure what zoom in/out should do however it certainly shouldn't leave the phone in a unusable state
Device: Sony leo Image: https://github.com/fxpdev/b2g-updates/releases/tag/nightly OS version: 2.6.0.0-prerelease Build identifier: 20151120220038
Video of the issue available on request (Not sure the best place to store it as it's 17mb)
When I set the `visibility: hidden` on the `<iframe` within the 'main process' app then set it `visibility: visible;` it fixes the icons. The same isn't true for the default home screen app... even the body. Adding this to the main process app head fixes the issue: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=false">
(In reply to jonathan from comment #2) > Video of the issue available on request (Not sure the best place to store it > as it's 17mb) Uploading to any video service like youtube/vimeo/your_favorite_one is fine.
(In reply to [:fabrice] Fabrice Desré from comment #4) > (In reply to jonathan from comment #2) > > Video of the issue available on request (Not sure the best place to store it > > as it's 17mb) > > Uploading to any video service like youtube/vimeo/your_favorite_one is fine. This is currently pending processing here: https://vimeo.com/146580807 Sorry was being dumb :D
I intend to work on this as my first bug, if anyone can assign it you me that would be brilliant. Thanks.
I can't reproduce this and there already is a viewport on the homescreen: https://github.com/mozilla-b2g/gaia/blob/master/apps/homescreen/index.html#L5 It's likely that this may have been a temporary platform bug, but closing as worksforme. If anyone is able to reproduce on current 2.5 or master, please reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
(In reply to Chris Lord [:cwiiis] from comment #7) > I can't reproduce this and there already is a viewport on the homescreen: > https://github.com/mozilla-b2g/gaia/blob/master/apps/homescreen/index.html#L5 > > It's likely that this may have been a temporary platform bug, but closing as > worksforme. If anyone is able to reproduce on current 2.5 or master, please > reopen. To confirm the fix in the IDE that stopped the issue was adding it to the main process not the home screen: https://github.com/mozilla/gecko-dev/blob/master/b2g/chrome/content/shell.html I have rebuilt several times but then have not seen anyone else with the same issue.
You need to log in before you can comment on or make changes to this bug.