| Summary: | in case of full screen shell none of the dialog appear eg. not even context menu | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Levente Farkas <lfarkas> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ericwill |
| Version: | 4.5.2 | Keywords: | triaged |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
I cannot reproduce this issue on GTK3.22/4.8 M7/Fedora 28. |
here is a very simple example where the problem is very easily recognizable. package net.vidux.test; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; public class SWTTestFullScreenDialog { public static void main(String[] args) { Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new GridLayout()); Button openDialog = new Button(shell, SWT.NONE); openDialog.setText("Open dialog"); openDialog.addListener(SWT.Selection, new Listener() { public void handleEvent(Event arg0) { MessageDialog.openInformation(shell, "Info Title", "Info message"); } }); shell.open(); shell.setFullScreen(true); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }