Bug 275010

Summary: Spinner - Copy/Paste doesn't work if Spinner does not have focus
Product: [Eclipse Project] Platform Reporter: Kevin Barnes <cocoakevin>
Component: SWTAssignee: Scott Kovatch <skovatch>
Status: NEW --- QA Contact: Silenio Quarti <Silenio_Quarti>
Severity: normal    
Priority: P3 CC: cocoakevin, eclipse.felipe, grant_gayed, Silenio_Quarti, skovatch
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Kevin Barnes CLA 2009-05-05 11:46:11 EDT
public static void main(String[] args) {
		final Display display = new Display();
		final Shell shell = new Shell(display);
		
		final Spinner one = new Spinner(shell, SWT.NONE);
		one.setLocation(10, 10);
		one.pack();
		final Spinner two = new Spinner(shell, SWT.NONE);
		two.setLocation(10, 40);
		two.pack();
		
		final Text text = new Text(shell, SWT.SINGLE|SWT.BORDER);
		text.setBounds(10, 70, 300, 25);
		
		shell.addListener(SWT.MouseDown, new Listener() {
			public void handleEvent(Event event) {
				one.copy();
				two.paste();
				text.paste();
			}
		});
		shell.open();

		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
		display.dispose();
	}
Comment 1 Scott Kovatch CLA 2010-06-02 14:03:33 EDT
Mass move of Kevin's open Mac Carbon & Cocoa bugs to Scott K.
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:10:03 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.