Summary: | [consistency] deiconifying a Shell does not fire Activate | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Grant Gayed <grant_gayed> |
Component: | SWT | Assignee: | Project Inbox <swt-triaged> |
Status: | RESOLVED WONTFIX | QA Contact: | Grant Gayed <grant_gayed> |
Severity: | normal | ||
Priority: | P3 | CC: | steve_northover |
Version: | 3.1 | Keywords: | consistency |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux-Motif | ||
Whiteboard: |
Description
Grant Gayed
2004-11-18 11:39:56 EST
Where is the snippet? public static void main(String[] args) { Display display = new Display (); final Shell shell = new Shell(display); shell.setBounds(10,10,200,200); shell.addShellListener(new ShellListener() { public void shellActivated(ShellEvent e) { System.out.println("activated"); } public void shellClosed(ShellEvent e) { System.out.println("closed"); } public void shellDeactivated(ShellEvent e) { System.out.println("deactivated"); } public void shellDeiconified(ShellEvent e) { System.out.println("deiconified"); } public void shellIconified(ShellEvent e) { System.out.println("iconified"); } }); Text text = new Text(shell, SWT.SINGLE); text.setBounds(10,10,100,30); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } GG to prioritize. Work is discontinued on SWT's Motif port. Closing report, platform is discontinued. |