This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have multiple opened sources. On current one I invoke Diff action mapped to Ctrl-Shft_D hotkey. Diff is OK. So I close it using Ctrl_F4. Then I press Ctrl-Shft_K for commit. BUT I have commited different file! Expected behaviour is that after closing a editor area window focus moves to previously focused editor area window (focus based history). The current behaviour is that focus movement it driven by window opening sequence.
Alternatively mark as P2 ENHANCEMENT to be addressed in future.
I believe focus based history can be unintuitive and chaotic. having keyboard shortcuts to iterate back and forth in focus based history is ok. The usecase with closing an window sounds strange. I would like to have feedback from HIE if we want to do this or not. Definitely not a bug though.
I think too that this should be implemented. I'm used to it e.g. from VIM. Emacs and other IDEs use a focus based history as well. But some users probably prefer current behaviour (e.g. Firefox behaves as NetBeans now). So reassigning to HIE for consideration. Please reassign back to me then. Thanks. Changing to supposed P2 enhancement since as Milos said it is really not a bug.
*** This issue has been marked as a duplicate of 44144 ***