[GTK3] "Install" and "Remove" menu items unavailable ('AppView' object has no attribute 'is_action_in_progress_for_selected_app')

Bug #831526 reported by Matthew Paul Thomas on 2011-08-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
High
Kiwinote

Bug Description

software-center-gtk3 trunk r2160, Ubuntu Ocelot

1. Navigate to a software item screen.
2. Open the "File" menu.

What happens:
* Neither the "Install" nor "Remove" items are sensitive.
* A traceback:
------------
Traceback (most recent call last):
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/app.py", line 632, in on_menu_file_activate
    if self.active_pane.app_view.is_action_in_progress_for_selected_app():
AttributeError: 'AppView' object has no attribute 'is_action_in_progress_for_selected_app'
------------

What should happen: "Install" should be sensitive if the item is not installed, being installed, nor queued for installation. "Remove" should be sensitive if the item is installed, and neither being removed nor queued for removal.

Changed in software-center (Ubuntu):
importance: Undecided → High
Kiwinote (kiwinote) wrote :

Fixed in branch linked. (Also fixes issues like the install buttons installing the wrong app etc)

Changed in software-center (Ubuntu):
assignee: nobody → Kiwinote (kiwinote)
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :
Download full text (5.1 KiB)

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

---------------
software-center (4.1.18) oneiric; urgency=low

  [ Michael Vogt ]
  * lp:~alexeftimie/software-center/packagekit-backend:
    - add packagekit backend, thanks Alex Eftimie
    - this allows using "software-center-gtk3 --packagekit-backend"
  * softwarecenter/ui/gtk3/panes/viewswitcher.py:
    - pygi compat fix, Gtk.CheckMenuItem() != Gtk.CheckMenuItem.new()
  * lp:~mvo/software-center/license-key-infrastructure:
    - allow adding license keys during a purchase
  * utils/submit_review_gtk3.py:
    - gtk3 fixes
  * softwarecenter/ui/gtk3/widgets/stars.py:
    - add get_rating() to make the submit_review_gtk3.py work
  * softwarecenter/ui/gtk3/widgets/buttons.py:
    - show correct price in the FeaturedTile (if there is one)
  * softwarecenter/ui/gtk3/widgets/reviews.py:
    - make the reviews UI more network change aware
  * softwarecenter/db/pkginfo_impl/aptcache.py:
    - fix file monitor const issues with gio vs Gio
  * utils/piston-helpers/piston_get_reviews_helper.py:
    - fix offline reviews
  * fix "What's New" category sorting (LP: #830188)
  * add new sort "By Newest First" combobox
  * hide sort combobox for if the category has a forced sort mode
    (like whats new) LP: #830234

  [ Alex Eftimie ]
  * lp:~alexeftimie/software-center/backend-refactor
    - fixes in the abstract channels backend

  [ Matthew McGowan ]
  * lp:~mmcg069/software-center/small-fixes:
    - theming improvements
    - fix up installedpane search to include uncategorised items as well
    - fix up the show-hide technical items in the installedpane
    - fix the description resizing, prevent wierd spazzing
  * lp:~mmcg069/software-center/Bug828223:
    - make feature tiles update the installed state overlay upon
      appropriate aptdaemon transactions
    - add installed ticks to the lobby and subcat tiles (Bug #828223)
  * lp:~mmcg069/software-center/Bug830691:
    - improve visual connection in the details (Bug #830691)
  *lp:~mmcg069/software-center/details-tweaks
   - add the ratings count to the bottom of the stars in the
     detailsview header
  * lp:~mmcg069/software-center/Bug830218
    - remove category as per Bug LP: #830218
  * lp:~mmcg069/software-center/itemview-work:
    - make review list look like mockup

  [ Aaron Peachey ]
  * softwarecenter/ui/gtk3/views/catview_gtk.py:
    - remove 'More' button from sub-category top rated sections
    - increase number of apps in top-rated feature frames from 8 to 12
    - add sub category name into frame header for subcategory toprated
     (LP: #830272)
  * softwarecenter/ui/gtk3/views/catview_gtk.py:
    - provide standard method for adding tiles to Flowable grid to
      simplify repeated append code (and DRY)
  * lp:~aaronp/software-center/gtk3-bugs:
    - fix size request, make nr-reviews in the featured buttons
      consistent with the applist

  [ Kiwinote ]
  * data/ui/gtk3/SoftwareCenter.ui,
    softwarecenter/ui/gtk3/app.py:
    - set back/forward menuitems sensitive at the correct times (LP: #830194)
  * softwarecenter/backend/aptchannels.py,
    softwarecenter/backend/channel.py:
    - don't include an 'all availab...

Read more...

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