Bug 11236 - Disabling addins causes GTK menu to be displayed
Summary: Disabling addins causes GTK menu to be displayed
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Shell ()
Version: 4.0.2
Hardware: PC Mac OS
: High normal
Target Milestone: ---
Assignee: Mikayla Hutchinson [MSFT]
: 10962 11665 ()
Depends on:
Reported: 2013-03-18 17:05 UTC by Aaron Bockover [MSFT]
Modified: 2013-05-13 05:22 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Usable GTK main menu (109.88 KB, image/png)
2013-03-18 17:05 UTC, Aaron Bockover [MSFT]

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Aaron Bockover [MSFT] 2013-03-18 17:05:55 UTC
Created attachment 3643 [details]
Usable GTK main menu

Simply disabling any addin from the addin manager causes the standard GTK main menu to display inside XS.
Comment 1 Mikayla Hutchinson [MSFT] 2013-03-19 17:06:35 UTC
*** Bug 10962 has been marked as a duplicate of this bug. ***
Comment 2 Mikayla Hutchinson [MSFT] 2013-04-04 14:21:08 UTC
ERROR [2013-04-04 14:20:33Z]: Could not install global menu
CarbonMenuException: Result=ItemNotFound
  at MonoDevelop.MacInterop.HIToolbox.CheckResult (CarbonMenuStatus result) [0x0000e] in /Users/michael/Mono/monodevelop/main/src/addins/MacPlatform/MacInterop/HIToolbox.cs:231 
  at MonoDevelop.MacInterop.HIToolbox.GetMenuItem (UInt32 commandId) [0x00001] in /Users/michael/Mono/monodevelop/main/src/addins/MacPlatform/MacInterop/HIToolbox.cs:199 
  at MonoDevelop.MacIntegration.MacMainMenu.SetAppMenuItems (MonoDevelop.Components.Commands.CommandManager manager, MonoDevelop.Components.Commands.CommandEntrySet entrySet) [0x00001] in /Users/michael/Mono/monodevelop/main/src/addins/MacPlatform/MacMainMenu.cs:460 
  at MonoDevelop.MacIntegration.MacPlatformService.SetGlobalMenu (MonoDevelop.Components.Commands.CommandManager commandManager, System.String commandMenuAddinPath, System.String appMenuAddinPath) [0x00032] in /Users/michael/Mono/monodevelop/main/src/addins/MacPlatform/MacPlatform.cs:201
Comment 3 Mikayla Hutchinson [MSFT] 2013-04-04 23:02:02 UTC
I have reimplemented the main menus using cocoa to fix this but I'm worried about memory leaks or double release, so I'll test locally for a while.
Comment 4 Mikayla Hutchinson [MSFT] 2013-04-05 17:53:26 UTC
Comment 5 Mikayla Hutchinson [MSFT] 2013-04-09 14:46:52 UTC
*** Bug 11665 has been marked as a duplicate of this bug. ***
Comment 6 Nischal 2013-05-13 05:22:20 UTC
Today we have checked this issue with following builds:

X.S 4.0.5(build4)
Mono 3.0.11 ((no/edc181c)

Now we are not seeing GTK menu inside Xamarin after disabling add-ins from Add-In Manager.

Changing the status of this bug to Verified.