Skip to content

SWT editor doesn't update properly when a widget is moved #1273

@ptziegler

Description

@ptziegler

Consider the following snippet:

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Shell;

public class MyShell {

	public static void main(String args[]) {
		Shell shell = new Shell();
		shell.setText("SWT Application");

		Button btnNewButton = new Button(shell, SWT.NONE);
		btnNewButton.setBounds(257, 169, 147, 50);
		btnNewButton.setText("New Button");

		shell.open();
	}
}

Moving the widget moves its border, but not the snapshot.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions