<div dir="ltr"><div><div>Hi Slava;<br></div>is there a MER bug for this?<br><br></div>tortoisedoc<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 23, 2017 at 11:33 AM, Slava Monich <span dir="ltr"><<a href="mailto:slava.monich@jolla.com" target="_blank">slava.monich@jolla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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 (<a href="https://git.merproject.org/mer-core/qtbase/commit/8122f32a" rel="noreferrer" target="_blank">https://git.merproject.org/me<wbr>r-core/qtbase/commit/8122f32a</a>) 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.<br>
<br>
Jolla's Weather app also uses XmlListModel and suffers from the same issue.<br>
<br>
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 (<a href="https://git.merproject.org/mer-core/qtbase/commits/mer-5.6" rel="noreferrer" target="_blank">https://git.merproject.org/me<wbr>r-core/qtbase/commits/mer-5.6</a>)<wbr>.<br>
<br>
Best regards,<br>
-Slava<span class="im HOEnZb"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
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<br>
<br>
<a href="https://github.com/Rikujolla/trafficviewer/issues/2" rel="noreferrer" target="_blank">https://github.com/Rikujolla/t<wbr>rafficviewer/issues/2</a><br>
<br>
Best regards, Riku<br>
<br>
Sebastian Wolf kirjoitti sunnuntai 23. huhtikuuta 2017:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi colleagues,<br>
some users of my application Piepmatz are reporting network issues when their<br>
device network connection changes from WiFi to Cellular and vice versa. I<br>
couldn't reproduce it so far with my FP2 on 2.0.5. As I'm only using standard Qt<br>
Network classes to access the internet and no own network detection and<br>
especially that not only my application is affected, it could possibly be<br>
something in 2.1 itself. For some details see GitHub issue<br>
<a href="https://github.com/Wunderfitz/harbour-piepmatz/issues/11" rel="noreferrer" target="_blank">https://github.com/Wunderfitz/<wbr>harbour-piepmatz/issues/11</a><br>
Didn't find anything with a quick search on <a href="http://together.jolla.com" rel="noreferrer" target="_blank">together.jolla.com</a>, so does somebody<br>
of you know something about such an issue?<br>
Thanks for any hints and best regards, Sebastia<br>
</blockquote></blockquote>
<br></span><div class="HOEnZb"><div class="h5">
______________________________<wbr>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfi<wbr>shos.org</a></div></div></blockquote></div><br></div>