Community
Participate
Working Groups
- run the ControlExample, Slider/Scale tab - turn on the Selection listener - click on the thumb of the example Slider -> on win32 two selection events are fired (details 0 and 1 respectively) -> everywhere else one selection event (detail 0) is fired
slight correction: on win32 the details in order are 1,0 not 0,1
SN to investigate. Window has the concept of "selection end" for sliders that doesn't exist on other platforms. This could be what we are (incorrectly) seeing.
Fixed > 20041124
... no, really fixed.
Fixing this bug introduced bug 100610.
It turns out that all platforms have the concept of selection end but Windows sends both a drag and a selection end when the scroll bar is clicked and not moved. Others just send the end.
Actually, the extra event is a SWT.DRAG.
"Selection end" is now supported on all platforms. The extra SWT.DRAG is not harmful.