A simple (simplistic) workaround consists in delaying the switch between
one webview and the other. Something like that (for two webviews):
Item {
WebView {
anchors.fill: parent
visible: (current == 0) || (next == 0)
z: (current == 0) ? 1 : 0
}
WebView {
anchors.fill: parent
visible: (current == 1) || (next == 1)
z: (current == 1) ? 1 : 0
}
property int current: 0
property int next: -1
Timer {
id: switchTimer
interval: 100
onTriggered: {
current = next
next = -1
}
}
onSwitchWebviewRequested: {
next = (current + 1) % 2
switchTimer.restart()
}
}
This is only a workaround though, fixing the root issue in oxide would
be preferable of course. Until then, I’ll see if I can implement that
workaround in the browser.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1502675
Title:
Webview turns black for a fraction of a second when it’s unhidden
Status in Oxide:
Confirmed
Status in webbrowser-app package in Ubuntu:
Invalid
Bug description:
When taking an Action, for example pop a Page (e.g. Settings in webbrowser
app) the webview turns black for part of a second.
If there is more content in a website or javascript running, this effect can
last for up to a second.
Is that a known problem?
To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1502675/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp