Jump to content

Keyboard problem with File menu


lindsve

Recommended Posts

Just noticed a problem with the File menu and I wanted to tip you guys on a solution.

I guess some menu items in this menu are toggled visible/not visible, and this causes the menu to scroll weirdly (at least on my system) (Hit Alt-F to access the File menu with the keyboard and then press the Up arrow to go to the Exit item).

This is a problem I had too in a .NET project and the solution was to dynamically add/remove the toolstripmenuitems instead of toggling the visible property true/false.

Link to comment
Share on other sites

Actually I just had this happen in an XP virtual machine. Does not repro in Vista at all.

Edit: However in Vista the "View Plugin Load Errors" is visible (on my system). Probably only happens if you dont have this menu item, regardless of the OS. I've filed a bug.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Nice that you were able to reproduce it. I have filed a bug for this to Microsoft too, since it's obviously a bug on the MenuStrip/ToolStripMenuItem handling.

Link to comment
Share on other sites

Definitely. I'm setting a Visible property of a contained ToolStripMenuItem during the DropDownOpened event, that shouldn't cause this kind of foible.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...