Commit ebfb7ec
committed
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 eclipse-platform#30541 parent 0fe6c94 commit ebfb7ec
File tree
1 file changed
+4
-1
lines changed- bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
| 537 | + | |
537 | 538 | | |
538 | | - | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
539 | 542 | | |
540 | 543 | | |
541 | 544 | | |
| |||
0 commit comments