Community
Participate
Working Groups
build I20050509-2010 - select a file in the Navigator and choose Properties - after looking at the properties, press Esc to dismiss the dialog - instead of dismissing the dialog, it clears the filter field - pressing Esc again dismisses it Same problem in the preferences dialog. This is unexpected behaviour. Esc is not normally used to clear a field. Esc within a dialog should dismiss it. Suggest not intercepting Esc, and just allowing backspace to clear the field (it's selected by default anyway).
One issue here is that Enter will bring you to the tree. Common pattern. User opens quickly types some text then slams on the enter key. So since we override enter and don't close the dialog in that case, the thought is that it might not be appreciated that it close on ESC. thoughts? I'm not married to this.
I think the current handling of Enter is OK, and the scenario above was previously a problem when it dismissed. It's actually pretty normal to disable/override the default button when Enter is meaningful for the focus control (see the MS UI guidelines). But I think it's unexpected for Esc to clear a field, and to not dismiss the dialog. So I would keep the current Enter handling, but revert the Esc handling.
fixed in HEAD
Version: 3.1.0 Build id: I20050527-0900