Community
Participate
Working Groups
Build: 20020404 The internal error dialog defaults the focus to the "Yes" answer, it should default to "No". The main problem I have with defaulting to "Yes" is that an absentminded Enter causes the entire workspace to shutdown.
Agree. Should fix for M5.
It depends on the type of error. If you get something like NullPointerException the default will be "NO" but if you get OutOfMemoryError, StackOverflowError, VirtualMachineError, SWTError it is very likely that you will have subsequent errors and you should exit. Event the error message is different. In the second case it recomends that you exit and in the first case it just asks. Going to mark this as invalid, if you agree.
I have no problem changing the contents of the dialog. Suggesting the user exit on critical errors sounds like a good plan. However, setting up defaults so that an absentminded Enter causes the workspace to shutdown is not a feature. Some of our users are seeing 20 minute startup. (http://bugs.eclipse.org/bugs/show_bug.cgi?id=11585) If they hit enter by mistake we've just wasted 20 minutes of their life. Forcing the user to click yes is a good thing in this case.
I concur with Jed. I feel it is wrong to change which button is the default based on the severity. This is just asking for command mode errors since it works differently depending on something the user isn't even paying attention to. Particularly since sometimes an SWTError can occur but is not a serious error. There are other cues which could be used, e.g. big red flashing text, to indicate it's a severe error and the recommendation is to exit.
Fixed and released.
0423 This still fails for me. If I try to debug it, things work, but in normal operation, the default appears to be yes.
Must fix for Friday.
I added code to InternalErrorDialog to work it around. Going to leave this bug opened so I can remove the workaround when bug 14668 gets fixed.
If bug 14668 won't be fixed then we can't remove the workaround. Marking this as fixed since the workaround is becoming the fix.