Black tab previews on webbrowser sometimes

Bug #1452998 reported by Olivier Tilloy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Bill Filler
Oxide
Invalid
Critical
Unassigned
webbrowser-app
Fix Released
Critical
Olivier Tilloy
webbrowser-app (Ubuntu)
Vivid
New
Undecided
Unassigned

Bug Description

This is observed with image #207 from the devel-proposed channel on krillin.

All tab previews but the active one are entirely black. See attached screenshot.

This is a recent regression, tab previews used to be displayed correctly.

Related branches

Revision history for this message
Olivier Tilloy (osomon) wrote :
Changed in webbrowser-app:
importance: Undecided → Critical
Revision history for this message
Olivier Tilloy (osomon) wrote :

The regression appeared in image #199.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Those are the changes in image #199:

Package changes between 20150424.1 and 20150428
=== Dropped Packages ===
libgo7:armhf

=== Upgraded Packages ===
libmedia-hub-client3:armhf from 3.1.0+15.04.20150420.1-0ubuntu1 to 3.1.0+15.04.20150427.3-0ubuntu1
libmedia-hub-common3:armhf from 3.1.0+15.04.20150420.1-0ubuntu1 to 3.1.0+15.04.20150427.3-0ubuntu1
libusermetricsinput1:armhf from 1.1.1+15.04.20150219-0ubuntu1 to 1.1.1+15.04.20150427-0ubuntu1
libusermetricsoutput1:armhf from 1.1.1+15.04.20150219-0ubuntu1 to 1.1.1+15.04.20150427-0ubuntu1
media-hub from 3.1.0+15.04.20150420.1-0ubuntu1 to 3.1.0+15.04.20150427.3-0ubuntu1
nuntium from 1.4-0ubuntu6 to 1.4+15.04.20150422-0ubuntu1
qtdeclarative5-usermetrics0.1 from 1.1.1+15.04.20150219-0ubuntu1 to 1.1.1+15.04.20150427-0ubuntu1
qtubuntu-media from 0.7.1+15.04.20150420.1-0ubuntu1 to 0.7.1+15.04.20150427.2-0ubuntu1
tzdata from 2015c-1 to 2015d-0ubuntu0.15.04
usermetricsservice:armhf from 1.1.1+15.04.20150219-0ubuntu1 to 1.1.1+15.04.20150427-0ubuntu1

I’m not seeing anything particularly relevant here…

Revision history for this message
Olivier Tilloy (osomon) wrote :

I’m seeing that too on an up-to-date vivid desktop (no overlay PPA) + oxide 1.7. When I downgrade to oxide 1.6, the problem goes away. So it looks like the issue was introduced when updating to oxide 1.7. Earlier builds are not available any longer, but I was able to get packages for 1.7.3 from the phablet-team PPA, and the issue is present already.

Changed in oxide:
importance: Undecided → Critical
Revision history for this message
Olivier Tilloy (osomon) wrote :

The issue seems to be with when the capture is requested. Basically what happens today is something like that:

    Connections {
        target: webview
        onVisibleChanged: {
            if (!webview.visible) {
                webview.grabToImage(function(result) { … })
            }
        }
    }

This used to work with oxide 1.6, but with 1.7 the capture happens too late, it seems that when the webview becomes invisible, the corresponding buffer becomes unavailable, and this results in a completely black image.

Changed in webbrowser-app:
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

I’m now seeing captures again on my arale. After discussion with others, some are seeing a few black tabs out of a number of open tabs, so this seems to be racy (even though I can consistently reproduce on my desktop).

Bill Filler (bfiller)
summary: - Black tab previews on devel-proposed
+ Black tab previews on webbrowser sometimes
Changed in canonical-devices-system-image:
milestone: none → ww22-2015
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → High
Olivier Tilloy (osomon)
Changed in webbrowser-app:
assignee: nobody → Olivier Tilloy (osomon)
status: Confirmed → In Progress
Changed in oxide:
status: New → Invalid
Olivier Tilloy (osomon)
Changed in canonical-devices-system-image:
status: New → In Progress
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Released
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.