Install/Remove menu items do not reflect the enabled state of corresponding buttons
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
Medium
|
Gary Lasker |
Bug Description
Binary package hint: software-center
software-center version 1.1.21
The Install/Remove menu items do not reflect the enabled state of the corresponding buttons in the list and details view screens, and vice-versa. The enabled status of all menu items and buttons for installing and removing software items should always remain in sync, even while navigating among the different views and when selecting different software items in the list view.
Test case 1:
1. In the "Get Software" view, select "Accessories".
2. Select the "Alarm Clock" row.
3. Click the "Install" button and note that it becomes insensitive, and the authentication dialog is shown.
4. Enter your password in the dialog to begin the installation.
5. While "Alarm Clock" is installing, open the "File" menu item and observe that the "Install" item remains sensitive.
Expected result: The "File->Install" menu item should be insensitive for the duration of the install, and then become sensitive along with the "Remove" (was "Install") button in the list view.
Test case 2:
1. In the "Get Software" view, select "Accessories".
2. Select the "Album Shaper" row.
3. Click the "More Info" button to navigate to the details view.
4. Click the "Install - Free" button and note that it becomes insensitive, and the authentication dialog is shown (note that this may not be shown if you have recently authenticated a previous install/remove).
5. Enter your password in the dialog to begin the installation.
6. While "Album Shaper" is installing, open the "File" menu item and observe that the "Install" item remains sensitive.
Expected result: The "File->Install" menu item should be insensitive for the duration of the install, and at the end of the install the "File->Remove" menu item should become sensitive along with the "Remove" (was "Install - Free") button in the details view.
Test case 3:
1. In the "Get Software" view, select "Accessories".
2. Select the "Alarm Clock" row.
3. Choose menu item "File->Remove" and note that the authentication dialog is shown (note that this may not be shown if you have recently authenticated a previous install/remove).
4. Enter your password in the dialog to begin the installation.
5. While "Alarm Clock" is being removed, open the "File" menu item and observe that the "Remove" item remains sensitive.
6. Observe also that the "Remove" button in the list view also remains sensitive.
Expected result: Both the "File->Remove menu item and the "Remove" button in the list view should become insensitive for the duration of the removal, and at the end of the removal the "File->Install" menu item and the "Install" (was "Remove") button in the list view should become sensitive.
Related branches
Changed in software-center (Ubuntu): | |
assignee: | nobody → Gary Lasker (gary-lasker) |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in software-center (Ubuntu): | |
importance: | Low → Medium |
description: | updated |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
This bug was fixed in the package software-center - 1.1.24
---------------
software-center (1.1.24) lucid; urgency=low
[ Michael Vogt ] view/appview. py: AppDetailsView. html:
* softwarecenter/
- make the applist better accessible by providing a text only
description of the selected item (LP: #455307)
* data/templates/
- make the app details view better accessible with orca/accersier
[ Gary Lasker ] app.py, ter/view/ softwarepane. py, ter/view/ appview. py, ter/view/ appdetailsview. py, ter/backend/ aptd.py: view/appdetails view.py: action_ button( ) if the
* softwarecenter/
softwarecen
softwarecen
softwarecen
softwarecen
- maintain install/remove button sensitivity based on
status of individual rows to restore the ability
to do multiple simultaneous install/removes (LP: #529529)
- keep all install/remove menu items and buttons in
sync (LP: #551417)
- set "Install" button in details view insensitive when
switching to it from the list view during an install
(LP: #541844)
- use correct color for the list view "Install" button
when it is insensitive (LP: #550915)
* softwarecenter/
- don't try to execute enable_
details view page has not yet been loaded (LP: #551419)
-- Michael Vogt <email address hidden> Thu, 01 Apr 2010 11:22:00 +0200