Bug 79206 - [consistency] Scale fires multiple Selection events
Summary: [consistency] Scale fires multiple Selection events
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Grant Gayed CLA
URL:
Whiteboard:
Keywords: consistency
Depends on:
Blocks:
 
Reported: 2004-11-22 11:49 EST by Grant Gayed CLA
Modified: 2012-06-20 11:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Gayed CLA 2004-11-22 11:49:07 EST
- run the ControlExample, go to the Slider/Scale tab
- listen for Selection
- click in the example Scale that's on the page and you'll receive two 
Selection events
Comment 1 Christophe Cornu CLA 2004-11-24 15:03:41 EST
Scale is indeed getting twice the OS notification while the mouse is down. To be discussed with Steve.

Scale.actionProc2 3276608 129
Selection. 
java.lang.Exception: something went wrong
	at org.eclipse.swt.widgets.Event.<init>(Event.java:187)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1247)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1236)
	at org.eclipse.swt.widgets.Scale.actionProc2(Scale.java:86)
	at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2537)
	at PR79206.main(PR79206.java:38)

java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1082)
	at PR79206$1.handleEvent(PR79206.java:27)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1231)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1255)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1236)
	at org.eclipse.swt.widgets.Scale.actionProc2(Scale.java:86)
	at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2537)
	at PR79206.main(PR79206.java:38)
java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1082)
	at PR79206$1.handleEvent(PR79206.java:27)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1231)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1255)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1236)
	at org.eclipse.swt.widgets.Scale.actionProc2(Scale.java:86)
	at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native 
Method)Scale.actionProc2 3276608 129
Selection. 
java.lang.Exception: something went wrong
	at org.eclipse.swt.widgets.Event.<init>(Event.java:187)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1247)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1236)
	at org.eclipse.swt.widgets.Scale.actionProc2(Scale.java:86)
	at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2537)
	at PR79206.main(PR79206.java:38)


	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2537)
	at PR79206.main(PR79206.java:38)
Comment 2 Steve Northover CLA 2005-01-19 19:52:00 EST
Grant to prioritize.
Comment 3 Grant Gayed CLA 2012-06-19 15:21:08 EDT
Work on SWT's Carbon port is discontinued.
Comment 4 Grant Gayed CLA 2012-06-20 11:40:44 EDT
Closing report, platform is discontinued.