Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368710 - ProgressBar created with SWT.INDETERMINATE does not pause on Windows XP
Summary: ProgressBar created with SWT.INDETERMINATE does not pause on Windows XP
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 08:41 EST by Martin Herbst CLA
Modified: 2012-02-01 11:27 EST (History)
2 users (show)

See Also:


Attachments
Sample code I used to test the problem (1.36 KB, text/plain)
2012-01-16 08:42 EST, Martin Herbst CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.