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 54116 - Input textfield, once closed, does not reopen during the same build
Summary: Input textfield, once closed, does not reopen during the same build
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-28 02:50 UTC by Jesse Glick
Modified: 2008-12-22 20:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample script (2.02 KB, text/plain)
2005-01-28 02:50 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2005-01-28 02:50:22 UTC
If you run an Ant target that requests some input,
the Input field in the OW opens, you enter some
lines of text, then press the Close button when
done; and then the Ant script requests some more
input, it won't get it - the input field is
already closed and it will get an immediate EOF.
This behavior is (1) undesirable, (2) inconsistent
with command-line usage where Ctrl-D (Unix) or
Ctrl-Z (Windows) sends EOF to the current
subprocess but permits another one to still get
input again.

To reproduce, just try the nofork-repeated-stdin
target in the attached script, both from the
command line and from NetBeans (dev build).
Comment 1 Jesse Glick 2005-01-28 02:50:53 UTC
Created attachment 20021 [details]
Sample script
Comment 2 Milos Kleint 2005-02-01 08:56:40 UTC
not sure how to reproduce the problem.
I've writen this target and it runs without an issues. I've tried
running repeatedly, closing the output, clearing the output, but stil
cannot reproduce. Please reopen with more information.

    <target name="printoutput">
       <input message="my message1" addproperty="milos.kleint"/>
       <echo message="output ${milos.kleint}"/>
       <input message="my message2" addproperty="milos.kleint2"/>
       <echo message="output ${milos.kleint2}"/>
    </target>
Comment 3 Milos Kleint 2005-02-01 08:58:23 UTC
reopening. I missed the attached file.
Comment 4 Milos Kleint 2005-11-15 11:58:33 UTC
done,

Checking in src/org/netbeans/core/output2/Controller.java;
/cvs/core/output2/src/org/netbeans/core/output2/Controller.java,v  <-- 
Controller.java
new revision: 1.43; previous revision: 1.42
done
Checking in src/org/netbeans/core/output2/NbIO.java;
/cvs/core/output2/src/org/netbeans/core/output2/NbIO.java,v  <--  NbIO.java
new revision: 1.10; previous revision: 1.9