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.
The issue seems to be with when the capture is requested. Basically what happens today is something like that:
Connections {
onVisibleChang ed: {
webview. grabToImage( function( result) { … })
target: webview
if (!webview.visible) {
}
}
}
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.