Skip to content

I20260111-1800

@akurtakov akurtakov tagged this 11 Jan 17:58
A *_MODAL shells with fullscreen parent was calling removed Gtk 3
function causing a crash with Exception in thread "main"
java.lang.UnsatisfiedLinkError: 'void
org.eclipse.swt.internal.gtk3.GTK3.gtk_window_set_type_hint(long, int)'
.

Simplified snippet to reproduce:
```java
Shell shell = new Shell(display);
	shell.setText("Snippet 1");
	shell.setFullScreen(true);
	shell.open ();
	Shell shell2 = new Shell(shell, SWT.PRIMARY_MODAL);
	shell2.setText("Child");
	shell2.open();
```
Assets 2
Loading