Invalid reporting of snap install state in store view

Bug #1633189 reported by Alexandre Abreu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapweb
Fix Released
Medium
Alexandre Abreu

Bug Description

The store view lists the snaps that are found in the store. This list can intersect with the list of installed snaps but the former does not properly report the installed state for the snap (in the case where the snap is already installed).

Changed in snapweb:
assignee: nobody → Alexandre Abreu (abreu-alexandre)
status: New → Confirmed
Revision history for this message
Jamie Bennett (jamiebennett) wrote :

I see snaps that are already install in the Store view have a "Remove" button rather than an "Install" button. What behaviour do you expect?

Revision history for this message
Alexandre Abreu (abreu-alexandre) wrote :

I dont see that on my side ... I see all having an 'install' button ...

Revision history for this message
Alexandre Abreu (abreu-alexandre) wrote :

@Jamie: are you running snapweb locally on a desktop host?

Revision history for this message
Jamie Bennett (jamiebennett) wrote : Re: [Bug 1633189] Re: Invalid reporting of snap install state in store view

Yes. Ubuntu 16.04 on a laptop with SnapWeb installed locally.

On Fri, Oct 14, 2016 at 4:01 PM, Alexandre Abreu
<email address hidden> wrote:
> @Jamie: are you running snapweb locally on a desktop host?
>
> --
> You received this bug notification because you are a member of Snappy
> Developers, which is subscribed to snapweb.
> https://bugs.launchpad.net/bugs/1633189
>
> Title:
> Invalid reporting of snap install state in store view
>
> Status in snapweb:
> Confirmed
>
> Bug description:
> The store view lists the snaps that are found in the store. This list
> can intersect with the list of installed snaps but the former does not
> properly report the installed state for the snap (in the case where
> the snap is already installed).
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/snapweb/+bug/1633189/+subscriptions

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I see the same; the store view displays install, the preview for installed apps shows Remove or Installed. I also see broken icons in the store view once a snap is installed.

Revision history for this message
Alexandre Abreu (abreu-alexandre) wrote :

@Pat: same for me,

I have a fix (in a github branch) but I'd like to see what happens in Jamie's case,

The broken icon issue I see it too, I have to think of a fix (I see the cause) & review the way they are currently managed (in a bit of an error prone way)

Revision history for this message
Alexandre Abreu (abreu-alexandre) wrote :

The PR for (It marked as pending)

https://github.com/snapcore/snapweb/pull/81

Changed in snapweb:
status: Confirmed → Fix Released
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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