Bug 567135 - gpk-update-viewer displays poor error dialog
Summary: gpk-update-viewer displays poor error dialog
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-packagekit
Version: 12
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-21 20:33 UTC by Chris Tyler
Modified: 2010-03-23 10:13 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-03-23 10:13:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Cannot cancel running task: Cancel or Quit? (79.68 KB, image/png)
2010-02-21 20:33 UTC, Chris Tyler
no flags Details

Description Chris Tyler 2010-02-21 20:33:44 UTC
Created attachment 395388 [details]
Cannot cancel running task: Cancel or Quit?

Description of problem:
- gpk-update-viewer sometimes presents a cancel dialog that is incomprehensible.

Version-Release number of selected component (if applicable):
- gnome-packaqekit-2.28.3-0.1.20091211git.fc12.i686

How reproducible:
- Click on window manager's close button while gpk-update-viewer is updating - some of this time an error dialog is display (other times the window closes without any message).
  
Actual results:
- Text of the error dialog reads "<b>Cannot cancel running task.</b><br />There are tasks that cannot be cancelled." -- however, the two buttons on that dialog are labeled "Cancel" (?!) and "Quit" (?!).
- This makes no sense because the user did not specify that an operation should be cancelled, and if cancelling is truly impossible, then neither of the buttons should be pressed.

Expected results:
- No error dialog should be presented -- the update should continue in the background as it would if you started it with "pkcon update --nowait"
- If an error dialog is presented, it should included button labels that make some sense.

Comment 1 Richard Hughes 2010-03-23 10:13:39 UTC
We've fixed this crazy dialog in F13. Thanks.


Note You need to log in before you can comment on or make changes to this bug.