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 25049 - output window tabs removed too soon
Summary: output window tabs removed too soon
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: UI
: 19022 34006 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-21 21:51 UTC by ivan
Modified: 2008-12-23 11:40 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivan 2002-06-21 21:51:19 UTC
Write a small program that prints 100 lines and
exits.
Select it and press F6 multiple times.
You will get multiple OW tabs happily echoing the
lines with each tab named "SmallProgram - I/O".

The problem is that as each one terminates it's
tab is removed (except the last one). So if there
was some important output or exception information
it's going to get missed.
Comment 1 David Strupl 2002-06-24 11:04:32 UTC
I have tried and the behaviour is the same since NB3.2 (3.3, 3.4). I
don't say it is right or wrong. Just saying that it has been like this
for ages. UI team (Jano) please evaluate and specify the correct
behaviour. I don't know what should be we with it.

Please note that if you leave the tabs there you will end up with lot
of output tabs when repeatedly running the same program.
Comment 2 David Strupl 2002-06-25 09:16:16 UTC
*** Issue 19022 has been marked as a duplicate of this issue. ***
Comment 3 Jesse Glick 2002-06-28 14:46:17 UTC
I think this is as-designed, provided you have Execution Settings |
Output Tab Behavior set to Clear & Reuse. Set it to New Tab Each Time
if you want, or Reuse and Append. Click the settings node and press Help.

Changing this property seems to have no effect for me, which appears
to be some strange settings thing I will file separately.
Comment 4 David Strupl 2002-06-28 16:23:48 UTC
Aha, I didn't know about the option. So I am closing this report as
invalid.
Comment 5 ivan 2002-06-28 20:38:18 UTC
Not quite.

a) I tried with "New Tab Each Time" and if you execute a short    
program by gunning F6 (so that one isn't  done before you start the
next) you will get multiple Tabs and all but one will vanish!

b) Even in the Clear and Reuse mode what I reported
shouldn't happen. You start a new copy of the same
program while the first copy hasn't finished. You _do_
want a new Tab even if the policy is Clear & Reuse don't you?
And you do want it _not_ to vanish when it's done don't you?

 
Comment 6 Jesse Glick 2002-07-08 21:09:24 UTC
Ivan is right, something is very wrong here. New Tab Each Time does
not work at all; works sort of like Clear & Reuse except that a new
tab is temporarily opened (then deleted). The other modes work if you
wait for the previous process to finish before continuing; if you
start a new process while the old is running, new tabs will be opened
and then closed; not clear why. Perhaps something is necessary to
prevent output from two simultaneous processes from colliding, but the
current behavior does not seem right at all.
Comment 7 Marek Grummich 2002-07-22 08:31:08 UTC
Target milestone was changed from '3.4' to TBD.
Comment 8 Marek Grummich 2002-07-22 08:36:08 UTC
Target milestone was changed from '3.4' to TBD.
Comment 9 Marek Grummich 2002-07-22 08:48:07 UTC
Target milestone was changed from '3.4' to TBD.
Comment 10 Marek Grummich 2002-07-22 08:54:00 UTC
Target milestone was changed from '3.4' to TBD.
Comment 11 Marek Grummich 2002-07-22 08:57:31 UTC
Target milestone was changed from '3.4' to TBD.
Comment 12 Marek Grummich 2002-07-22 09:00:54 UTC
Target milestone was changed from '3.4' to TBD.
Comment 13 jrojcek 2002-12-02 14:09:54 UTC
Here is how "Output tab behavior" property from the Execution Settings
should work when a new process is executed:

* Net Tab Each Time
Always open a new tab independently of the existent tabs in Output
window. Never close the output tab automatically.

* Clear & Reuse
First, try to reuse the tab of the same process (I am nor sure if this
is precise, I mean the same main class) that has been terminated and
the tab is still opened. If there are more such tabs choose the first
such tab from the left (better say a tab with lowest index) and clear
it. Never reuse tab of running process. If there isn't appropriate tab
to reuse, open a new tab. Never close the tab automatically.

* Append & Reuse
Behaves same way as Clear & Reuse but doesn't clear reused tab.


So, the problem is as Ivan said an automatic closing of output tabs,
which should happen in neither option.
Comment 14 David Strupl 2003-02-23 22:02:01 UTC
Ivan, Trung, Jesse - if this has to be fixed for 3.5 
please set the priority to P2. Thanks.
Comment 15 Marian Mirilovic 2003-03-13 13:42:46 UTC
Changed owner David S. -> David K.
Comment 16 pzajac 2003-05-29 12:05:01 UTC
*** Issue 34006 has been marked as a duplicate of this issue. ***
Comment 17 Marian Mirilovic 2004-01-14 15:25:03 UTC
changing owner dkonecny -> pnejedly
Comment 18 Petr Nejedly 2004-01-15 15:54:13 UTC
Works for me as specified by Jan now. No automatic closing at all.
Comment 19 Marian Mirilovic 2005-07-12 09:43:36 UTC
closed