← Back to team overview

touch-packages team mailing list archive

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

 

Just to update on this, the new patch to use generic plugin by default
(which many tests assume) and only disable it via environment variable
made it possible to keep tests enabled. The last upstream commit related
to fixing this bug was also merged to Qt 5.5. Silo 032 is updated for
the backports to Qt 5.4.1.

I was not able to find out what to do about the weather app's newly
gained network access problem, but if you want to help please try out
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-032/
on vivid-overlay (rc-proposed channel). You need to add
"QT_EXCLUDE_GENERIC_BEARER=1" to /etc/environment for proper testing
(this would be automatically included in ubuntu-touch-session scripts if
this would be shipped).

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1470700

Title:
  QNetworkAccessManager hangs when in flight mode

Status in qtbase-opensource-src package in Ubuntu:
  Confirmed
Status in thumbnailer package in Ubuntu:
  Triaged

Bug description:
  When my phone is in flight mode, HTTP requests made using
  QNetworkAccessManager seem to hang rather than erroring out
  immediately.

  From my tests, it looks like the HTTP request is blocked until the
  flight mode is disabled and a network connection is reestablished.
  This is contrary to the documentation, which states:

  """If the network is not accessible the network access manager will
  not process any new network requests, all such requests will fail with
  an error. Requests with URLs with the file:// scheme will still be
  processed."""

  http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible-
  prop

  By running strace on my test program, it doesn't even look like it
  attempts to open a TCP connection when blocked in flight mode.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions


References