Unity: thumbnails for running apps are not cached

Bug #1193099 reported by Pat McGowan
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
unity-mir
Fix Released
High
Gerry Boland
unity8 (Ubuntu)
Fix Released
High
Michał Sawicz

Bug Description

saucy-19
gnex and nexus 4

If you select the app to display it again, the lens will once again show the correct images.

Revision history for this message
Michał Sawicz (saviq) wrote :

Can you post some more steps to reproduce?

If they are:

* launch an app
* start a long-drag from the left, but don't release
* release after a second or two

The reason is that the app is being unfocused before it's ever drawn its UI, it gets unfocused and the shell doesn't request new screenshots of the app while it's unfocused. We could probably improve this situation by requesting screenshots at unfocus, too.

We'll also need to cache those screenshots for later use (when app gets killed or as a splash screen when it's launching).

Changed in touch-preview-images:
status: New → Confirmed
Changed in unity:
status: New → Invalid
Changed in touch-preview-images:
importance: High → Medium
Revision history for this message
Michał Sawicz (saviq) wrote :

Steps to reproduce:

* start some apps
* go to apps scope
* search
* reset search

All the app snapshots are black, 'cause the apps are unfocused (hence probably stopped), so there's no way to get a snapshot of them. We need to cache the snapshots on disk, and also Mir should help here, because it should hold the last uploaded texture and we should be able to get to it.

summary: - Unity: thumdnails for running apps in app lens sometimes black
+ Unity: thumbnails for running apps are not cached
Changed in touch-preview-images:
assignee: Michał Sawicz (saviq) → Gerry Boland (gerboland)
tags: removed: saucy-regression
Michał Sawicz (saviq)
affects: unity → unity8
Changed in unity8:
status: Invalid → Confirmed
importance: Undecided → Medium
assignee: nobody → Gerry Boland (gerboland)
no longer affects: unity/8.0
Michał Sawicz (saviq)
Changed in unity8:
status: Confirmed → Triaged
kevin gunn (kgunn72)
Changed in unity-mir:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
kevin gunn (kgunn72) wrote :

albert - wonder if you might be able to help gerry out here
looks like this will need to be a phone v1 target
(even tho pat wanted it to be medium ;) just kidding pat)

Changed in unity8:
importance: Medium → High
Changed in touch-preview-images:
importance: Medium → High
Changed in unity-mir:
importance: Medium → High
Changed in unity8:
milestone: none → phone-v1-freeze
assignee: Gerry Boland (gerboland) → Albert Astals Cid (aacid)
Revision history for this message
Albert Astals Cid (aacid) wrote :

Reassigning to Michał since he convinced me on IRC that this bug "is done" and what's actually missing are two different things from the one reported here

Changed in unity8:
assignee: Albert Astals Cid (aacid) → Michał Sawicz (saviq)
Revision history for this message
Michał Sawicz (saviq) wrote :

I meant that the bigger issue here (the original "app screenshots are black") is fixed with unity-mir. We still have the case when the application is killed that's probably not handled, but that's not something we should focus on for v1, IMO.

Michał Sawicz (saviq)
Changed in unity8:
milestone: phone-v1-freeze → none
Gerry Boland (gerboland)
Changed in unity-mir:
assignee: nobody → Gerry Boland (gerboland)
Revision history for this message
Michael Hall (mhall119) wrote :

Attaching a screenshot of what I have on Trusty r28

Terminal has a running process still, but uReadIt does not.

Google+ and GMail do not have running webbrowser-app processes.

Revision history for this message
Michael Hall (mhall119) wrote :

Attaching unity8.log from the phone

Bill Filler (bfiller)
no longer affects: touch-preview-images
Changed in unity8:
status: Triaged → Fix Released
Changed in unity-mir:
status: Triaged → Won't Fix
status: Won't Fix → Fix Released
Michał Sawicz (saviq)
affects: unity8 → unity8 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.