Bug 488781

Summary: Local file installation dialog
Product: [Fedora] Fedora Reporter: Michael Monreal <michael.monreal>
Component: gnome-packagekitAssignee: Richard Hughes <richard>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: iarlyy, jmccann, lmacken, rhughes, richard, robin.norwood, tuxbrewr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-23 10:24:38 UTC Type: ---
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
Screenshot none

Description Michael Monreal 2009-03-05 18:13:49 UTC
If you invoke PK on some local rpms, PK will ask you if you want to install those files. However, the dialog window looks bad as it displays something like

---
- /path/to/your/local/
rpms/myrpm1.rpm
- /path/to/your/local/
rpms/myrpm2.rpm
- /path/to/your/local/
rpms/myrpm3.rpm
---

I think PK does not need to display this information. Take a look at the window you get when you "permanently delete" files from the trash:

---
Are you sure you want to permanently delete the 2 selected items from the trash?

If you delete an item, it will be permanently lost.
---

Similarly, PK could just ask "Are you sure you want to install the selected n files?"

If you think showing the file names is important I would at least not show the paths, or 

---
myrpm1.rpm
myrpm2.rpm
myrpm3.rpm

from /path/to/your/local/rpms/
---

Comment 1 Michael Monreal 2009-03-05 18:14:34 UTC
Created attachment 334171 [details]
Screenshot

Comment 2 Richard Hughes 2009-06-03 09:04:55 UTC
You could have more files than one path, so this would be difficult to do in a UI. The only reason we show the full path is that we have to be very careful about what we are asking the user to install. Maybe "the selected" is good enough.

Comment 3 Bug Zapper 2009-06-09 11:55:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Richard Hughes 2010-03-23 10:24:38 UTC
I think it's important we show the full path to not trick the user to installing something insecure.