Closed Bug 865018 Opened 12 years ago Closed 11 years ago

Tip Tap Tile off center

Categories

(Tech Evangelism Graveyard :: Preinstalled B2G Apps, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: matthew.shapiro, Assigned: lstowasser)

References

Details

(Whiteboard: [3rd Party][apps watch list1][TD-84169])

Attachments

(1 file)

Attached image bugphoto.jpeg β€”
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31

Steps to reproduce:

I opened the Tip Tap Tile game in the games pack, and rotated the screen from landscape to portrait. 


Actual results:

The game remained off center and having the left hal of the playable space in the screen off center and not playable. 


Expected results:

The game should not rotate att all but be locked in to landscape mode
Component: General → Mobile
Product: Boot2Gecko → Tech Evangelism
Version: unspecified → Trunk
Component: Mobile → Preinstalled B2G Apps
Whiteboard: [apps watch list]
Whiteboard: [apps watch list] → [apps watch list1]
this sounds like it might be bug 851642 again
Agreed
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Turns out this is a different bug.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: DUPLICATE → ---
No longer blocks: b2g-gamepack
Component: Preinstalled B2G Apps → General
Product: Tech Evangelism → Boot2Gecko
Version: Trunk → unspecified
I'm suspicious this is a platform bug. There's some weird behavior that happens when you get into this state - I saw the wallpaper disappear on the homescreen a second ago.

Can someone from the platform and apps partner engineering team find out if:

1. Is this a platform bug or a third-party app bug?
2. Can this be worked around by the app developer if it's a platform bug?

If this ends up being a platform bug and can't be worked around by the app developer, then this is a tef+ blocker, as this is a target 1.01 preinstalled app.
blocking-b2g: --- → tef?
Flags: needinfo?(overholt)
Flags: needinfo?(hkirschner)
Whiteboard: [apps watch list1] → [apps watch list]
blocking-b2g: tef? → ---
Component: General → Preinstalled B2G Apps
Product: Boot2Gecko → Tech Evangelism
Tony & I discussed this more. We think this is an app developer bug, but we're not 100% sure.

Harald - Can you take a look?
Blocks: b2g-gamepack
Flags: needinfo?(overholt)
This surely looks like bug 851642, the phone switched to landscape when it should be locked to portrait.

The game calls lockOrientation when the page loads. Can anybody tell me if there is a different best practice? Should I micro-manage orientation by unlocking it on page hidden and locking it again on page visible?
Flags: needinfo?(hkirschner)
(In reply to Harald Kirschner :digitarald from comment #6)
> This surely looks like bug 851642, the phone switched to landscape when it
> should be locked to portrait.

I actually think this is different. When you test this, you'll notice that when selecting the home button, the orientation does not change, but the app shifts over by a bit. The touch actions appear to fall out of sync too.
(In reply to Harald Kirschner :digitarald from comment #6)
> The game calls lockOrientation when the page loads. Can anybody tell me if
> there is a different best practice? Should I micro-manage orientation by
> unlocking it on page hidden and locking it again on page visible?

Can't you set the orientation in the manifest?
Clarifying STR:

1.  Launch Game Pack
2.  Select Tip Tap Tile
3.  Rotate device to landscape
4.  Tap to continue > Start > Start (now you're in Level 1)
5.  Tap the Home button in the lower right corner

Observe: screen shifts over to the left
Whiteboard: [apps watch list] → [apps watch list1]
Still broken on Unagi 1.0.1, but unable to duplicate on Inari v1.1.  Assuming something got fixed along the way.
Status: REOPENED → RESOLVED
Closed: 12 years ago11 years ago
Resolution: --- → FIXED
Reopened per the dupe. This isn't fixed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [apps watch list1] → [3rd Party][apps watch list1][TD-84169]
Louis, if you cannot fix this, please assign to Thomas Elin. (Thomas to reach out to Tweensoft).
Assignee: nobody → lstowasser
Priority: -- → P3
Louis, if you cannot fix this, please assign to Thomas Elin. (Thomas to reach out to Tweensoft).
It looks like this is actually scrolling the entire page. Fixed it by setting the body element to `overflow: hidden`.
New version has been uploaded to marketplace with fix
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: