Comment 5 for bug 1452998

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: Black tab previews on devel-proposed

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.