Community
Participate
Working Groups
The un-maximized workbench window size is not restored when eclipse is restarted on Solaris. Each time I restart eclipse, the window gets a few pixels wider and taller. Steps to reproduce. - launch eclipse in un-mizimized mode - remember main window size and location - close eclipse - restart eclipse - check main window size and location After each restart workbench window will be a few pixels wider and taller. Env details: eclipse.buildId=M20080221-1800 -os solaris -ws gtk -arch sparc
I've just tested this and the window stays the same size on XP...perhaps we're not taking the shell sizing trim into account on Solaris??
Does this still happen on 3.4? Note that you shouldn't need to compute anythin, just query the bounds of the shell. They should include the trim.
on XP everything work fine.. On Solaris during setBounds() there is some trimWidth() and trimHeight() functions which uses some hardcoded "guess" constants. May be them causes such behaviour?
Right. There's not much we can do about that. Bogdan, please determine that this is what is happening. BTW, it should also happen on GTK Linux. If for some reason it's only happening on Solaris, we'll need to investigate there. NOTE: The trim guess may be better for GTK Linux and be hiding the problem. If you come to the conclusion that the guess is the problem, a new window manager atom was added recently to the X window manager spec that allows application code to query the trim. Unfortunately, the name escapes me. Once we know the problem is the guess, we will investigate the new atom.
I found the dup for this. Same problem; same potential solution. *** This bug has been marked as a duplicate of bug 160964 ***