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 227339 - Document tab groups are not restored when switching projects or project group.
Summary: Document tab groups are not restored when switching projects or project group.
Status: REOPENED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-12 09:21 UTC by pcgrejaldo
Modified: 2013-04-15 12:11 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
IDE log (35.21 KB, text/plain)
2013-03-12 09:21 UTC, pcgrejaldo
Details
Open project in 2 tab groups (283.12 KB, image/png)
2013-03-13 12:46 UTC, pcgrejaldo
Details
Reopening project doesn't restore the 2 tab groups (188.21 KB, image/png)
2013-03-13 12:50 UTC, pcgrejaldo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pcgrejaldo 2013-03-12 09:21:13 UTC
Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_15
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Comment 1 pcgrejaldo 2013-03-12 09:21:21 UTC
Created attachment 132499 [details]
IDE log
Comment 2 Stanislav Aubrecht 2013-03-13 12:01:30 UTC
Please clarify what is supposed to be restored and preferably also attach some screen shots demonstrating before/after states and reopen this issue, thanks.
Comment 3 pcgrejaldo 2013-03-13 12:46:02 UTC
Created attachment 132559 [details]
Open project in 2 tab groups
Comment 4 pcgrejaldo 2013-03-13 12:47:12 UTC
I was expecting that when I go back (either reopening projects or select from project group), I would still work with the same tab group state as the project was in before it was closed.

Example:
Open a project, let's call it project1, open 2 files, say index.php and style.css. Right click index.php tab and select "New Document Tab Group". Now I have 2 tab groups. Then close project1 and open project2 or switch project group (File > Project Group > project2). Close project2 and open project1 again or switch project group (File > Project Group > project1). This time that 2 tab groups state I have before is not restored. I have to set it up again each time I go back to a project.

Is there anyway or maybe something that I missed to retain or have my tab groupings restored when I reopen them?
Comment 5 pcgrejaldo 2013-03-13 12:50:11 UTC
Created attachment 132560 [details]
Reopening project doesn't restore the 2 tab groups
Comment 6 pcgrejaldo 2013-03-16 15:33:43 UTC
Any update or help about this?
Comment 7 Stanislav Aubrecht 2013-03-18 09:43:52 UTC
Switching project group does not restore window layout - that's by design, it's not a bug.
I think there are some plugins that save/restore window layout. But you'd have to invoke their actions manually as they're not hooked into project infrastructure.
Comment 8 Stanislav Aubrecht 2013-04-05 15:11:13 UTC
I believe Milos is working on such a feature right now, reassigning.
Comment 9 pcgrejaldo 2013-04-05 15:44:32 UTC
Nice! Looking forward to it... :)
Comment 10 Milos Kleint 2013-04-09 11:41:30 UTC
the feature I'm working on in trunk  only includes reopening the files that were part of the project group when it was last closed. it's unlikely that we would persist the window layout with the project group in any near future.