Closed Bug 967067 Opened 10 years ago Closed 10 years ago

[Gaia][Systems] Task Switcher (CardsView) should reuse existing screenshots instead of taking new ones

Categories

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

x86
macOS
defect

Tracking

(tracking-b2g:backlog)

RESOLVED WORKSFORME
tracking-b2g backlog

People

(Reporter: aus, Assigned: aus)

References

Details

(Whiteboard: [systemsfe][p=3])

Currently, we end up taking new screenshots for the cards view if the application object doesn't have an existing screenshot. However, the way the Stack Manager works, it provides a guaranteed screenshot for a running application. We should use *that* screenshot!
Whiteboard: [systemsfe][p=3]
blocking-b2g: --- → backlog
Target Milestone: 1.4 S2 (28feb) → ---
Is this still an issue with all the recent cards view work?
Flags: needinfo?(sfoster)
Flags: needinfo?(aus)
Priority: -- → P2
Aus is up to his eyeballs in this so I'll let him respond. I still see more calls to getScreenshot than I would expect, but I think we have fixed the issue this bug was opened for?
Flags: needinfo?(sfoster)
Yes, I believe this is implemented as we want it now. 

We still need to use getScreenshot to get a screenshot of the app chrome for system browser windows with web content (!app).

For normal apps, we don't call getScreenshot, only requestScreenshotURL which returns a URL based on the existing cached blob.
Flags: needinfo?(aus)
Ok, sounds like our work here is done then. Let's reopen if I'm wrong. Thanks!
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.