[Mono-bugs] [Bug 503663] New: Default accelerator keys do not work correctly for ToolStripMenuItems of ToolStrips

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 13 18:00:05 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=503663


           Summary: Default accelerator keys do not work correctly for
                    ToolStripMenuItems of ToolStrips
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: bgmerrell at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Integration Test


Description of Problem:

It appears that WinForms in Winodws automatically handles Alt+<Letter>
accelerator keystrokes to select a ToolStripMenuItem that is a direct
descendant of a ToolStrip or a MenuStrip.  Please correct me if I'm wrong about
this.

Given the above assumption, I noticed that the accelerator keystrokes appear to
only work in Linux to select ToolStripMenuItems that are direct descendants of
a MenuStrip but not a ToolStrip.

Steps to reproduce the problem:

1.  Run the attached test case application
2.  Press Alt+F and notice that the "File" menu is selected
3.  Press escape twice to exit and deselect the "File" menu 
4.  Press Alt+E and notice that the "Edit" menu is selected
5.  Press Alt+V and notice that the "View" menu is *not* selected
6.  Press Alt+H and notice that the "Help" menu is *not* selected

Actual Results:

Accelerator keys can be used to select the "File" and "Edit" menus, which are
direct descendants of the MenuStrip.  However, accelerator keys cannot be used
to select the "View" and "Help" menus, which are direct descendants of the
ToolStrip.

Expected Results:

Accelerator keys Alt+V and Alt+H should be able to be used to select the "View"
and "Help" menus respectively.  I have verified this expected result in Windows
Vista.

How often does this happen? 

Every time

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list