Bug 509985 - Pressing buttons with the keyboard does not work as expected with ToolBarButtons
Summary: Pressing buttons with the keyboard does not work as expected with ToolBarButtons
Status: RESOLVED FIXED
: 482571 (view as bug list)
Alias: None
Product: Mono: Class Libraries
Classification: Mono
Component: Windows.Forms (show other bugs)
Version: SVN
Hardware: x86 openSUSE 11.1
: P5 - None : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-04 15:28 UTC by Brian Merrell
Modified: 2009-07-02 04:06 UTC (History)
1 user (show)

See Also:
Found By: Integration Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
IronPython test case application referenced above (4.88 KB, text/plain)
2009-06-04 15:35 UTC, Brian Merrell
Details
IronPython test case application referenced above (4.06 KB, text/plain)
2009-06-04 15:45 UTC, Brian Merrell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Merrell 2009-06-04 15:28:34 UTC
Description of Problem:

This was found on Mono WinForms revision 133896.

In Windows I can press ToolBarButtons and drop down ToolBarButtons with the keyboard*.  I cannot do this in Mono on Linux.

Steps to reproduce the problem:

1.  Run the attached (IronPython) test case application
2.  Press the right arrow to focus on the "Push Button" button
3.  Press Enter (or Space) (which should press the button and update the GUI label)
4.  Press the right arrow to focus on the "DropDownButton" drop-down button
5.  Press the down arrow (which should drop down the "DropDownButton" menu)

Actual Results:

Pressing enter when a push button is focused has no effect

Pressing down when a drop down button is focused has no effect

Expected Results:

Pressing enter when a push button is focused should have the effect of clicking it.

Pressing down when a drop down button is focused should drop down the menu.

How often does this happen? 

Every time.

Comments:

* - The "Toggle" toggle button on the ToolBar doesn't appear to be toggled on or off with the keyboard in Windows.

This bug is bad for the accessibility and accessibility tests.
Comment 1 Brian Merrell 2009-06-04 15:35:50 UTC
Created attachment 296275 [details]
IronPython test case application referenced above
Comment 2 Brian Merrell 2009-06-04 15:45:06 UTC
*** Bug 482571 has been marked as a duplicate of this bug. ***
Comment 3 Brian Merrell 2009-06-04 15:45:34 UTC
Created attachment 296277 [details]
IronPython test case application referenced above
Comment 4 Carlos Alberto Cortez 2009-07-02 04:06:09 UTC
This is fixed in rev 137228.

Thanks!
Comment 5 Carlos Alberto Cortez 2009-07-02 04:06:41 UTC
Forgot to mark as resolved.