Community
Participate
Working Groups
1. Press Ctrl+Shift+F to open the Find Files dialog 2. Unfocus the search field by clicking the background of the dialog somewhere. 3. Press ESC 4. Expected the dialog to close but it remains open.
The general problem was that the modal listener that keeps focus from going outside the dialog, was allowing it to stay in the dialog on items without a tabIndex, which would eventually set focus to the body. Fixed this so that the listener takes focus back from elements in the dialog with no tabIndex. However OpenResourceDialog was modeless (simply because I first converted it before I had modal support, and figured it didn't need to be modal). Given it used to be modal, and that this keyboard focus problem is annoying, I made it modal to take advantage of the general fix. Mark can you review? Branch is bug400138, commit is http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?h=bug400138
thanks, mark. pushed.
Reopened. This caused bug 400592. I should have been more careful. There are DOM elements in the directory prompter (explorer) that don't have a tabIndex/take focus but *do* need a chance to get focus so that some other handler can do the right thing. As a quick fix I backed out the commit from before, I will investigate this further and see if there is a correct fix for RC2 that isn't too dangerous.
I've tried a few different things but don't feel confident fixing it this late. Moving to 3.0 M1.
I just hit this again in the find/replace panel of the editor. It seems more obviously wrong to me now that we correctly close the status dropdown when you hit ESC.
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html
Still valid. Also a problem in the 'Clone Repository' or 'Init Repository' dialogs in the Repositories dropdown, and the 'New Remote' or 'New Branch' dialogs in the References dropdown.
Fixed with https://github.com/eclipse/orion.client/commit/b24841a41d0e50fa7bfcdbd99d23be5e90d7a12b