After performing a search or inspecting call hierarchy, double clicking on a file opens it in the output panel, together with search and call hierarchy results, instead of in the main panel with other source files.
Could not reproduce. Jan, please would you evaluate to reassign to whoever this might belong ?
Maybe something to do with imported settings from NB 7.0. I deleted my 7.1 profile directory and it seems to behave normally now. I just have to take the time to reconfigure NB all over again.
I have about the same problem.
If I am positioned in a run tab in the output pane and open up a source file by double clicking in the project browser,
the source file opens up in the tab in the output pane I was positioned in.
I also imported settings of my previous installation when installing 7.1.1.
I'm reopening this, not sure if I'm allowed to do that,
sorry if that's not polite.
same issue in Netbeans 7.2 beta build 201203120400
There are a couple of settings for tab at Tools > Options > Miscellaneous > Windows. Maybe 'New document opens next to active document' or something else?
(In reply to comment #5)
> There are a couple of settings for tab at Tools > Options > Miscellaneous >
> Windows. Maybe 'New document opens next to active document' or something else?
None of these settings affect this bug. I also tested 'New document opens next to active document' to no avail.
I also have this issue Its soooo annoying! I also upgraded from 7.0
Same here, started happening after I made an call stack trace(not just that thou).
As I was doing several things it was hard to say what caused it. Tried to somehow reproduce this, no luck
Too fix it I had to do was go:
Product Version: NetBeans IDE 7.1 (Build 201112071828)
Java: 1.6.0_30; Java HotSpot(TM) Client VM 20.5-b03
System: Windows 7 version 6.1 running on x86; Cp1252; sv_SE (nb)
this is window system i hope
Most likely caused by manually docking Output or Search Results or some other window by splitting the editor area. The Output window is then considered a document window and its docking spot is reserved for document windows - there are scroll left/right and drop down buttons in the upper right corner of that area.
Menu 'Window - Reset Windows' brings back the default state.
If that is not the case then please attach a screen shot and reopen, thanks.
I messed up the windows again... at least I know there is a Reset Windows command now. Still a nuisance though, to re-arrange to my preferences over again.
That explanation in previous comment is probably correct, but rather complicated and I cannot imagine a user wanting to achieve this on purpose.
I don't know if this behavior is a side effect of general refactoring, but the way it worked in the previous version was fine, for me at least.
Resetting windows wokred for me in NB 7.2
I found a workaround by saving my cuurent configuration using the "Perspective" plugin. Check this post on Stackoverflow: http://stackoverflow.com/questions/12490730/can-i-save-my-window-layout-in-netbeans-7-2
I had a similar problem in 7.3. Reset Windows worked as well.
I have the same issue with right-docket debug windows
Product Version: NetBeans IDE 7.4 (Build 201310111528)
Обновления: Среда NetBeans IDE обновлена до версии NetBeans 7.4 Patch 3
Java: 1.7.0_55; OpenJDK Client VM 24.51-b03
Runtime: OpenJDK Runtime Environment 1.7.0_55-b14
System: Linux version 3.14.4-1-ARCH running on i386; UTF-8; ru_RU (nb)
User directory: /home/aim/.netbeans/7.4
Cache directory: /home/aim/.cache/netbeans/7.4
The 'Reset windows' works but it changes my window layout.
Perspective plugin does not restore right-docket windows.
*** Bug 248662 has been marked as a duplicate of this bug. ***
Same is happening to me on Netbeans 8.0.2, on Windows 8.1 When you close all the windows the output's pane will maximize. New or opening a file will sometimes put it in the output's pane. I have not notice a pattern yet.
still reproducible on Netbeans 8.0.2 on mac
Hello. Found a solution, seems like it is not a bug.
To fix drag open search ctrl+shift+F, perform search, now grab search tab header and drag it into an editor, to make be placed jsut like other tabs (with code, I suppose). Now right-click search tab header and select 'Float' in the dropdown. Voila.
(In reply to sneakyfildy from comment #19)
> Hello. Found a solution, seems like it is not a bug.
> To fix drag open search ctrl+shift+F, perform search, now grab search tab
> header and drag it into an editor, to make be placed jsut like other tabs
> (with code, I suppose). Now right-click search tab header and select 'Float'
> in the dropdown. Voila.
post.replace(' drag', ','); // first entry
Aww, sorry :( doesn't help. That is something wierd.
Can confirm that it still happens on Osx with Netbeans 8.1
Selecting Window -> Reset Windows seems to fix this issue for now, the downside being it also rearanges all other windows to their default positions.
Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 2
Java: 1.7.0_67; Java HotSpot(TM) 64-Bit Server VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01
System: Mac OS X version 10.11.4 running on x86_64; UTF-8; en_US (nb)
*Window, Reset Windows.
*Command+Shift+F and search for something.
*On the result screen, double click on a file.
---> file opens in the editor window as a new tab (expected)
*Drag the search tab (by default at the bottom of the screen) to be the right side column of the screen.
*Open another file from the same search.
--> File opens in a new tab next to the search tab on the right side panel instead of the main panel with the rest of the opened files.
Having the same error here. Steps to reproduce:
* Close all source files, making the output tab usurp the space the source file tabs had
* Open a source file (will now open in same window as output)
* Drag output tab to move its window away from source file
* In the output tab, click a link to a source file
* The file opens in the same window as the output tab, NOT in the same window as other
Solved by closing the output tab, re-running the project to get a new output-tab
(In reply to gromit190 from comment #26)
> Having the same error here. Steps to reproduce:
> * Close all source files, making the output tab usurp the space the source
> file tabs had
> * Open a source file (will now open in same window as output)
> * Drag output tab to move its window away from source file
> * In the output tab, click a link to a source file
> * The file opens in the same window as the output tab, NOT in the same
> window as other
> Solved by closing the output tab, re-running the project to get a new
Please disregard this, I misinterpreted what happened
Same happening for me in Netbeans 8.2. It's easy to reproduce, simply re-dock the output window from the bottom of the screen to any other location by dragging its tab and then dock it back at the bottom.
The visual clue is that the output (or search results) window no longer has the "minimize" dash-button in the upper right corner - instead it has the arrows and the restore/maximize window square button like the main document pane. When there is no minimize button then new documents from the results open in the output pane instead of the document pane.
I haven't been able to find a way to fix it apart from resetting windows.
Window > Reset Windows
has definitely solved this problem.
Can you please fix this bug?
It is so annoying if you have opened the Test window and Output window at the same time.
Reset Window does not fix anything. I need to set up the test and output window over and over again. This is even more annoying than dragging the document into the document window.
This bug has appeared on Windows 10 x64 and on Linux (Xubuntu 14.*, 16.*) x64 too.
I could reproduce on Ubuntu 16.04, NetBeans 8.2 after a new build of the machine
To reproduce :-
- Drag search output window so that it docks on the right hand side of the main window (one tab).
- Double click a file listed in the search output window.
- File opens up as a new tab next to the search output window (as a new tab) and not the main file window content area.
To Fix :-
This only seemed to happen after first dragging and docking the search output window from the bottom opf the screen to the right hand side of the main file content area and so there was only the search output window (one tab) docked to the right of the main document/file content area. If I then added for example the breakpoints window and docked that next to the search output window (two tabs) then double clicking output in the search window would then work as expected.
I therefore thought it must be due to just having the one output window docked to the right of the content area (one tab) but on closing Netbeans and then re-opening whether I just have the search output window docked to the right (one tab) or other as well such as breakpoints (two tabs) it all now works as expected.