shell: refresh geometries of all `DesktopView` and `PanelView` after screen is added/removed
There is no geometryChanged signal after a new screen is added/removed, which will cause the desktop and the panel dislocation. Manually updating them fixes the bug.
BUG: 450443 FIXED-IN: 5.25
Ref plasma-desktop#34 (closed)
Test:
- Only the right screen is enabled, enable the left screen.
Before | After |
---|---|
- Two screens are enabled, disable the left screen.
Before | After |
---|---|
Edited by Fushan Wen