Closed
Bug 800204
Opened 13 years ago
Closed 13 years ago
Remove Gaia window manager getScreenshot workaround for bug 787519
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Firefox OS Graveyard
Gaia::System
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: justin.lebar+bug, Assigned: timdream)
References
Details
Attachments
(1 file)
There's a workaround for bug 787519 in the Gaia window manager. That bug is now resolved. Can we remove the workaround?
Assignee | ||
Comment 1•13 years ago
|
||
The "workaround" currently involves a timeout to ensure the window transition starts even if |onsuccess| nor |onerror| files. The time is set to 700ms.
However, on Otoro, I found that sometimes getScreenshot() takes more than 700ms to return, which is confusing for the user and can be considered ill-responsive to them. So I propose we keep the timeout, not as a workaround but maximum threshold that we will be waiting for getScreenshot() to start the transition.
We'll still need to update the comment in the code to "fix" this bug :-P
Assignee: nobody → timdream+bugs
Reporter | ||
Comment 2•13 years ago
|
||
700ms to get a screenshot?! That's a bug.
Anyway, let me fix bug 800170, which may greatly improve the speed of screenshotting.
Assignee | ||
Comment 3•13 years ago
|
||
Once bug 801306 landed, timeout is safe to be removed since we no longer taking screenshots during a user action. I would like to remove app-to-app transition screenshot taking before fixing this bug.
Depends on: 801306
Updated•13 years ago
|
Component: Gaia → Gaia::System
Assignee | ||
Comment 4•13 years ago
|
||
https://github.com/mozilla-b2g/gaia/pull/6347
This patch trims window manager more by removing dead code. screenshot-taking is no-longer a part of app transitioning flow (but screenshot-getting from database is); get this into window manager will keep our shipping code cleaner with fewer possible errors.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): workaround of bug 787519
User impact if declined: none
Testing completed: yes
Risk to taking this patch (and alternatives if risky): pure clean up, user will not likely to hit the code path changed.
Attachment #680474 -
Flags: review?(alive)
Attachment #680474 -
Flags: approval-gaia-master?(21)
Comment 5•13 years ago
|
||
r/a=gal
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Attachment #680474 -
Flags: review?(alive) → review+
Assignee | ||
Updated•13 years ago
|
Attachment #680474 -
Flags: approval-gaia-master?(21)
You need to log in
before you can comment on or make changes to this bug.
Description
•