Status of interface connections not properly updated in the UI

Bug #1806697 reported by Efthimios Chaskaris
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Fix Released
High
Robert Ancell
Xenial
Fix Released
High
Robert Ancell
Bionic
Fix Released
High
Robert Ancell
Cosmic
Won't Fix
High
Robert Ancell
Disco
Fix Released
High
Robert Ancell
Eoan
Fix Released
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
Revision history for this message
Olivier Tilloy (osomon) wrote : Re: 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
Revision history for this message
Will Cooke (willcooke) wrote : Automatically added comment
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
Revision history for this message
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
Revision history for this message
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
Revision history for this message
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
Changed in gnome-software (Ubuntu Xenial):
status: Triaged → Fix Committed
Revision history for this message
Efthimios Chaskaris (echaskaris) wrote :

Fix release for disco when?

Revision history for this message
Robert Ancell (robert-ancell) wrote :

It's uploaded and has to go through the Stable Release Update process which normally takes a couple of weeks to complete.

Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Efthimios, or anyone else affected,

Accepted gnome-software into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-software/3.30.6-2ubuntu4.19.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-disco
Revision history for this message
Chris Halse Rogers (raof) wrote :

Hello Efthimios, or anyone else affected,

Accepted gnome-software into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-software/3.28.1-0ubuntu4.18.04.12 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed-bionic
Revision history for this message
Efthimios Chaskaris (echaskaris) wrote :

It works, disco

gnome-software:
  Installed: 3.30.6-2ubuntu4.19.04.2
  Candidate: 3.30.6-2ubuntu4.19.04.2

tags: added: verification-done-disco
removed: verification-needed-disco
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Confirmed in bionic that gnome-software 3.28.1-0ubuntu4.18.04.12 toggling the permissions on the chromium snap keeps correct state.

tags: added: verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gnome-software has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.30.6-2ubuntu4.19.04.2

---------------
gnome-software (3.30.6-2ubuntu4.19.04.2) disco; urgency=medium

  * debian/control:
    - Set git branch for vcs
    - Bump build-depends on snapd-glib
  * debian/patches/0001-snap-Update-Snap-store-category-mapping.patch:
    - Update snap store categories (LP: #1836826)
  * debian/patches/0014-Add-a-basic-permissions-system.patch:
    - Fix interface connections not showing correct state (LP: #1806697)
  * debian/patches/0016-snap-Use-default-icon-if-none-provided.patch:
    - Update default snap icon (LP: #1818920)
  * debian/patches/0028-Added-u2f-devices-to-interfaces-UI.patch
    - Merged into 0014-Add-a-basic-permissions-system.patch

 -- Robert Ancell <email address hidden> Mon, 16 Sep 2019 14:35:59 +0200

Changed in gnome-software (Ubuntu Disco):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.28.1-0ubuntu4.18.04.12

---------------
gnome-software (3.28.1-0ubuntu4.18.04.12) bionic; urgency=medium

  * debian/patches/0001-Fix-apps-that-were-previously-uninstalled-from-not-s.patch:
    - Fix apps that are reinstalled from disappearing from installed page
      (LP: #1742997)

gnome-software (3.28.1-0ubuntu4.18.04.11) bionic; urgency=medium

  * debian/patches/0031-shell-Don-t-progate-CTRL-F-key-pressed-event.patch:
    - Fix Ctrl-F not opening search bar (LP: #1735071)
  * debian/patches/0014-Add-a-basic-permissions-system.patch:
    - Fix interface connections not showing correct state (LP: #1806697)
  * debian/patches/0017-snap-Use-default-icon-if-none-provided.patch:
    - Update default snap icon (LP: #1818920)
  * debian/patches/0032-snap-Update-Snap-store-category-mapping.patch:
    - Update snap store categories (LP: #1836826)

 -- Robert Ancell <email address hidden> Tue, 17 Sep 2019 09:49:03 +0200

Changed in gnome-software (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Efthimios, or anyone else affected,

Accepted gnome-software into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-software/3.20.5-0ubuntu0.16.04.13 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-xenial
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Confirmed in xenial that gnome-software 3.20.5-0ubuntu0.16.04.13 toggling the permissions on the chromium snap keeps correct state.

tags: added: verification-done-xenial
removed: verification-needed verification-needed-xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.20.5-0ubuntu0.16.04.13

---------------
gnome-software (3.20.5-0ubuntu0.16.04.13) xenial; urgency=medium

  * debian/patches/0020-Add-a-basic-permissions-system.patch:
  * debian/patches/0021-Add-a-Snap-plugin.patch:
    - Fix interface connections not showing correct state (LP: #1806697)
    - Use new banner format (LP: #1844799)

 -- Robert Ancell <email address hidden> Fri, 15 Nov 2019 14:24:45 +1300

Changed in gnome-software (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.