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

Bug 314222

Summary: Deadlock in ModalContext before Workbench window opened
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: beyhan.veliev
Version: 1.3   
Target Milestone: 1.4 M5   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Example project to reproduce none

Description Ralf Sternberg CLA 2010-05-25 05:19:46 EDT
Calling IProgressService.busyCursorWhile() from a PartListener#partOpened method leads to a deadlock, if the PartListener has been attached before the initial rendering of the workbench shell (WorkbenchWindowAdvisor#preWindowOpen).
Comment 1 Ralf Sternberg CLA 2010-05-25 05:20:17 EDT
Created attachment 169791 [details]
Example project to reproduce
Comment 2 Ralf Sternberg CLA 2010-05-25 05:31:49 EDT
As a workaround, add the PartListener in #postWindowOpen instead of #preWindowOpen
Comment 3 Ralf Sternberg CLA 2010-09-23 09:06:55 EDT
Is this related to bug 219913?
Comment 4 Beyhan Veliev CLA 2010-09-30 05:03:14 EDT
yes, looks related to bug 219913. Could be marked as duplicate of it.
Comment 5 Ralf Sternberg CLA 2011-02-03 17:06:38 EST
With the migration of the workbench to 3.7 the solution outlined in bug 219913 should work for RAP too. Note that DisplayAccess (bug 182176) is now also available.
Comment 6 Beyhan Veliev CLA 2011-02-10 09:52:51 EST
This bug can be closed.
>With the migration of the workbench to 3.7 the solution outlined in bug 219913
>should work for RAP too.
I verified that the solution provided in bug 219913 works in RAP also.
Comment 7 Ivan Furnadjiev CLA 2011-02-10 09:58:27 EST
(In reply to comment #6)
> This bug can be closed.
Marked as fixed with workbench migration.