errael commented on PR #8288: URL: https://github.com/apache/netbeans/pull/8288#issuecomment-2705433980
Thanks for checking it out. > With the keyboard focus in the floating Projects pane, when closing a project by > keyboard via the File menu (Alt+F, C), the keyboard focus doesn't revert back to > the Projects pane the way it did previously (up to NetBeans 15). I disabled all the changes from the original PR by commenting out, in `TabbedHandler`, ``` KeyboardFocusManager.getCurrentKeyboardFocusManager() .addPropertyChangeListener("permanentFocusOwner", activationManager); ``` Then, with floating `Projects`, did 1. Ctrl-0, Ctrl-1 2. Alt-F 3. \<ESC> Observe: (3.) closes the menu and the keyboard focus manager sets the focus to the editor; the project is still active. This is the original problem from #4437 fixed by #4603. I also noted that if the editor file is modified, then even though it gets keystrokes, the undo/redo don't work. If NB-15, and earlier, leaves the keyboard focus in `Projects` then the change doesn't seem to be due to #4603/#8288. I tried it with NB-13 and don't see the KB focus left in `Projects`. Might you be able to verify this one way or the other? Maybe there's some other setting/??? affecting behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists