Status of interface connections not properly updated in the UI

Bug #1806697 reported by Efthimios Chaskaris on 2018-12-04
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Status tracked in Eoan
Xenial
High
Robert Ancell
Bionic
High
Robert Ancell
Cosmic
High
Robert Ancell
Disco
High
Robert Ancell
Eoan
High
Robert Ancell

Bug Description

Steps to reproduce the problem:
1. Go to the Chromium snap store page by e.g. right clicking on its icon and selecting Show details and then the specific app.
2. Press the Permissions button.
3. Press/slide the Read/write files on removable storage devices slider.
4. Close the permissions and the store window.
5. Reopen the windows.
6. The permission should be enabled, but it isn't.

summary: - Chromium snap Removable storage devices permission fails to enable
+ Chromium snap "Removable storage devices" permission fails to enable

I can observe the problem in an up-to-date cosmic VM. The interface is correctly connected, but gnome-software fails to display the switch in the correct state. Killing gnome-software "fixes" the problem. So it looks like the status of the permissions are cached in the running instance of gnome-software, and not properly updated when changing them from the UI.

affects: chromium-browser (Ubuntu) → gnome-software (Ubuntu)
Changed in gnome-software (Ubuntu):
status: New → Confirmed
summary: - Chromium snap "Removable storage devices" permission fails to enable
+ Status of interface connections not properly updated in the UI

I did, however, manage to change one other permission(the home folder access) before changing the removable drives one. That's why I thought it was specific to the removable drives permission.

Changed in gnome-software (Ubuntu):
assignee: nobody → Robert Ancell (robert-ancell)
tags: added: desktop-trello-import
tags: removed: desktop-trello-import
Changed in gnome-software (Ubuntu):
importance: Undecided → Medium
Emanuele (emanuc) wrote :

I have the same problem: GNOME software does not update the status of the interface.

Ubuntu 19.04

Ubuntu software: ubuntu-software/disco,disco,now 3.30.5-0ubuntu2 all [installato]

Changed in gnome-software (Ubuntu Disco):
status: New → Triaged
Changed in gnome-software (Ubuntu Cosmic):
status: New → Triaged
Changed in gnome-software (Ubuntu Bionic):
status: New → Triaged
Changed in gnome-software (Ubuntu Xenial):
status: New → Triaged
assignee: nobody → Robert Ancell (robert-ancell)
Changed in gnome-software (Ubuntu Bionic):
assignee: nobody → Robert Ancell (robert-ancell)
Changed in gnome-software (Ubuntu Cosmic):
assignee: nobody → Robert Ancell (robert-ancell)
Changed in gnome-software (Ubuntu Disco):
assignee: nobody → Robert Ancell (robert-ancell)
Changed in gnome-software (Ubuntu Eoan):
status: Confirmed → Triaged
Changed in gnome-software (Ubuntu Disco):
importance: Undecided → High
Changed in gnome-software (Ubuntu Cosmic):
importance: Undecided → High
Changed in gnome-software (Ubuntu Bionic):
importance: Undecided → High
Changed in gnome-software (Ubuntu Xenial):
importance: Undecided → High
Changed in gnome-software (Ubuntu Eoan):
importance: Medium → High
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.30.6-2ubuntu8

---------------
gnome-software (3.30.6-2ubuntu8) eoan; urgency=medium

  * debian/patches/0014-Add-a-basic-permissions-system.patch:
    - Fix interface connections not showing correct state (LP: #1806697)

 -- Robert Ancell <email address hidden> Mon, 17 Jun 2019 14:55:38 +1200

Changed in gnome-software (Ubuntu Eoan):
status: Triaged → Fix Released
Sebastien Bacher (seb128) wrote :

Not going to be SRUed to cosmic which is neither nor a LTS nor the current stable version

Changed in gnome-software (Ubuntu Cosmic):
status: Triaged → Won't Fix
Changed in gnome-software (Ubuntu Disco):
status: Triaged → Fix Committed
Changed in gnome-software (Ubuntu Bionic):
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers