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

Bug 55521

Summary: [Progress] showBusyCursorWhile doesn't reset cursor
Product: [Eclipse Project] Platform Reporter: Jean-Michel Lemieux <jean-michel_lemieux>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jean-Michel Lemieux CLA 2004-03-22 09:52:37 EST
There are two issues with the implementation of this method that could be fixed. 

First, the way the it's currently implemented the busy cursor will only return
to  be un-busy after a predetermined 5 seconds. Even if the runnable finishes
quickly the cursor has this weird delay. I suggest adding a hook so that the
busy loop terminates when the runnable completes.

Also, if an exception occurs in #scheduleProgressMonitorJob() the busy flag is
not reset and the loop in busycursorWhile won't complete.
Comment 1 Tod Creasey CLA 2004-03-22 11:47:52 EST
This is not how the code works.