Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323219 - Spinner.setDigits triggers a SWT.Selection Event on Linux and not on Windows
Summary: Spinner.setDigits triggers a SWT.Selection Event on Linux and not on Windows
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5.2   Edit
Hardware: PC Linux
: P3 critical with 1 vote (vote)
Target Milestone: 3.7 M2   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-20 05:05 EDT by Romain Raugi CLA
Modified: 2010-09-15 17:00 EDT (History)
4 users (show)

See Also:


Attachments
unit test (1.29 KB, application/octet-stream)
2010-08-20 05:07 EDT, Romain Raugi CLA
no flags Details
unit test (1.26 KB, text/plain)
2010-08-20 05:09 EDT, Romain Raugi CLA
no flags Details
patch for R3_4_maintenance (865 bytes, patch)
2010-08-25 09:38 EDT, Felipe Heidrich CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Romain Raugi CLA 2010-08-20 05:05:42 EDT
Build Identifier: 20100218-1602

In Windows, calling setDigits() on a spinner does not fire any event. This is not the case on Linux. The attached JUnit test highlights the bug, this event should not be triggered when calling setDigits(). 

This makes our product working differently in Windows and Linux.


Reproducible: Always

Steps to Reproduce:
1.Create a spinner.
2.Call setDigits(XX)
3.On Windows, the event is not fired. What is fine.
4.On Linux, the event is fired. Here is the bug.
Comment 1 Romain Raugi CLA 2010-08-20 05:07:13 EDT
Created attachment 177070 [details]
unit test
Comment 2 Romain Raugi CLA 2010-08-20 05:09:52 EDT
Created attachment 177071 [details]
unit test
Comment 3 Felipe Heidrich CLA 2010-08-20 12:56:06 EDT
Fixed in HEAD > 20100820

Please, verify it in the next nightly build. Thanks.
Comment 4 Felipe Heidrich CLA 2010-08-25 09:38:02 EDT
Created attachment 177418 [details]
patch for R3_4_maintenance