Bug 275010 - Spinner - Copy/Paste doesn't work if Spinner does not have focus
Summary: Spinner - Copy/Paste doesn't work if Spinner does not have focus
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Scott Kovatch CLA
QA Contact: Silenio Quarti CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-05 11:46 EDT by Kevin Barnes CLA
Modified: 2019-09-06 16:10 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.