Mir

application flashes before showing infographic after turning off screen

Bug #1279078 reported by Rick Spencer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Confirmed
Medium
Unassigned
mir (Ubuntu)
Confirmed
Medium
kevin gunn

Bug Description

Steps:
0. Have a Nexus 4 with image 174 (bug may be on other devices, but this is the one I have for now)
1. Run any application (like Calendar)
2. press power button on the side to turn off screen
3. press power button to turn on the screen

Result:
The app shows briefly before the infographic displays "over it"

Expected:
When turning on the screen, only the infographic is visible

Tags: avengers
Revision history for this message
Olli Ries (ories) wrote :

confirmed behavior

Changed in mir (Ubuntu):
assignee: nobody → kevin gunn (kgunn72)
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Unlocking sounds like that described in bug 1270245 too.

The hard part is refining this bug down to a point where we can reproduce it with pure Mir, taking Unity out of the equation. No luck yet...

Changed in mir:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Can a Unity8 person please help us by describing the mechanics of how/when the "infographic" surface is created?

It sounds like it's just appearing a frame or so too late after Unity restarts the Mir compositor (as it does on un-sleep).

Revision history for this message
kevin gunn (kgunn72) wrote :

no ites not bug 1270245, its actually a duplicate of bug 1233564

Revision history for this message
kevin gunn (kgunn72) wrote :

i would recommend making bug 1233564 redundant as this description is better

Revision history for this message
Michael Terry (mterry) wrote :

Last time I talked to Mir folks about this, the solution sounded simple. They just need to clear all the queued buffers when the screen turns off. I think they've just been busy with other things.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yep, I discussed the same solution/workaround with greyback yesterday.

Flushing of the queued buffers normally never happens because it would wake up clients faster than the refresh rate. But to do it only on sleep/resume I think is fine. Assuming that really is the problem :)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm going to make this one the duplicate. Because bug 1233564 already has some Unity8 work attached to it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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