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

Bug 406109

Summary: View title still italic (busy) when view is up-to-date
Product: [Eclipse Project] Platform Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: Daniel Rolka <daniel.rolka>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, pwebster
Version: 4.3   
Target Milestone: 4.3 M7   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 372466    
Bug Blocks:    
Attachments:
Description Flags
Screenshot none

Description Markus Keller CLA 2013-04-19 12:26:20 EDT
Created attachment 229918 [details]
Screenshot

4.3.0.I20130416-0800

View title still italic (busy) when History view is up-to-date (no update job running, content is fine).
Comment 1 Dani Megert CLA 2013-04-22 06:00:39 EDT
The bug happens, e.g. when the view is closed while still running a job:

1. start new workspace
2. paste the following code into the 'Package Explorer':

package a;

import junit.framework.TestCase;

public class Bug extends TestCase {

	public void test() throws Exception {
		long delay= 5000;
		long end= System.currentTimeMillis() + delay;
		while (System.currentTimeMillis() < end);
	}
}

3. use Quick Fix to fix to add JUnit 3
4. Run As > JUnit Test
5. close the 'JUnit' view ans wait until the test ran (> 5s)
6. open the 'JUnit' view
==> title is italic


Minimized views seem not to cause the problem.
Comment 2 Daniel Rolka CLA 2013-04-22 07:40:33 EDT
(In reply to comment #1)
> The bug happens, e.g. when the view is closed while still running a job:
> 
Dani,

Could you please verify if the following change fixes the issue you have reported - https://git.eclipse.org/r/#/c/12092/ (2377dd497ecc43c7be3d7f8d5e4e68ab12b077fd)

thanks,
Daniel
Comment 3 Daniel Rolka CLA 2013-04-22 11:43:52 EDT
(In reply to comment #2)
> (In reply to comment #1)
> > The bug happens, e.g. when the view is closed while still running a job:
> > 
> Dani,
> 
> Could you please verify if the following change fixes the issue you have
> reported - https://git.eclipse.org/r/#/c/12092/
> (2377dd497ecc43c7be3d7f8d5e4e68ab12b077fd)
> 
> thanks,
> Daniel

During testing the fix using the scenario above I've noticed some aditional refreshing issue - after closing the part when it is busy and reopening it just after it gets idle and relaunching the scenario once again the tab does not change the state to the busy one. When the scenario is lauched once again it is fixed. The prepared change set solves the second issue as well.

thanks,
Daniel
Comment 4 Dani Megert CLA 2013-04-22 12:02:52 EDT
Change submitted with
Comment 6 Daniel Rolka CLA 2013-04-29 07:58:33 EDT
Verified in the build I20130428-2000