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

Bug 368710

Summary: ProgressBar created with SWT.INDETERMINATE does not pause on Windows XP
Product: [Eclipse Project] Platform Reporter: Martin Herbst <MHerbst>
Component: SWTAssignee: Felipe Heidrich <eclipse.felipe>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.felipe, remy.suen
Version: 3.7.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Sample code I used to test the problem none

Description Martin Herbst CLA 2012-01-16 08:41:22 EST
Build Identifier: Version 3.7 SR 1 Build ID: 20110916-0149

I have created a ProgressBar of type SWT.INDETERMINATE. If I execute progBar.setState(SWT.PAUSED) on Windows XP it does not stop. On Windows 7 it works correctly and the ProgressBar stops.



Reproducible: Always

Steps to Reproduce:
1. Create a ProgressBar Control: final ProgressBar progressBar = new ProgressBar(shell, SWT.INDETERMINATE);
2. Try to stop it with progressBar.setState(SWT.NORMAL);
3. Does not work on XP, but on Windows 7
Comment 1 Martin Herbst CLA 2012-01-16 08:42:32 EST
Created attachment 209553 [details]
Sample code I used to test the problem
Comment 2 Remy Suen CLA 2012-01-16 10:04:55 EST
I don't believe Windows XP has a concept of a paused progress bar.
Comment 3 Felipe Heidrich CLA 2012-02-01 11:27:20 EST
Remy is right, no support on XP. I added to the javadoc this API is a hint
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=4b2aecb71f54c184e8ee8ca9bf6d67941caf9780

closing as fixed.