PR# 11433 Interrupting estudio results in Uncaught Exception window as well as Internal Error window
Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2006/09/26
Class: Bug
Severity: Non-critical
Number: 11433
Release: 5.7.63888
Confidential: No
Status: Analyzed
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.10) Gecko/20050726 Firefox/1.0.6
Solaris 9 on SPARC
Synopsis: Interrupting estudio results in Uncaught Exception window as well as Internal Error window
Description
Start estudio using "estudio" (in foreground) - not via "ec -gui". When initial project load window comes up, type control-C. In addition to the expected Internal Error window, a second window titled Uncaught Exception: Interrupt also appears. I suspect this second window is from the estudio launcher process. It should either display nothing (which might be problematic if it has a problem launching "ec") or something besides the default error window. Perhaps it shouldn't display anything if it has already successfully started "ec". Maybe this needs more thought. Although non-critical, this is rather confusing to a user, who sees two error windows.
To Reproduce
Problem Report Interactions
Yes, estudio and "ec -gui" now seem to behave the same. The first control-C results in an Internal EiffelStudio Exception window, as expected. A second control-C then results in an Uncaught Exception window (for either estudio or "ec -gui"). So the behavior is consistent, but seeing an Uncaught Exception window makes me think that something is amiss. If this is the intended behavior (or if it is not the intended behavior but you don't think you can improve this any further), feel free to close this report.
The previous fix ensures that estudio does not raise an exception dialog. Now the behavior is the same as that using "ec -gui".
I don't see any improved behavior in rev 81438. Typing a control-C brings up the Internal Estudio Exception window, as expected. Typing a 2nd control-C while this window is displayed still brings up a second window with title Uncaught Exception: Interrupt. Reopening report.
This has been improved in rev#80952. The fix will be available in next 6.5 intermediate release. Thank you for the report.
The behavior of this has improved (I'm using 6.4.78212). Typing control-C normally no longer displays an Uncaught Exception window. However, if one types control-C in the window from which estudio was started and then types a second control-C after the Internal EiffelStudio Exception window is displayed, then an Uncaught Exception window is displayed. So there is still a small bug here.