Bug 300390

Summary: No warning when cancelling package installation in yast software management
Product: [openSUSE] openSUSE 10.3 Reporter: Tim Lee <timlee>
Component: YaST2Assignee: Michael Meeks <mmeeks>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Beta 1   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Tim Lee 2007-08-14 18:16:41 UTC
* clean install of 10.3 beta1, build 908, default gnome
* start yast2 from root terminal
* select software management from yast window
* in software management entered zoo in search and hit return
* selected zoo package from list of available software and clicked install
* zoo package was added to list of installed software, Note text for zoo entry was in italics.
* closed window by clicking on the x in upper right corner of window.

Now in my opinion a customer might have reasonable expectation that the zoo package was installed at this point. After all the package was in the list of installed software. The fact that the text was in italics is not I think sufficient to indicate that the installation was only pending.

Note this issue occurs when deleting packages. High light a package in the Installed software list and click remove the the package is instantly removed from the Installed Software list. However it is actually not actually removed from the system, and closing the window gives no warning.

Possible solutions:

- At minimum a warning that there are pending transactions when exiting software management.

- make packages with pending transactions more visually distinctive that just italics text; 
 * different back ground color for package in list
 * different fore ground color (grey out text)
 * add text to item stating pending installation/removal

- Add a 3rd list to the UI to display pending transactions instead of just moving package items between Installed and available software lists.
Comment 1 Jiří Suchomel 2007-08-16 07:21:15 UTC
Looks like a problem of GTK package selector...
Comment 2 Michael Meeks 2007-08-26 00:36:33 UTC
fixed with a suitable warning dialog (similar to the Qt solution) in HEAD yast2-gtk, hopefully in the next beta.

Thanks.