Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 579193

Summary: [RAP] widget is disposed on slow network while closing the shell
Product: [RT] RAP Reporter: Sini Ann Padinjarekuttu <sini-ann.padinjarekuttu>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 3.12   
Target Milestone: 3.16   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Sini Ann Padinjarekuttu CLA 2022-03-10 05:41:45 EST
Description:
With slow internet connection, it happens often that user clicks the x button to close the window. As the slow connection, the window does not close immediately. So the user clicks again on it (eventually multiple times). This generates multiple close events on the same shell that are sent to the server side. the server with the first event closes the shell and from the second event, it starts throwing widget disposed exception.

This behaviour( the widget disposed error) makes for sure sense in the rich client applications, but not really in web applications where connection problems can happen anytime.

Reproduction Scenario:
Slow down the edge by using the Devtools and switch network to "Slow 3G" and CPU to "6x slowdown".
Widget disposed exception occurs when the close x button is clicked more than once.
Comment 1 Ivan Furnadjiev CLA 2022-03-15 04:11:06 EDT
I think that this issue has been resolved in RAP 3.16 with this change: https://git.eclipse.org/r/c/rap/org.eclipse.rap/+/177154
Please reopen if you disagree.