Community
Participate
Working Groups
- run the ControlExample, Slider/Scale tab - turn on the MouseDown and Selection listeners - click on the example Slider's thumb -> on OSX the following is fired: Selection, Selection, MouseDown -> on win32 the following is fired: MouseDown, Selection, Selection (bug 78558) -> everywhere else: MouseDown, Selection
Looks like a bug. Should be MouseDown, Selection everywhere to be consistent with controls such as List.
To be exact, Selection should follow MouseDown for native controls. It is unspecified whether Selection comes before MouseUp.
Fixed so that we now get MouseDown, Selection detail = 1, ... Selection detail = 1, Selection detail = 0, Mouse Up. Needed to add the tracking code to Slider. In addition to fixing the bug reported here, this fixed the fact that there was no mouse up. Fixed for 3.1 in HEAD > Nov 24.