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 182871 - Terminal is opened in the editor area + new tab is created
Summary: Terminal is opened in the editor area + new tab is created
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 10:35 UTC by Tomas Mysik
Modified: 2010-04-07 21:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (19.22 KB, image/png)
2010-03-26 10:36 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2010-03-26 10:35:11 UTC
If one closes terminal emulator window and opens it again:
- the window opens in the editor area
- new tab is opened even if there is already one tab for "localhost" available

See the screenshot.

Thanks.

Product Version: NetBeans IDE Dev (Build 100325-afc95ecdb359)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
System: Linux version 2.6.31-20-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Tomas Mysik 2010-03-26 10:36:22 UTC
Created attachment 95919 [details]
screenshot
Comment 2 ivan 2010-03-26 23:06:09 UTC
In my years with NB and SunStudio 've had _All_ kinds of TC's appear
in the editor area instead of where they are supposed to appear.
The editor area is the default mode so if something's not right 
TC's will go there. But I've never been able to figure this out.
In ay case the TC is mnaged by dlight.terminal.

reuse of tabs is subject of heated discussion among the
relevant engineers.
Comment 3 Tomas Mysik 2010-03-27 00:14:24 UTC
I just wanted to report that the behavior is not consistent (or it wasn't for me) - if one open Terminal for the 1st time, it is opened next to the Output window, if one closes it and opens again, it is opened in the editor area.

IMHO next to the Output window is the place where I would expect it (similarly to other editors, file managers etc.; I have never seen any editor to have terminal emulator next to the edited file) - but I don't have strong opinion on this, it can be easily moved.
Comment 4 Tomas Mysik 2010-03-27 00:18:37 UTC
(In reply to comment #3)
> it can be easily moved.

This is true, however, the last position is not remembered, the new terminal window always opens in the editor area (at least for me).
Comment 5 ivan 2010-03-27 01:28:18 UTC
That the tab re-opens in the editor area is a bug.
I can reproduce it.
But vladimir has too look at how he manages the TopComponent.
Comment 6 Vladimir Voskresensky 2010-03-27 06:21:17 UTC
this is issue of window system. but I will change default persistent mode to fix in on our side
Comment 7 Vladimir Voskresensky 2010-04-07 21:39:36 UTC
fixed:
http://hg.netbeans.org/cnd-main?cmd=changeset;node=600742947b8e