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 221709

Summary: Reopen closed editor tab
Product: platform Reporter: Ondrej Brejla <obrejla>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Ondrej Brejla 2012-11-08 10:35:43 UTC
It would be really really great and helpful to have a "Reopen closed tab" action. File->Open recent file sometimes saves me, but not everytime (e.g. snapshot files are not shown there) and it's not straightforward.

Thanks in advance!
Comment 1 Miloslav Metelka 2012-11-13 10:31:32 UTC
Yes, I would love to have it too and possibly have Ctrl+Shift+T shortcut for it like in FF. Reassigning to platform/WS for evaluation.
Comment 2 Stanislav Aubrecht 2012-11-13 10:50:39 UTC
There already is Open Recent File action in NetBeans 7.2, the default shortcut is Ctrl+Alt+T
Comment 3 Ondrej Brejla 2012-11-13 12:10:15 UTC
As I wrote, e.g. closed snapshots can't be reopened.
Comment 4 upsfeup 2012-11-13 12:52:05 UTC
Also, an right click option when clicking on a tab showing that option could be useful.
Comment 5 Stanislav Aubrecht 2012-11-13 13:00:25 UTC
(In reply to comment #4)
> Also, an right click option when clicking on a tab showing that option could be
> useful.

There's keyboard shortcut for that action which provides faster access.
FireFox doesn't show that action in tabs context menu either.
Comment 6 Stanislav Aubrecht 2012-11-13 13:01:28 UTC
(In reply to comment #3)
> As I wrote, e.g. closed snapshots can't be reopened.

Then it's profiler issue, their windows don't register as editors...
Comment 7 Ondrej Brejla 2012-11-13 13:04:14 UTC
But Chrome does ;) And we are used to it :)
Comment 8 Jiri Sedlacek 2012-11-13 13:20:36 UTC
Reassigning back based on an email conversation - likely fixable in RecentFileAction. Feel free to assign to profiler again if any changes are needed on our side. Thanks.
Comment 9 Jiri Sedlacek 2012-11-13 13:57:33 UTC
Profiler-side changes: http://hg.netbeans.org/profiler-main/rev/b45d3b956fa1.
Comment 10 Stanislav Aubrecht 2012-11-13 14:56:12 UTC
core-main 07ca8c682aa1
Comment 11 Quality Engineering 2012-11-15 02:45:00 UTC
Integrated into 'main-golden', will be available in build *201211150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b45d3b956fa1
User: Jiri Sedlacek <jis@netbeans.org>
Log: Profiler-side part of #221709, snapshot file saved stored in client property
Comment 12 Jiri Sedlacek 2012-12-03 12:50:52 UTC
Heap dumps added to Open Recent File: http://hg.netbeans.org/profiler-main/rev/7fc006140e69.
Comment 13 Quality Engineering 2012-12-07 02:40:22 UTC
Integrated into 'main-golden', will be available in build *201212070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7fc006140e69
User: Jiri Sedlacek <jis@netbeans.org>
Log: Part of #221709 - Heap Dump added to Open Recent File