Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
When an external monitor is connected or disconnected, about 25% of the time an activity does not resize correctly; a
size-changedsignal occurs but the workarea geometry has not changed.Underlying problem is an update race in
get_monitor_workarea, so the fix is to callget_monitor_geometryfor obtaining the width and height.Can be reproduced easily without an external monitor by switching display panel resolution repeatedly;
Part of a fix for https://bugs.sugarlabs.org/ticket/4968
Related pull request sugarlabs/sugar#732 can be merged in any order with this pull request; the patches are independent but solve the same problem in two different contexts.