The test app I wrote that downloads big file:
https://code.launchpad.net/~lorn-potter/+git/test-servicenetwork
Of course, this runs from commandline so is uncontained.

Steps to reproduce:
Landing for testing:
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-060

* open system settings->update
* when there is a larger update available, start the download.
* turn off wifi or walk from wifi zone

Known issues:

1. Euronews, Engadget and Today scope to not ever see network
2. Occasionally update check will hang when changing network device(wifi -> 3g)
3. Occasionally update download will not resume properly when network change.

I am fairly certain that #1 can only be fixed by moving QtBearer plugin
to connectivity-api, although I do not see any apparmor denials in the
log, with this change it makes QNetworkRequest require a
QNetworkSession, which in turn I believe fails as the known and
unfixable QtNetwork network-manager backend issues with apparmor. I am
assuming that scopes run in contained space, because other commandline
based tests with QtNetworking access work, but Click apps that use
QtNetworking fail similarly.

#2 and #3 most likely will continue to occur as I believe they are
timing issues with the actual network process and the linux networking
subsystem does not migrate the actual data/sockets and behave like the
Symbian networking backend (which this feature was originally written
for) to have seamless network transitions/migration.

-- 
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/1558840

Title:
  Update downloads hang when connection changes

Status in Canonical System Image:
  In Progress
Status in qtbase-opensource-src package in Ubuntu:
  In Progress

Bug description:
  Downloads that use QNetworkRequest will seemingly hang when the
  connection changes from mobile data to wifi and vice versa.

  It would be nice if they would resume when the connection switch is
  completed.

  This requires changes in the bearer backend to enable forced  session
  roaming, as well as some changes in QNAM.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1558840/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to