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.

Bug 186058 - NetBeans is not very amenable to placing the editor (source documents) in a second window
Summary: NetBeans is not very amenable to placing the editor (source documents) in a s...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 22:31 UTC by jn
Modified: 2010-05-13 09:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
screenshot of windows arrangement (104.09 KB, image/png)
2010-05-12 22:37 UTC, jn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jn 2010-05-12 22:31:11 UTC
It is great that NetBeans supports multiple top-level windows, but the implementation is not flexible enough, and documents don't always open where you would like them to.

In my case, I prefer to use 2 NetBeans windows as my default setup, and sometimes 3 or 4 depending on what I'm doing.  In the 2-window setup, I arrange two windows side by side, with the project, files, profiler, output window, find usage results in the left window, and the right window for all source files.  When I open additional windows, these are also for source files (so that I can do side-by-side source editing).  The problems I experience are as follows:

1.  I would like to be able to drag the source file container from the main window to a new window in a single action.  If I could do this, it would probably solve all of the other issues I have.  Instead, I am only able to drag a single source document at a time.  For example, I can drag a source document to the desktop, and this will form a new window.  Then I can drag additional source documents to the same, new window and they will be moved to that window.  Instead of this, I would like to be able to drag *all* of the documents -- the entire container -- to a new window.

2.  Because I cannot remove the source file container from the main window, the only thing I can do is to remove all documents from it, and make it as small as possible.  I have to drag the divider until it's only a few pixels tall.  This really sucks.

3.  When I double-click a source file in the project treeview, it sometimes goes to the source file container in the main window, and not in the second window.  At least, NetBeans will usually remember where I last opened a document and open it there, but sometimes it doesn't.

4.  When I drag-and-drop a file from Windows Explorer (shell) into the second window, the source file should open in a document in that same window.  Instead, it *always* opens in the main window.  This is very disorienting, and took a long time to figure out, the first time it happened.  Even after continuous use, it always takes me a second or two to remember to look in the (minimized, few-pixels-tall) source document container in the main window.

5.  When all of the source files in the second window belong to a single project (or project group) and I close the project, the source files are all closed (proper behavior), but the window is also closed and lost forever.  If I reopen the project, all of the files go into the (minimized, few-pixels-tall) source document container in the main window.  This is *extremely* annoying and tiresome, because I then have to recreate the second window and then drag each source file one-by-one into the new window.  For 5 documents it's annoying, for 10 documents or more it's completely out of the question.  Extreme frustration.  At least, could we change the behavior (or have a configurable option) to leave a secondary source window open even after all documents have been closed?
Comment 1 jn 2010-05-12 22:37:59 UTC
Created attachment 98907 [details]
screenshot of windows arrangement

Attaching a screenshot of my windows arrangement.  Notice the minimized editor container in the main window at left/bottom; this editor container is completely unwanted there.  In this scenario, all source files were open in the window to the right.  When I closed the current project group, the window at the right was destroyed, and when I opened the project group, all of the files which were previously at the right re-opened at the bottom of the main window.  Before taking this screenshot, I created the second window again and dragged two source documents into it.
Comment 2 David Strupl 2010-05-13 08:02:25 UTC
Passing to the right component.