touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #98901
[Bug 1404188] Re: QNetworkSession::isOpen() always returns false
There's now a PPA with a Qt build for vivid+overlay that allows you to
experiment with the option of not using the NM bearer backend but the
generic backend (with very limited functionality compared). With that
you can get "all is fine" even with a click installed / confined
nmsessiontest app. But this does bring the notorious bug #1357321 back.
However, for comparison:
https://launchpad.net/~canonical-qt5-edgers/+archive/ubuntu/qt5-daily
That is:
sudo apt-add-repository ppa:canonical-qt5-edgers/qt5-daily
sudo apt update
sudo vi /etc/apt/preferences.d/silotest.pref
# Add the following content to the file:
Package: *
Pin: release o=LP-PPA-canonical-qt5-edgers-qt5-daily
Pin-Priority: 1002
sudo apt upgrade
The mentioned -no-feature-bearermanagement is a non-standard
configuration parameter that is probably only suitable for specialized
builds, so that can't even be considered for a general Ubuntu build. At
least it broke building various network tests of the default test enable
build: http://is.gd/YGcaY8 http://is.gd/TFSdQ1
--
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/1404188
Title:
QNetworkSession::isOpen() always returns false
Status in Canonical System Image:
Confirmed
Status in apparmor-easyprof-ubuntu package in Ubuntu:
Won't Fix
Status in qtbase-opensource-src package in Ubuntu:
Confirmed
Bug description:
Using QNetworkSession::isOpen() in confined apps on a phone running
vivid always returns false. This might be an apparmor thing, however,
I couldn't find any REJECTED entries in log files.
The test app in lp:~mzanetti/+junk/nmsessiontest can reproduce the
issue. Open this project in ubuntu-sdk's qtcreator and run it on a
vivid device. Press the button and watch the debug prints.
On a vivid-desktop or a RTM based phone it will print "all is well".
On a vivid phone however, it'll print "network session not open..."
This used to work fine at least back in utopic images.
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1404188/+subscriptions
References