Network status detection in Qt 5.6 is unreliable when the system is
switching between wifi and mobile data. That results in
QNetworkAccessManager sometimes thinking that network access is disabled
when in fact the device is online. At some point I attempted to fix it
(https://git.merproject.org/mer-core/qtbase/commit/8122f32a) however
that only eliminated one particular scenario of failure and reduced the
probability. But it's still happening. As I understood it's a random
thing (race condition) triggered by two connman services changing their
status more or less simultaneously.
Jolla's Weather app also uses XmlListModel and suffers from the same issue.
Nobody at Jolla is actively working on it at the moment, our resources
are limited these days. If somebody has an idea how to fix it, feel free
to submit a pull request against mer-5.6 branch
(https://git.merproject.org/mer-core/qtbase/commits/mer-5.6).
Best regards,
-Slava
Hi,
The same happens in my Rush hour app available in OpenRepos. My only connection
to network is via QtQuick.XmlListModel 2.0. I am using Jolla C and the latest
Iijoki 2.1.0.11
https://github.com/Rikujolla/trafficviewer/issues/2
Best regards, Riku
Sebastian Wolf kirjoitti sunnuntai 23. huhtikuuta 2017:
Hi colleagues,
some users of my application Piepmatz are reporting network issues when their
device network connection changes from WiFi to Cellular and vice versa. I
couldn't reproduce it so far with my FP2 on 2.0.5. As I'm only using standard Qt
Network classes to access the internet and no own network detection and
especially that not only my application is affected, it could possibly be
something in 2.1 itself. For some details see GitHub issue
https://github.com/Wunderfitz/harbour-piepmatz/issues/11
Didn't find anything with a quick search on together.jolla.com, so does somebody
of you know something about such an issue?
Thanks for any hints and best regards, Sebastia
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org