onLoadingChanged of WebView component should display that it is deprecated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The loadindChanged signal has been deprecated for over a year,
unfortunately it wasn’t made explicit (by means of a warning printed
out on console) until very recently.
The loadingStateChanged signal should be used instead:
WebView {
onLoadingStat
}
Original bug report:
Please, try the attachment, run with:
qmlscene test.qml
The exit will be:
costales@dev:~
.............
qml: loading value: true
qml: loading value: true
costales@dev:~
There is something wrong, because the onLoadingChanged event (line 5) should be triggered when the page is loaded, then, the "loading" variable should be 'false'.
The bug is that 'loading' is always 'true'.
The problem with this bug is that an aplication (like uNav) can't know
when the webview completed the load.
Thanks in advance!
description: | updated |
summary: |
- onLoadingChanged of WebView component never enter when is loaded + onLoadingChanged of WebView component should display that it is + deprecated |
description: | updated |
loadingChanged is deprecated, you want to use loadingStateCha nged.