| Summary: | Lot of Gdk-WARNING (invalid X atom) | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Luca Viggiani <lviggiani> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | akurtakov, lviggiani, remy.suen |
| Version: | 4.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Luca Viggiani
Hallo,
I've additional information:
The warnings actually occurs when I create a menu bar for my shell... the accused code is:
Menu menuBar = new Menu(shell, SWT.BAR);
here is the complete code:
public class Main {
public static void main(String[] args) {
Display.setAppName("testswt");
Display display = new Display();
Shell shell = new Shell(display);
shell.setText("test");
Menu menuBar = new Menu(shell, SWT.BAR); // comment this to prevent wornings
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();
}
display.dispose();
}
}
PLEASE HELP!!!
I can not reproduce this with Luna stream. Closing. Please reopen if you still experience it with more details. |