You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sync maximized flag from the shell size with the application model
Before this change the WBWRenderer did not update the application model
if the information that the shell was maximized, only during dispose
this information was updated.
This lead to outdated information in the application model and forces
clients which are interested in the actual size of the Window to check
in the Shell instead in the model.
This was introduced by
https://bugs.eclipse.org/bugs/attachment.cgi?id=183776&action=diff.
The
actual logic of restoring of size is done via a tag, so putting the size
in the application should not affect the application behavior.
This also supports the scenario in which the user re-starts the
application in maximized state, as the user can still restore to the
previous state from the application model.
Fixes#3054
Copy file name to clipboardExpand all lines: bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/WBWRenderer.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -534,8 +534,11 @@ public void hookControllerLogic(MUIElement me) {
534
534
@Override
535
535
publicvoidcontrolResized(ControlEvente) {
536
536
// Don't store the maximized size in the model
537
+
// But set the maximized tag so that the user can access the current state
0 commit comments