locked
VS2010 RTM / project context menu scrolling issue RRS feed

  • Question

  • I just started using using VS2010 Premium 10.0.30319.1 RTM and noticed an annoying issue with the project context menu.

    When I right click a project, the context menu comes up but it always forces me to scroll up or down even though I have a 24 inch monitor running 1920 x 1080.  There is clearly enough space to display the entire context menu but for whatever reason, only part of the menu is displayed.  Not only that but when I click the down arrow to scroll its kind of a jerkey scroll.  Big pain the butt.  I do not have this issue in VS2008.

    Anyone else noticed this issue?

     

    thanks

     

    Monday, May 3, 2010 2:49 PM

Answers

  • There is an upper limit on how many menu items the menu will display before it shows the up/down arrows.  I can see approximately 35 items before the scrolls appear (assuming they fit on the screen). 

    Nevertheless it has been submitted to MS as a Connect issue and deferred until a future release: https://connect.microsoft.com/VisualStudio/feedback/details/532806/context-menus-open-in-scrolling-mode-while-there-is-place-to-show-the-whole-menu/?wa=wsignin1.0  So, for now, you're stuck with the behavior. 

    A workaround would be to edit the context menu content (using Tools\Customize) to contain only the subset of commands you care about to get it below the upper limit.

    Michael Taylor - 5/12/2010
    http://msmvps.com/blogs/p3net

    • Marked as answer by scott_m Wednesday, May 12, 2010 2:00 PM
    Wednesday, May 12, 2010 1:40 PM
    Moderator
  • I've got the TFPT installed as well but I'm not seeing the problem you are.  If you drop your monitor down temporarily to something like 1280x1024 does the problem still occur?  Does the problem occur with other context menus in VS?  Does it matter whether VS is full screen or windowed?

    I run VS2010 on a couple of different machines with varying resolutions from 1280x1024-1680x1050 and I haven't seen this problem at all.  It is possible that there is a quirk with the resolution you're running at.  You might need to submit a support request to MS to resolve this issue.

    Michael Taylor - 5/3/2010
    http://msmvps.com/blogs/p3net

    • Marked as answer by scott_m Monday, May 3, 2010 5:56 PM
    Monday, May 3, 2010 5:07 PM
    Moderator

All replies

  • I've not noticed any issues.  When you bring up the context menu then VS will position the menu either above or below the project item depending upon which direction has more room.  I thought this was a function of the context menu in Windows itself.  Do you have problems with other apps like Explorer?  Are you using a non-standard resolution?

    Michael Taylor - 5/3/2010
    http://msmvps.com/blogs/p3net

    Monday, May 3, 2010 4:48 PM
    Moderator
  • 1920 x 1080.  I do have Visual Studio 2010 Power Tools installed.   In VS2008, I also have Power Tools installed and the entire context menu displays with no scrolling.   I use the context menu quite a bit to get to the project properties and having to always scroll to it is a P.I.T.A.


    http://visualstudiogallery.msdn.microsoft.com/en-us/3e8c9b68-6e39-4577-b9b7-78489b5cb1da

     

    Monday, May 3, 2010 4:55 PM
  • I've got the TFPT installed as well but I'm not seeing the problem you are.  If you drop your monitor down temporarily to something like 1280x1024 does the problem still occur?  Does the problem occur with other context menus in VS?  Does it matter whether VS is full screen or windowed?

    I run VS2010 on a couple of different machines with varying resolutions from 1280x1024-1680x1050 and I haven't seen this problem at all.  It is possible that there is a quirk with the resolution you're running at.  You might need to submit a support request to MS to resolve this issue.

    Michael Taylor - 5/3/2010
    http://msmvps.com/blogs/p3net

    • Marked as answer by scott_m Monday, May 3, 2010 5:56 PM
    Monday, May 3, 2010 5:07 PM
    Moderator
  • When you bring up the context menu then VS will position the menu either above or below the project item depending upon which direction has more room.

    It probably is a deficiency in the context menu itself. I have the same problem (I'm using Resharper, which has added a load of items to the context menu.)

    It does indeed align either the top or the bottom of the menu with the clicked location. Unfortunately, this means that if you are clicking somewhere in the vertical middle of the display, there is only half of the screen height available to display the menu, since either the top or the bottom of the context menu will appear at the centre of the screen.

    Clearly it would be much better in these situations to give up on the idea of forcing the top or bottom of the menu to be at the cursor location, and instead try to fit it in the available screen area. However, it seems that is not how the underlying context menu control works, rubbish though that may be.

     

    Wednesday, May 12, 2010 10:21 AM
  • There is an upper limit on how many menu items the menu will display before it shows the up/down arrows.  I can see approximately 35 items before the scrolls appear (assuming they fit on the screen). 

    Nevertheless it has been submitted to MS as a Connect issue and deferred until a future release: https://connect.microsoft.com/VisualStudio/feedback/details/532806/context-menus-open-in-scrolling-mode-while-there-is-place-to-show-the-whole-menu/?wa=wsignin1.0  So, for now, you're stuck with the behavior. 

    A workaround would be to edit the context menu content (using Tools\Customize) to contain only the subset of commands you care about to get it below the upper limit.

    Michael Taylor - 5/12/2010
    http://msmvps.com/blogs/p3net

    • Marked as answer by scott_m Wednesday, May 12, 2010 2:00 PM
    Wednesday, May 12, 2010 1:40 PM
    Moderator
  • That suggestion of customizing the context menu is excellent, thanks. :)
    Thursday, May 13, 2010 10:40 AM
  • On my (dual monitor setup with resolution 2* 1280x1024) I only seem to be able to fit in 23 items after that scrolling arrows occur in my context menus on the project items in the solution explorer???

    So I can not even fit in the mentioned 35 items.

    Wednesday, August 11, 2010 8:04 AM
  • Running 1920 x 10180 here.  On the VS context menu, I use the "Open Folder in Windows Explorer" .    Typically, I have to scroll down to the bottom of the context menu to select this  option.   This behavior is odd because I have plenty of screen real estate to show the entire menu.  I use the Open Folder option quite a bit so I constantly find myself scrolling the context menu.   I wish they would either fix the scrolling issue or give me a short cut key for Open Folder.

     

     

    Wednesday, August 11, 2010 7:16 PM