← Back to team overview

cairo-dock-team team mailing list archive

[Bug 637692] Re: Action for top-level dropdown menu item not activated

 

** Branch linked: lp:ubuntu/maverick/cairo-dock-plug-ins

-- 
You received this bug notification because you are a member of Cairo-
Dock Team, which is subscribed to cairo-dock-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/637692

Title:
  Action for top-level dropdown menu item not activated

Status in Ayatana Ubuntu Love Project:
  In Progress
Status in DBus Menu:
  Fix Released
Status in Indicator Applet:
  Fix Released
Status in The Application Menu:
  Fix Released
Status in Libindicator:
  Fix Released
Status in Shotwell:
  Fix Released
Status in Unity:
  Fix Released
Status in “awn-extras-applets” package in Ubuntu:
  Fix Released
Status in “cairo-dock-plugins” package in Ubuntu:
  Fix Released
Status in “indicator-applet” package in Ubuntu:
  Fix Released
Status in “indicator-application” package in Ubuntu:
  Fix Released
Status in “indicator-appmenu” package in Ubuntu:
  Fix Released
Status in “indicator-datetime” package in Ubuntu:
  Fix Released
Status in “indicator-me” package in Ubuntu:
  Fix Released
Status in “indicator-messages” package in Ubuntu:
  Fix Released
Status in “indicator-network” package in Ubuntu:
  Fix Released
Status in “indicator-session” package in Ubuntu:
  Fix Released
Status in “indicator-sound” package in Ubuntu:
  Fix Released
Status in “libdbusmenu” package in Ubuntu:
  Fix Released
Status in “libindicator” package in Ubuntu:
  Fix Released
Status in “lxpanel” package in Ubuntu:
  Fix Released
Status in “ubiquity” package in Ubuntu:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released
Status in “xfce4-indicator-plugin” package in Ubuntu:
  Fix Released

Bug description:
  Top-level menu items (File, Edit, View, Help, etc.) can have a
  GtkAction associated with them.  The action is activated when the user
  clicks on the menu item to display the dropdown menu.

  Shotwell uses this signal to sensitize menu items depending on program
  state.  (Later we began moving to a pure GtkAction-based system, where
  we sensitize the Action and not the menu Widgets based on changes to
  internal state, but that work is incomplete.)

  Under vanilla GNOME, this works fine today.  Under Unity, the toplevel
  menu action is not fired when the user clicks on the item.  This
  leaves our menu in its initial state no matter what the user does
  (i.e. they select a photo but none of the Photos items are sensitive).

  I've provided a small test program (in Vala 0.9.8) that demonstrates
  this problem.  To compile:

  $ valac test.vala --pkg=gtk+-2.0