Last shell frame isn't sent to the display

Bug #1319907 reported by Andrea Cimitan
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mir
Fix Released
High
Andreas Pokorny
mir (Ubuntu)
Fix Released
High
Unassigned
unity8 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

With the recent merges, the overlay on the carousel showing title and description on the hero (current item in the carousel) is not always shown after a flick.

To reproduce try with a not short carousel, perform a flick, see the not appearing overlay

Andrea Cimitan (cimi)
Changed in unity8:
status: New → Confirmed
Changed in unity8:
status: Confirmed → Won't Fix
status: Won't Fix → New
Michał Sawicz (saviq)
Changed in unity8:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Albert Astals Cid (aacid) wrote :

Seems like a bug somewhere in the lower layers from my quick investigation, from what i can see:
 * It only fails on the phone
 * When it has failed on the phone, if you drag the scope to do a scope change, the header will come back
 * When doing that kind of change between scopes, we don't do any re-rendering, the fact that it comes back, hints me that somehow something was "forgoten" to render in the previous step

Revision history for this message
Albert Astals Cid (aacid) wrote :

Added this patch

=== modified file 'plugins/Dash/CardCreator.js'
--- plugins/Dash/CardCreator.js 2014-05-15 09:08:51 +0000
+++ plugins/Dash/CardCreator.js 2014-05-21 09:21:28 +0000
@@ -289,7 +289,9 @@
                 readonly property string title: cardData && cardData["title"] || ""; \n\
                 property bool asynchronous: true; \n\
                 property bool showHeader: true; \n\
- implicitWidth: childrenRect.width; \n';
+ implicitWidth: childrenRect.width; \n\
+ onShowHeaderChanged: console.log("showHeader", root, showHeader); \n\
+ Rectangle { color: "red"; opacity: 0.5; anchors.fill: parent; visible: showHeader }';

     var hasArt = components["art"] && components["art"]["field"] || false;
     var hasSummary = components["summary"] || false;

And the showHeader changes to true, but the times it fails the rectangle is not seen. Seems indeed as if we're missing some last repaint of something :-S

Revision history for this message
Albert Astals Cid (aacid) wrote :

So I run the same unity8 binary both inside an unity7 X11 session and standalone as a Mir session and we can reproduce the bug in the standalone Mir session but not inside the unity7 X11 session so it would seem to me that there is actually a bug in the lower layers (unity-mir, mir, something?)

Michał Sawicz (saviq)
summary: - Carousel overlay not always shown
+ Last shell frame isn't sent to the display
kevin gunn (kgunn72)
Changed in mir:
assignee: nobody → Andreas Pokorny (andreas-pokorny)
importance: Undecided → High
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

What Mir version is it?

Changed in mir:
status: New → Incomplete
Revision history for this message
Albert Astals Cid (aacid) wrote :

0.1.9+14.10.20140430.1-0ubuntu1

Changed in mir:
status: Incomplete → New
Michał Sawicz (saviq)
Changed in unity8:
status: Triaged → Won't Fix
status: Won't Fix → Invalid
assignee: Albert Astals Cid (aacid) → nobody
Revision history for this message
kevin gunn (kgunn72) wrote :

seems to be fixed in the latest mir/devel, in the progress of promoting 0.2.0

Changed in mir:
milestone: none → 0.2.0
Revision history for this message
kevin gunn (kgunn72) wrote :
Changed in mir:
milestone: 0.2.0 → 0.3.0
kevin gunn (kgunn72)
Changed in mir:
status: New → Fix Released
Changed in unity8:
status: Invalid → Fix Released
Changed in mir (Ubuntu):
status: New → Fix Released
importance: Undecided → High
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sounds like the fix (if any) appeared in 0.2.0

Changed in mir:
milestone: 0.3.0 → 0.2.0
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.