Install/Remove menu items do not reflect the enabled state of corresponding buttons

Bug #551417 reported by Gary Lasker on 2010-03-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
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.

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
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 1.1.24

---------------
software-center (1.1.24) lucid; urgency=low

  [ Michael Vogt ]
  * softwarecenter/view/appview.py:
    - make the applist better accessible by providing a text only
      description of the selected item (LP: #455307)
  * data/templates/AppDetailsView.html:
    - make the app details view better accessible with orca/accersier

  [ Gary Lasker ]
  * softwarecenter/app.py,
    softwarecenter/view/softwarepane.py,
    softwarecenter/view/appview.py,
    softwarecenter/view/appdetailsview.py,
    softwarecenter/backend/aptd.py:
    - 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/view/appdetailsview.py:
    - don't try to execute enable_action_button() if the
      details view page has not yet been loaded (LP: #551419)
 -- Michael Vogt <email address hidden> Thu, 01 Apr 2010 11:22:00 +0200

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers