Closed Bug 1011378 Opened 11 years ago Closed 7 years ago

[Midori][3rd APK][Entanglement]The frames appear elongation after lock and unlock screen

Categories

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

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sync-1, Assigned: derek.detweiler)

Details

Attachments

(1 file)

DEFECT DESCRIPTION: The frames appear elongation after lock screen on unlock screen REPRODUCING PROCEDURES: 1.Access Entanglement 2.MS lock screen on unlock screen->The frames appear elongation.--->KO EXPECTED BEHAVIOUR: KO:The frames show normal ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED: USER IMPACT:medium REPRODUCING RATE:3/3 For FT PR, Please list reference mobile's behavior: Beetle_lite_FF(V18J+FP):ALSO
Attached image Entanglement
Assignee: nobody → other
Component: Gaia → Other
Product: Firefox OS → Tech Evangelism
Hi Derek - Do you have any update on this issue? Thanks
Flags: needinfo?(derek.detweiler)
The canvas coordinate system is not being updated to match the CSS-styled layout. Currently this resize update method is run on the initial "load" event as well as "orientationchange" and "resize" events. Is there another corresponding window event on Firefox OS that I can listen for when a device is unlocked? If so, I can tie this in as well. If not, I suppose I should check this inside the ongoing game loop? I try to keep checks like this tied to appropriate events outside of the game loop, but I can incorporate a check every step if this is the only way.
Flags: needinfo?(derek.detweiler) → needinfo?(other)
@ other@evangelism.bugs Can you answer the questions in Comment3 please? Thanks.
Hi Howie - Could you find someone in the system frontend team to answer the question in Comment#3 ? Thanks!
Flags: needinfo?(other) → needinfo?(hochang)
Hi Greg, can you help to feedback on Comment 3 ? Thanks.
Flags: needinfo?(hochang) → needinfo?(gweng)
Can somebody explain what are you discussing about, and why this is related to LockScreen? The attachment is also without any information like extended file name to open it. I don't even know what you need according to the comment 3.
Flags: needinfo?(gweng)
Hi Greg, Basically, is there a window event for which I can listen to know when the screen has been unlocked? Currently Entanglement handles viewport changes on the "orientationchange" and "resize" window events, but neither of these are triggered when the screen unlocks, so I'm just curious whether there is a window event triggered at this time? Thanks!
You can only listen it in System app (the 'unlock' event), so I don't think it's possible. However, I think the 'visibilitychanged' event may satisfy your request. Because that the event would be triggered when the app become a background app, and this should be a default behavior, although we recently have found a regression about it.
Thanks Greg, I'll use 'visibilitychange' - it sounds like it should work for what we need.
Dear Derek, Any update on this issue?
Flags: needinfo?(derek.detweiler)
Not yet - I've been on vacation. I'll keep you posted.
I've posted an updated build to the marketplace to see if the proposed solution resolves this issue. >> Its latest version is pending review by a Firefox Marketplace reviewer. >> Queue position: 65 of 65 >> Estimated waiting time: 2 working days
Flags: needinfo?(derek.detweiler)
It is still not ok.
@Lingling Zhao- Was this issue using Firefox OS version 2.0? Is this issue still occurring on your end? If not, I will close the bug.
Assignee: other → derek.detweiler
Status: NEW → ASSIGNED
Flags: needinfo?(zhaolingling)
I was able to reproduce this issue on Flame running 2.0. @Derek- Are there any updates regarding the status of this bug and a potential fix date?
Flags: needinfo?(zhaolingling) → needinfo?(derek.detweiler)
There are no updates. I was unable to replicate this issue in the earlier simulators and the one potential avenue didn't work. I can try the 2.0 simulator and see if it happens to occur there. Out of curiosity, is it possible yet to get test devices in the USA?
Flags: needinfo?(derek.detweiler)
I just tried 2.0 Simulator, but I'm not sure how to lock the screen on the simulator in order to reproduce the problem.
Derek, I can help with your request, please expect an email at your Bugzilla email address from either Silvio or me to get the process started for shipping you a Flame reference device.
The issue comes down to the game not rendering very quickly on a resize event (which seems to happen when the unlock screen pops up). So there's a sec delay between the initial CSS adjusting to when the canvas redraw is complete. Since the game is set to maintain a landscape orientation per the manifest, I removed the unnecessary resize event listener and it appears to behave better now. I submitted an updated version to the marketplace for review.
Thanks for the update on this Bug Derek. I will keep an eye out and test for the fix in the coming few days.
Flags: needinfo?(mellis)
Product: Tech Evangelism → Tech Evangelism Graveyard
@ Derek- This issue is now resolved. The update seems to have worked, thanks Derek!
Component: Other → Preinstalled B2G Apps
Flags: needinfo?(mellis)
Product: Tech Evangelism Graveyard → Tech Evangelism
Mass closing on Tech Evangelism::Preinstalled B2G App as Firefox OS is no longer a thing.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Mass closing on Tech Evangelism::Preinstalled B2G App as Firefox OS is no longer a thing.
Mass closing on Tech Evangelism::Preinstalled B2G App as Firefox OS is no longer a thing.
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: