Bug 16237 - Context menu (right click) at Solution level fails to provide selectable menu
Summary: Context menu (right click) at Solution level fails to provide selectable menu
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 4.2.x
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: 5.1
Assignee: Cody Russell
: 17404 ()
Depends on:
Reported: 2013-11-14 14:26 UTC by Stephen Rawlins
Modified: 2014-06-30 09:20 UTC (History)
6 users (show)

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

This context menu is not selectable; menu items do not appear active when hovering (45.99 KB, image/png)
2013-11-14 14:26 UTC, Stephen Rawlins

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 Stephen Rawlins 2013-11-14 14:26:50 UTC
Created attachment 5432 [details]
This context menu is not selectable; menu items do not appear active when hovering

When I right click the top-most (Solution) item in the Solution Explorer, the context menu appears but nothing inside it can be selected.  Nothing is highlighted when hovering over the items in the menu.

My workaround is to using the little gear pulldown.  Another workaround is to keep trying, with pauses in-between tries (because sometimes the context-menu is rendered correctly with selectable items).
Comment 1 Cody Russell 2013-11-18 12:35:37 UTC
I'm not sure what to do with this one.  I tested on my dev machine, and installed a clean XS 4.2.1 on my wife's Mac, and I'm not able to reproduce this on either one in either Beta or Alpha channel.

I'll try to find someone at Xamarin who can reproduce.
Comment 2 Mohit Kheterpal 2013-11-20 07:24:44 UTC
Today we have checked this issue but unable to reproduce this issue with XS 4.2.1(build 1)

Can you please provide some steps or environment details so that we can reproduce this issue over here.
Comment 3 Stephen Rawlins 2013-11-20 09:22:44 UTC
I am running Xamarin Studio 4.2.1 (build 1) on a MacBook Pro with 8GB, 2.3 GHz Intel Core i7.  OS X 10.9 Mavericks.

I am running Parallels for Windows 8 and 8.1 virtual machines.

To reproduce this behavior, launch Xamarin Studio and open a solution.  Right-click any "higher level" object in the solution explorer, e.g. the Solution node itself or any project within the solution.  A context menu will appear, but you will not be able to select any item on it (none will be highlighted, no matter how much you hover). 

Then, slide off the menu and return.   The highlighting and corresponding selectability will work now.

If you do not see this at first, please try it a few times.  Should not take more than 15 seconds after XS launch to see this.

Remember to right-click and hover within the context menu.  Try it a few times. 

If you still do not see the behavior, then must be some other reason we are seeing it here.  Since the workaround is so easy, I am not blocked from any work, but thought you might like to know.
Comment 4 Cody Russell 2013-11-20 11:29:03 UTC
Okay, I've managed to reproduce this a couple times and one time where it was a little different.  Here's what I've observed so far:

- It's only ever done this when I've pressed the right button and held it down while hovering over the menu so far.  I haven't reproduced yet where I click the right button and then hover.
- The time where it was different, I moved the mouse across the menu and highlighted a menuitem and then the menu froze and stopped responding to motion events.
- When the menu has frozen while I've still got my right button down, if I hover over a menuitem and release the mouse button it will still activate that menuitem even though it never rendered it prelighted.
Comment 5 Cody Russell 2013-11-20 11:31:01 UTC
Aaaand now I've found a way to reliably reproduce it.

1/ Press the right mouse button, hold it down (don't click)
2/ Hover over the menu
3/ Move *out* of the menu
4/ Move back into the menu
5/ bam!

Thanks Steve!
Comment 6 Cody Russell 2013-11-20 11:36:48 UTC
This is only reproducible on Xamarin Studio for Mac, not on Windows.
Comment 7 Cody Russell 2014-05-12 16:34:32 UTC
*** Bug 17404 has been marked as a duplicate of this bug. ***
Comment 8 Jon Goldberger [MSFT] 2014-05-18 06:44:05 UTC
This seems to only happen when Xamarin Studio is open on a second monitor and only for right-clicking on a project in the Solution Explorer. Right-clicking on a file or folder does _not_ demonstrate this issue.
Comment 9 Cody Russell 2014-05-20 13:35:03 UTC
I've got a branch that fixes this. It's in the QA queue right now and we're expecting it to be in the Xamarin Studio 5.1 release.
Comment 10 PJ 2014-06-05 01:34:28 UTC
Setting to resolved|fixed as described in comment 9 so it can be verified.
Comment 11 Lluis Sanchez 2014-06-05 04:08:46 UTC
The fix will be included in
Comment 12 Saurabh 2014-06-05 14:29:58 UTC
I have checked this issue with latest XS 5.1 (build 394). Now, I am not getting this issue.

I have followed these steps:
1/ Press the right mouse button, hold it down (don't click)
2/ Hover over the menu
3/ Move *out* of the menu
4/ Move back into the menu

Now, menu items get highlighted when hovering over the items in the menu.

Screencast: http://screencast.com/t/Qe3IKK8S6kX

Hence verifying this issue.
Comment 13 Stephen Rawlins 2014-06-05 14:53:11 UTC
Thanks, Saurabh.  Nice Jing video demonstrating the desired behavior.