Comment 2 for bug 1319907

Revision history for this message
Albert Astals Cid (aacid) wrote : Re: Carousel overlay not always shown

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