Buttons in the action bar appear as links instead of as buttons

Bug #635062 reported by Matthew Paul Thomas on 2010-09-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Low
Gary Lasker

Bug Description

Ubuntu Software Center 3.1.24, Ubuntu Natty

NOTE: Custom lists are currently broken, see bug 712903. For an alternate way to reproduce this bug, use the "Add to Launcher" feature as shown. Note that you must be running Unity for this feature to be activated:

1. In the lobby screen, click on "Games" and then "Card Games".
2. Click on a row for a game that you have not yes installed (say, "Hearts:), and choose "More Info" to view the details view for the application.
3. Click the "Install" button. The "Add to Launcher" panel will be displayed at the bottom of the screen.

What happens: An action bar appears offering to "Add to Launcher" or "Not Now". These choices appear as links.
What should happen: These choices should appear as buttons.

From the original description, to reproduce using custom lists:

1. From "Get Software", search for "gobby,gnome-orca,9base" (without quotes).

What happens: An action bar appears at the bottom of the main pane, with a link something like "Install 1 Item" or "Install 2 Items".
What should happen: The link should be a button. <https://wiki.ubuntu.com/SoftwareCenter#custom-list>

I guess there should be generic action bar code that is responsible for drawing both the "Show/Hide N technical items" bar in normal software lists, and the "Install N Items" bar in custom lists. This code should be responsible for ensuring, for example, that the bar has a consistent bevel and border (bug 644454) (and, in future, that it slides in and out of the main pane in the same way for technical item disclosure as it does for custom lists). But what kind of elements the bar contains should be specific to each use.

Changed in software-center (Ubuntu):
importance: Undecided → Low
description: updated
Changed in software-center (Ubuntu):
assignee: nobody → Gary Lasker (gary-lasker)
Changed in software-center (Ubuntu):
status: New → In Progress
summary: - "Install N Item(s)" for custom list appears as a link instead of a
- button
+ Buttons in the action bar appear as links instead of as buttons
Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
description: updated
Gary Lasker (gary-lasker) wrote :

Attaching a screenshot showing the updated action bar with buttons replacing the previous links.

Launchpad Janitor (janitor) wrote :

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

---------------
software-center (3.1.24.1) natty; urgency=low

  [ Michael Vogt ]
  * softwarecenter/db/database.py:
    - return empty dict instead of None if axi is not installed
      (LP: #740372)

  [ Gary Lasker ]
  * softwarecenter/view/softwarepane.py,
    softwarecenter/view/widgets/actionbar.py:
    - visual improvements for the action bar (LP: #644454)
    - display buttons in the action bar as gtk buttons
      rather than as links (LP: #635062)
 -- Michael Vogt <email address hidden> Wed, 23 Mar 2011 21:00:39 +0100

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