Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-05-05 Thread Tone Kastlunger
Okay; there has been a rewrite for bearer plugin, has that helped in any way? On Wed, May 3, 2017 at 2:46 AM, Lorn Potter wrote: > > > On 01/05/17 19:16, Slava Monich wrote: > > Basically, QNetworkAccessManager is sometimes stuck in NotAccessible > > state after switching from mobile data to wif

Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-05-02 Thread Lorn Potter
On 01/05/17 19:16, Slava Monich wrote: > Basically, QNetworkAccessManager is sometimes stuck in NotAccessible > state after switching from mobile data to wifi. > My theory was that > configurationChanged, onlineStateChanged and networkSessionStateChanged > (queued) signals from the past were get

Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-05-02 Thread Lorn Potter
On Monday, May 1, 2017 7:16:34 PM AEST Slava Monich wrote: > but that didn't quite fix it. It does eliminate one scenario (described in > the merge request) but there must be something else there. The whole > connman bearer plugin thing looks generally prone to race conditions, I > would've done it

Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-05-01 Thread Slava Monich
Here, I copied the most interesting parts from the bug: Basically, QNetworkAccessManager is sometimes stuck in NotAccessible state after switching from mobile data to wifi. Among other things, it makes QNetworkAccessManager::get () to fail with QDisabledNetworkReply which breaks XmlListModel

Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-04-30 Thread Tone Kastlunger
Thanks for the quick reply; I was actually hoping to collect some more background intel on this issue. On Sun, Apr 30, 2017 at 10:56 PM, Slava Monich wrote: > Unfortunately, no, it's an internal bug. If you would like to be notified > via email about a potential fix, you could watch qtbase pull

Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-04-30 Thread Slava Monich
Unfortunately, no, it's an internal bug. If you would like to be notified via email about a potential fix, you could watch qtbase pull requests - those are quite rare, it shouldn't be too much of a spam. Cheers, -Slava Hi Slava; is there a MER bug for this? tortoisedoc On Sun, Apr 23, 2017

Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-04-30 Thread Tone Kastlunger
Hi Slava; is there a MER bug for this? tortoisedoc On Sun, Apr 23, 2017 at 11:33 AM, Slava Monich wrote: > 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

Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-04-23 Thread Riku
Thans for an answer! There is thread in TJC so if you can answer that thread it would be nice. https://together.jolla.com/question/157865/apps-loose-connection-when-phone-switches-from-wifi-to-mobile-network/ Riku Slava Monich kirjoitti sunnuntai 23. huhtikuuta 2017: > Network status detection

Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-04-23 Thread Sebastian Wolf
Hi Slava, hi colleagues, > Slava Monich hat am 23. April 2017 um 10:33 > geschrieben: > > > 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 > w

Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-04-23 Thread Slava Monich
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

Re: [SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-04-23 Thread Riku
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. huh

[SailfishDevel] Qt Network: "Network access is disabled" after network change

2017-04-22 Thread Sebastian Wolf
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