Bug 363785 - Package installed is proposed for installation
Summary: Package installed is proposed for installation
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: PackageKit (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-01 09:33 UTC by Christophe Caillet
Modified: 2016-09-14 10:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Caillet 2016-06-01 09:33:58 UTC
After a fresh installation of Neon I've the package firefox already installed on the system but with Discover I'm able to install Firefox

Reproducible: Always

Steps to Reproduce:
1.Launch Discover on a fresh Neon install
2.See the Firefox app which is already installed on the system
3.You are now able to install it via Discover because for discover Firefox is not installed


Expected Results:  
Firefox is already installed so the button for Firefox should be "Remove" and not "Install"
Comment 1 Jonathan Riddell 2016-06-01 11:58:06 UTC
I confirm.  This doesn't happen with other stuff I looked at e.g. konsole
Comment 2 Aleix Pol 2016-06-01 16:01:00 UTC
Git commit de1edb307f4d74872eb797fd8ab4fe8ac13f3421 by Aleix Pol.
Committed on 01/06/2016 at 15:59.
Pushed by apol into branch 'master'.

Don't let resources be installed until their state is valid

M  +1    -1    discover/qml/InstallApplicationButton.qml
M  +1    -1    libdiscover/declarative/DiscoverDeclarativePlugin.cpp

http://commits.kde.org/discover/de1edb307f4d74872eb797fd8ab4fe8ac13f3421