|
From: Yudhi W. (JIRA) <no...@at...> - 2007-07-29 01:35:58
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_25056 ]
Yudhi Widyatama commented on RCP-408:
-------------------------------------
It is strange that MessageDialog chooses to make the Cancel button the default button. Even when we don't do this (by commenting getCancelCommandId, getCommandGroupMembers, and registerDefaultCommand in MessageDialog.class) the enter button still does nothing when the dialog first popped up. I think its about the focus, I need to press tab several times before I could close the dialog using enter key.
So I tried to make the message area unfocusable. Added messageArea.setFocusable(false) in AlertMessageArea.init(Messagable), and now we could press enter key to 'OK' a MessageDialog.
> MessageDialog's ok button should be the default button (enter key should press it)
> ----------------------------------------------------------------------------------
>
> Key: RCP-408
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-408
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Components: Dialog System
> Affects Versions: 0.2.1
> Reporter: Geoffrey De Smet
> Priority: Minor
> Fix For: 0.3.0
>
>
> Now it's not the default button, so when a login succeeds, you have to press escape (instead of enter) to press it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|