Menu items not insensitive/disabled after application start

Bug #603479 reported by Hernando Torque
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppMenu GTK+
Fix Released
Medium
Cody Russell
indicator-appmenu (Ubuntu)
Invalid
Medium
Unassigned
software-center (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

In software-center some items in the "Edit" menu are enabled when they are not in the original menu. Once I've opened that menu in the original menu bar, the global menu gets updated and everything seems fine. In shotwell you can see that problem in every menu but "Help".

indicator-appmenu:
  Installed: 0.0.8-0ubuntu1
appmenu-gtk:
  Installed: 0.1.1-0ubuntu1

Related branches

Omer Akram (om26er)
Changed in indicator-appmenu:
status: New → Confirmed
Revision history for this message
David Barth (dbarth) wrote :

Hmm, can you be a bit more specific about the menu entries that should be enabled (or disabled). I can really reproduce the issue here with the same versions.

Revision history for this message
David Barth (dbarth) wrote :

*can't* really reproduce the issue, sorry.

Revision history for this message
Omer Akram (om26er) wrote :
Revision history for this message
Omer Akram (om26er) wrote :

also occurs in software center

Revision history for this message
David Barth (dbarth) wrote :

Ok, cool. seb128 also came to show me the bug. Now I do confirm i saw it ;)

Cody: here is how you can spot the issue with shotwell:
1. start the application with: APPMENU_DISPLAY_BOTH=1 shotwell
2. Open the 'Events' menu *on the panel*: notice that the 'New events' entry is enabled
3. Open the 'Events' menu *within the application window*: notice that the 'New events' entry is *disabled*
4. Open the 'Events' menu *on the panel*: notice that the 'New events' entry is now disabled

Changed in indicator-appmenu:
assignee: nobody → Cody Russell (bratsche)
importance: Undecided → Medium
milestone: none → maverick-alpha-3
Revision history for this message
Hernando Torque (htorque) wrote :

Sorry for keeping the details to myself. Thanks for the clips, Omer!

Revision history for this message
Kiwinote (kiwinote) wrote :

Just added a s-c task for tracking.

Omer Akram (om26er)
Changed in indicator-appmenu (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
David Barth (dbarth)
Changed in indicator-appmenu:
milestone: maverick-alpha-3 → ubuntu-10.10-beta
Revision history for this message
Andrew (and471) wrote :

If it helps, in software-center, we set the menuitems to be sensitive/insensitive when the toplevel menuitem is activated.

So in:
on_menuitem_edit_activate()
we check a few things and then:
menuitem_copy.set_sensitive()
based on these checks.

Is it maybe that appmenu isn't sending out these activate signals? Or that it is dynamically updating the sensitivity of the items? If you need some more info on how SC's menus are working, please don't hesitate to post a reply.

Cody Russell (bratsche)
Changed in indicator-appmenu:
status: Confirmed → In Progress
Cody Russell (bratsche)
affects: indicator-appmenu → appmenu-gtk
Changed in appmenu-gtk:
milestone: ubuntu-10.10-beta → none
Changed in indicator-appmenu (Ubuntu):
status: Triaged → Invalid
Changed in appmenu-gtk:
status: In Progress → Fix Released
Changed in software-center (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.