http://bugzilla.opensuse.org/show_bug.cgi?id=1103678
http://bugzilla.opensuse.org/show_bug.cgi?id=1103678#c1
Antonio Larrosa changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |IN_PROGRESS
CC| |alarrosa@suse.com
Assignee|opensuse-kde-bugs@opensuse. |alarrosa@suse.com
|org |
--- Comment #1 from Antonio Larrosa ---
This was more complex than expected...
The fix for this is composed of several fixes in different packages:
* glib2
glib2 was handling an UNKNOWN connectivity state from NetworkManager as if
there was a connection thus giving false positives which was making PackageKit
think the network was online and it was trying to refresh the cache (and
showing the network failures to the user). I submitted the fix for this to
upstream at https://gitlab.gnome.org/GNOME/glib/merge_requests/719 and was
already approved.
* NetworkManager
The latest NetworkManager reports a LIMITED global connectivity in a laptop
that doesn't have any network active. I reported this at
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/138 with a
proposal for an idea of a fix. It's currently being discussed there.
* PackageKit-Qt
When PackageKit is configured with a ShutdownTimeout value (in
/etc/PackageKit/PackageKit.conf), PackageKit is stopped after that time passes,
and so, it cannot notify PackageKit-Qt when the network changes its state
between being offline/online (because PackageKit, for some reason has a dbus
signal to notify of network state changes). As a result, PackageKit-Qt never
notifies the plasma applet that the network state has changed, and so, the
applet cannot react to that. I submitted the fix for this at
https://github.com/hughsie/PackageKit-Qt/pull/30 by making PackageKit-Qt
connect to the NetworkManager dbus signal and react to that.
* plasma5-pk-update
The plasma applet needs some cosmetic changes so messages are changed
appropriately reacting to network changes and some widgets are hidden when the
network is offline. Also, when the applet is started, a check for updates is
currently done. I changed this so that if the network is offline, all checks
for updates are delayed until the network is online. This prevents network
failure notifications to be shown to the user unnecessarily.
I submitted these fixes upstream at https://phabricator.kde.org/D19862 .
--
You are receiving this mail because:
You are on the CC list for the bug.