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.
Created attachment 153304 [details] before switching to another project group This appears to have been reported with 7.3 as #232489, and eventually marked closed/incomplete, although its not clear why. Switching between project groups invokes fear in me, because it will always take time to get to a layout that works again. I can't even predict where edit windows will end up. The first attachment, beforeSwitch.png, shows an active layout. Yes, I have two 2560x1440 screens treated as a single X desktop. Note the three edit windows on the left, and the project list to the right followd by variables, breakpoints, stack, and then finally the big output window on the far right. That was the project I was working on when a bug arrived for a different project, which required that I switch to a different project group. The second attacnment, afterSwitchingBack.png, is the result. All of the edit windows have migrated to the far right window, and the main window is now empty. I would think that either explicit placement metadata needs to be saved and restored, or for a more general approach, some expression of affinity for window placement. Anyway, this does not work. Product Version: NetBeans IDE Dev (Build 201503250001) Updates: Updates available Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.14.27-100.fc19.x86_64 running on i386; UTF-8; en_US (nb) User directory: /home/toddb/.netbeans/dev Cache directory: /home/toddb/.cache/netbeans/dev
Created attachment 153305 [details] after switching back to the original project group
IIUC when user switches from one project group to another the first project group closes. This leads to many/all editor windows to close. When this happens and there are editor windows placed in a mode that is not permanent and is emptied that mode is removed. When at a later step you switch back to that project group then the mode is not present and the editor windows open in the default location. IIANM this is described in org.netbeans.core.windows.Central.removeTopComponentFromOtherModes and so it seems there is no contract to save/restore window layout in this case. Closing this one.
It seems that you are claiming certain words in a description give you license to not fix a distasteful aspect of the UI. Alex, and Vladimir, may I ask you to confirm this view. Thanks.
(In reply to tbrunhoff from comment #3) > It seems that you are claiming certain words in a description give you > license to not fix a distasteful aspect of the UI. I am not claiming that this might not be "a distasteful aspect of the UI". I am claiming that if there never was a contract to restore such window layout then this is not a bug. I might be wrong though.
Then perhaps making this an enhancement makes sense.
Any hope of ever addressing this? The layout metadata is saved between ide runs, but is discarded when the project group is changed. Could someone identify the files that contain this metadata so that it could, at least, be saved/restored by hand when changing the project group?