Closed Bug 1072779 Opened 10 years ago Closed 10 years ago

We should show screenshot overlay before opening an app.

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect, P1)

x86_64
Windows 7
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alive, Assigned: evanxd)

References

Details

Attachments

(1 file)

When attention screen comes, we are not able to show the screenshot anymore when the attention screen terminates. And this is because visibility manager will tell appWindowManager to hide active app window and the app window will call this.setVisible(false) in hidewindow handler. Now setVisible is decoupled from screenshot so we should call this._showScreenshotOverlay() (and check this.isActive() to avoid mem issue) in the hidewindow handler.
Thanks, Alive. I'll take a look.
Assignee: nobody → evanxd
Comment on attachment 8504481 [details] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25112 Hi Alive, Could you give feedbacks for the patch? I'll update the unit tests once the patch is OK. Thanks.
Attachment #8504481 - Flags: feedback?(alive)
Comment on attachment 8504481 [details] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25112 The questioning part is the asynchronous getScreenshot will not give you screenshotBlob, could you explain why that?
Attachment #8504481 - Flags: feedback?(alive)
Comment on attachment 8504481 [details] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25112 Hi Alive, I updated the patch. Could you help to review it. Thanks.
Attachment #8504481 - Flags: review?(alive)
Comment on attachment 8504481 [details] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25112 We need test and r+ if you are done.
Attachment #8504481 - Flags: review?(alive) → review+
Summary: We should show screenshot overlay in hidewindow handler. → We should show screenshot overlay before opening an app.
Alive, thanks for the review.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: