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 31594 - No action when "Waiting for Tasks to Finish" dialog comes up
Summary: No action when "Waiting for Tasks to Finish" dialog comes up
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2003-02-28 20:40 UTC by Ann Sunhachawee
Modified: 2008-12-22 17:01 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 Ann Sunhachawee 2003-02-28 20:40:15 UTC
Start IDE.
Execute a web module (from the web-inf node).
Try to shut down the IDE through File->Exit.
The dialog "Waiting for Tasks to Finish" comes up
with "Please wait while IDE finishes some tasks:"
with the server process listed. This dialog seems
to remain up indefinitely when server is still up.

Not clear if this dialog is actually doing
anything since it can stay up until user pushes 
"End Tasks". The dialog should provide some
activity monitor to user to let them know some
action is happening and it should really try to
end those processes (e.g. shut down the server)

Note: This was pointed out by an internal user as
well.
Comment 1 Jiri Rechtacek 2003-03-03 08:25:32 UTC
Pls, look on it, maybe a problem with finishing a task to web module.
If it's a defect with a dialog framework then reassign back. Thanks
Comment 2 _ rkubacki 2003-03-03 10:04:37 UTC
I'd say that this dialog is confusing. If I understand it correctly
its purpose is to warn user that there are some executed processes ans
ask if they ought to be stopped or the Exit actions should be
canceled. If this is the case then the wording here is not good.

I miss possibility to leave executed proces untouched and exit the IDE
that has good sense if the process is for instance Tomcat server or
app server. It means that the dialog should be more similar to 'save
on exit' circumstance - save & exit/discard changes & exit/cancel
action. Option matching to discard (leave the proces(ses) running and
exit is missing.
Comment 3 Ann Sunhachawee 2003-03-03 19:20:59 UTC
Jiri R - Are there other examples of processes that might cause this
dialog to show? and are those tasks ended by the IDE (that is, user
doesn't have to do press anything)?

Please contact HIE if wording or functionality (e.g. adding buttons)
is going to be the proposed fix. I can could help or would find
someone appropriate.
Thanks!
Comment 4 mslama 2003-03-17 11:49:29 UTC
Assign to UI to define solution.
Comment 5 Marian Mirilovic 2004-06-14 14:01:59 UTC
re-evaluate please ...
Comment 6 jrojcek 2004-09-06 16:46:37 UTC
Okay, so apparently the IDE is not actively terminating the running processes. I suggest to 
do a simple wording change:

* Change title to "Exit IDE".
* Change label to "Exiting the IDE will terminate the following processes:" and still show 
the list of processes as we do it now.
* Change the "End Tasks" button to "Exit IDE" and make it the default button.
* Change the preferred size to 360x240.
* Only 2px spacing between the label and the list.
Comment 7 David Simonek 2004-09-06 16:57:55 UTC
I never met such dialog, does anybody know where the code is?
Comment 8 Jiri Rechtacek 2004-09-06 17:03:08 UTC
See core/execution/src/org/netbeans/core/execution/Install.java
Comment 9 David Simonek 2004-09-06 17:10:20 UTC
Thx.
Comment 10 David Simonek 2004-10-08 16:23:27 UTC
fixed in main trunk. Size of the dialog is relative and thus
approximate (+- several pixels) to handle nonstandard font sizes well.


/cvs/core/execution/src/org/netbeans/core/execution/Bundle.properties,v
 <--  Bundle.properties

new revision: 1.10; previous revision: 1.9

/cvs/core/execution/src/org/netbeans/core/execution/Install.java,v 
<--  Install.java

new revision: 1.18; previous revision: 1.17
Comment 11 Zdenek Konecny 2005-08-01 13:08:35 UTC
Closed