Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345530 - Job-Cascade in AbstractSwingEnvironment
Summary: Job-Cascade in AbstractSwingEnvironment
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 03:08 EDT by Matthias Zimmermann CLA
Modified: 2021-08-19 10:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Zimmermann CLA 2011-05-12 03:08:35 EDT
There's an issue when setting busyStatus in AbstractSwingEnvironment.

(1) If status is Busy Scout schedules a job ("double-check") for a IJobChangeEvent that sets the status to Idle if nothing is running anymore. Setting this status is done using SwingUtilities.invokeLater in the Swing thread.
sgeführt.

(2) If for some reason the SwingTread is busy for a long time the following is happening:
* the double-check job is finished but the status is not yet on Idle
* there is a IJobChangeEvent for the double-check job
* new double-check job are created as long as the status cannot be updated from Busy to Idle

There is no reason to create a new double-check jobs for another (terminated) double-check job as this job is only terminated if either some other job is running or the status is set to Idle with an invokelater
Comment 1 Matthias Zimmermann CLA 2011-05-12 03:09:08 EDT
fixed on 7.3.11, #94857
Comment 2 Matthias Zimmermann CLA 2011-06-28 08:38:07 EDT
shipped with eclipse scout 3.7.0