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.
NetBeans maintains an ordering of the files you've visited. This is extremely useful when doing control-tab to switch among files. Problems is that closing a tab (either via control-w or clicking the close button on the tab) does not select the last file in the stacking order, rather it selects based on tab order. While this makes sense from a keep the item at index x selected perspective, it breaks the perspective that you keep an ordering of the files and would pick the last one I visited and is totally not expected. Please make closing a tab select the last file I visited, regardless of what index it is in the tab list.
No this is strange - I never saw such functionality in any application and I personally would be confused if closing a tab would start some scrolling and selecting other tab miles away. I don't support this, but sending to HIE engineers as a thought anyway.
Reassigning to Jano.
*** This issue has been marked as a duplicate of 44144 ***