nmatt commented on PR #8288: URL: https://github.com/apache/netbeans/pull/8288#issuecomment-2707039182
@errael I tested with a fresh install of NetBeans 13, and I realized now that the behavior is a bit more subtle than I thought: The desired behavior of the keyboard focus remaining in the Projects view occurs when the project being closed has a file open in the editor (which is also implicitly closed when the project is closed). When the project being closed has no file open, then the keyboard focus ends up in the editor. This is the same in NetBeans 15. I didn't notice this condition before, because usually I have some file open from the project. There is an analogous behavior when reopening a recent project (Alt+F, J) from the Projects view: In that case, the keyboard focus returns to the Projects view when the reopened project has _no_ (remembered) file open. Otherwise the keyboard focus ends up in the editor with one of the reopened files. However, in the current dev build, the keyboard focus never returns to the Projects view when closing a project, regardless of whether the project being closed has a file open. (It does, however, return to the Projects view when reopening a project without any reopened files.) Can you reproduce this difference? Regarding the closing of multiple projects, you are right, I had misremembered that. -- 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