Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 438304

Summary: Unity: Handlers @CanExecute not invoked when the main menu is shown
Product: [Eclipse Project] Platform Reporter: Luca Moretto <l.moretto88>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: daniel.kruegler, ericwill
Version: 4.4Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Luca Moretto CLA 2014-06-26 13:17:54 EDT
In Ubuntu 14.04, with Unity, the @CanExecute methods of Handlers associated with main menu's HandledMenuItems are not invoked when the menu is shown. As a consequence, menu items aren't properly enabled or disabled.

If I start my application with "env UBUNTU_MENUPROXY=" (i.e., clearing the UBUNTUY_MENUPROXY variable to force the main menu to be displayed inside the application window and not on the Unity panel), the problem disappears.
Comment 1 Eric Williams CLA 2018-06-29 15:46:54 EDT
Unity only bugs aren't going to be fixed as Ubuntu has dropped Unity as of 18.04.