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 249038 - Implement Pin Tab action for terminal tabs
Summary: Implement Pin Tab action for terminal tabs
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-01 15:10 UTC by ilia
Modified: 2015-01-19 14:18 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ilia 2014-12-01 15:10:38 UTC

    
Comment 1 ilia 2014-12-01 15:12:35 UTC
Allow IDE to "remember" pinned tabs (host+cwd+title+...) and reopen them after IDE restarts.
Comment 2 Quality Engineering 2014-12-02 04:04:03 UTC
Integrated into 'main-silver', will be available in build *201412020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/707a9225b028
User: Ilia Gromov <ilia@netbeans.org>
Log: Fixed Bug #249038 - Implement Pin Tab action for terminal tabs
Comment 3 ilia 2014-12-02 08:16:56 UTC
fixed in 281386:707a9225b028.

Changes:
* Pin action added to Terminal popup menu.
  When user press this menu item, new Dialog appears and 
  user is suggested to specify terminal title and cwd.
  
  IDE will restore all pinned tabs after reopeninig TC.
  (this incudes IDE restarting action, of course).

* Terminal InputOutput created and Terminal placed 
  to IOComponent (<=> tab added) before any remote connection
  attempts or NativeProcessBuilder work. 

  This helps user to unpin a tab even if he hasn't 
  successfully connected to host.

  Some (!remote) connection progress is logged to this tab.
  If connection is successful this log will be erased before
  real IO streams will be connected.

  This "dummy" tab is needed to preserve tab order
  when restoring pinned tabs.

  Now a sequential call of openTerminalImpl guarantees 
  that tabs will be ordered in the same order method was called.
  (Dummy tabs are created immediately in EDT, then all
  work goes to a RequestProcessor).

Problems:
 * User can specify a non-existent directory in Pin Tab dialog.
   In this case Terminal will not be created.
Comment 4 ilia 2014-12-02 13:02:05 UTC
Additional fix in 281430:e06c5874d8f8

Changes:
* Using another property file (sometimes I need to reset
  a pin tab property file, fix will prevent other options,
  like color, from being erased).
Comment 5 Quality Engineering 2014-12-03 04:08:33 UTC
Integrated into 'main-silver', will be available in build *201412030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e06c5874d8f8
User: Ilia Gromov <ilia@netbeans.org>
Log: additional fix for Bug #249038 - Implement Pin Tab action for terminal tabs