Bug 1438531

Summary: after successful flatpak installation, double clicking flatpakref gnome-software presents an install button
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: gnome-softwareAssignee: Richard Hughes <rhughes>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: klember, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-04 15:09:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
gs verbose log none

Description Chris Murphy 2017-04-03 16:34:48 UTC
Description of problem:

Following a successful installation of a flatpak using a flatpakref file and gnome-software; double clicking the same flatpakref file causes gnome-software to present an Install button as if it's not already installed.

Version-Release number of selected component (if applicable):
gnome-software-3.24.0-1.fc26.x86_64
PackageKit-1.1.5-4.fc26.x86_64


How reproducible:
Always, in normal operation. If I killall gnome-software and then double click the flatpakref, gnome software comes up with Launch and Remove buttons as expected. If I then quit software only via the GUI, then double click the flatpakref file, again I get an Install button.


Steps to Reproduce:
1. Install a flatpak by double clicking a flatpakref file
2. Following successful installation, repeat 1


Actual results:

I see an Install button.

Expected results:

I should see Launch + Remove buttons.


Additional info:

In the log

16:24:07:0643
double click on *.flatpakref and gnome-software shows what I expect: launch and remove buttons. Now quit gnome-software from the GUI only.

16:26:03:0952 
double click on the same *.flatpakref file and gnome-software shows an Install button.

Comment 1 Chris Murphy 2017-04-03 16:35:46 UTC
Created attachment 1268445 [details]
gs verbose log

Comment 2 Richard Hughes 2017-04-04 15:09:13 UTC
Weirdly, this is actually the same as the other bug.

*** This bug has been marked as a duplicate of bug 1438528 ***