← Back to team overview

desktop-packages team mailing list archive

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

 

Public bug reported:

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.

** Affects: software-center (Ubuntu)
     Importance: High
         Status: New

** Changed in: software-center (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/831526

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

Status in “software-center” package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/831526/+subscriptions


Follow ups

References