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 24596 - Execution window is not visible by default
Summary: Execution window is not visible by default
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2002-06-10 15:29 UTC by Petr Jiricka
Modified: 2008-12-22 17:49 UTC (History)
4 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 Petr Jiricka 2002-06-10 15:29:05 UTC
When executing a web application, it is very convenient 
(perhaps even necessary) to see the execution window, as 
that is the only way to stop the server, started by the 
Execute action. Currently the Execution window is not 
opened by default which makes stopping the server 
inconvenient to do, and most users may will find out how 
the server can be stopped.

Sorry for the high priority, but this is a major usability 
issue (and a usability regression).
Comment 1 Marian Mirilovic 2002-06-11 12:29:46 UTC
Hmm, this is as design. 
It works the same way in the 3.3.1, or not?
Comment 2 David Simonek 2002-06-11 12:52:30 UTC
Hm, I think I don't quite understand, so let's make it clear:
- execution window *is not* opened on system startup and never was
- execution window *is* opened when executing something (I tried
simple F6 on java source and it works as expected)

so, what are you trying to say? first case is as designed and second
case is worksforme, so I'm closing for now.

I'm convinced that this is just misunderstanding, so please explain
what's wrong and reopen. Thx.
Comment 3 David Simonek 2002-06-11 12:58:56 UTC
Oops, my fault, I was wrong with second case I described, I mixed
execution and output window, sorry.
Ok now I understand, what you say is:
"Execution window should automatically open whenever execution process
starts."
This will require nbui attention.
 
Comment 4 Petr Jiricka 2002-06-11 14:42:15 UTC
To Marian: I guess I should clarify what I mean. In NB 
3.3.1, the Execution window was visible after execution, 
as the IDE switched to the Running workspace. Now there is 
no Running workspace, so the execution window is not 
visible after execution.
Comment 5 Marian Mirilovic 2002-06-11 14:51:09 UTC
Yes, Peter is right, my fault, sorry.

Jano , please help us.
Comment 6 David Simonek 2002-06-11 15:25:32 UTC
I already started new thread about this issue on nbui, because IMO
there is ui specification missing, apparently behaviour of execution
window isn't well thought out now when running workspace is in vain.
Comment 7 _ ttran 2002-06-17 08:40:12 UTC
assigned to jrojcek because we need HIE/UI work.  Please reassign back
to dsimonek after the the info he asked for is provided.
Comment 8 jrojcek 2002-06-21 14:47:50 UTC
I think this has been agreed in nbui discussion:

Execution view should be opened automatically when a process is
started and the view is not visible. Execution view should be closed
automatically when last executed process is terminated and the view
was opened automatically. It means that do not close the view
automatically if it was opened explicitly.
Comment 9 David Simonek 2002-06-27 12:49:22 UTC
working on it...
Comment 10 David Simonek 2002-06-27 15:12:00 UTC
fixed in main trunk.
Comment 11 jrojcek 2002-07-09 09:45:03 UTC
I am reopening this issue because the fix is not correct. I didn't
know that internal processes like compilation are displayed in
Execution view. The result is that compilation automatically opens and
closes Execution view. Automatic opening should mimic switching to
Execution workspace from previous release, thus Execution view should
be opened *only* when execute action is run (or was there a different
condition for switching to Executing workspace?).

Maya, is it correct now?

I am sorry for blunder. Please, implement the fix to 3.4. Thank you.
Comment 12 David Simonek 2002-07-09 10:03:20 UTC
My fix is doing exactly what was specified by nbui discussion result ;-)
I doubt if last specified approach is correct either - there may be
processes executed directly through execution engine, not through
execute action, and they will not trigger exec window opening, which
is again not correct.
In other words - it's not clear when exec window should be opened and
when shouldn't. 
Comment 13 jrojcek 2002-07-09 10:19:58 UTC
I agree. How does switching to Executing workspace work in 3.3? Can we
do the same but instead of switching workspace open the view?
Comment 14 jrojcek 2002-07-09 10:46:33 UTC
When running NB3.3 following happens when running source that needs to
be compiled first. Workspace is switched only when the source is
actually run (compilation was successful). It means that Execution
view should be opened only after successful compilation in case a
source have to be compiled first.
Comment 15 David Simonek 2002-07-09 10:50:29 UTC
Yes, right, but my complain above is still valid. What if anybody
starts process using ExecutionEngine.execute?
Comment 16 jrojcek 2002-07-09 11:04:23 UTC
What happened in that case in 3.3 with workspace switching? I hope we
can do the same with opening the view. Does it make sense?
Comment 17 David Simonek 2002-07-09 17:03:40 UTC
fixed in main trunk.
Comment 18 Marian Mirilovic 2002-09-10 13:55:50 UTC
verified in nb3.4
Comment 19 Quality Engineering 2003-07-01 16:33:50 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.