Community
Participate
Working Groups
I20080530-1730 On the Mac, maximizing a shell by clicking the green '+' button does not fix the location when the shell size is already maximal. To reproduce, run the snippet below, and then click the green '+'. When you uncomment the lines that reduce the size, clicking the '+' works as expected. public class SnippetShellMax { public static void main(String[] args) { Display display= new Display(); Shell shell= new Shell(display); Rectangle bounds= display.getClientArea(); bounds.x+= 100; bounds.y+= 100; // bounds.width-= 200; // bounds.height-= 200; shell.setBounds(bounds); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.