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.
Setup: 0. there should be multiple (checked with 2) editor panes in Netbeans 1. multiple tab rows enabled (not sure this makes any difference) 2. multiple files are open, some in one pane, some in another 3. then drag a document tab from one pane to another 4. all the time the problem was observed Netbeans window was in maximized stated (full-screen for Mac OS) The effect is that now it is impossible to switch to some of the documents: once these documents are selected with mouse-click on respective tab or a ctrl+tab combination is used to switch to document Netbeans does the following: 1. switches to desired document 2. immediately switches to some other arbitrary document 3. maybe continues to switch documents for a while 4. at some point it stops switching, the infinite switching was never observed Please note that there is at least one document which can be switched to successfully Moreover, once Netbeans is switched to non-maximized/non-fullscreen mode the problem disappears. However once maximized state is entered again it appears again. Even more, if you select one of "problematic" documents in non-maximized state and then enter maximized state NB will immediate start switching tabs. So looks like this has something to do with tabs resize/refresh code The problem observed since long ago, at least since NB 8.0 but still reproduced (up to Netbeans 20151124). Problem was never seen on Java code/projects, all the time on C++ files/projects. However it's not proven that it's CND specific problem so feel free to retarget the bug at appropriate team At least Linux and Mac OS versions exhibit the problem Please also see screencast https://vimeo.com/149399042
I'd look for excessive requestFocus() and requestFocusInWindow() calls. In most cases the focus ends up in quicksearch field and the video shows that the quicksearch field isn't visible.
I checked NetBeans 8.1 on MacOSX 10.11 (El Captain) and I can't reproduce bug. On Linux in full-screen mode I can't use Ctrl-Tab hot key.
The problem should have been reproducible regardless of the way to switch the tabs. So you can try mouse clicking on Linux. BTW, my Mac OS version is 10.10