Application frozen while reloading (F5) [message #1245160] |
Thu, 13 February 2014 06:40  |
Eclipse User |
|
|
|
Hello,
I'm having the following but. Tested with Eclipse 4.3.1 and RAP 2.1. Also tested using RAP Target Platforms from RAP 2.2 and 2.3M1
If one application containing a confirmation dialog in the WorkbenchAdvisor#preShutDown() method is reloaded (F5), the whole application is frozen.
Steps to reproduce it using the Demo application:
1. Open class DemoWorkbenchAdvisor.java
2. Override preShutDown method as follows:
/** {@inheritDoc} */
@Override
public boolean preShutdown()
{
boolean delete = true;
delete = MessageDialog.openQuestion(new Shell(),
"Application Exit", "Do you really want to close the application?");
return delete;
}
3. Try to close the application through File->Exit: Confirmation Dialog appears.
4. Press No. The application continues.
5. Try to refresh the browser tab. The application frozen. It is not possible to use the application anymore from the same browser, even with new tabs, until the frozen tab is closed.
It is not recommend to use Eclipse browser for this test because the whole Eclipse PDE will become frozen.
Regards,
David
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06529 seconds