Skip to content

Shell Icon disappears on zoom change (Monitor Specific scaling) #231

@ShahzaibIbrahim

Description

@ShahzaibIbrahim

Moving shell from primary monitor to secondary makes the top left icon disappear.

Snippet

Display display = new Display();
Image image1 = display.getSystemImage(SWT.ICON_WORKING);
Shell shell = new Shell(display);
shell.setText("My Snippet");
shell.setImage(image1);
shell.open();
while (!shell.isDisposed()) {
	if (!display.readAndDispatch()) {
		display.sleep();
	}
}
display.dispose();

Image

Metadata

Metadata

Labels

HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

Type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions