Skip to content

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:

  1. Only the right screen is enabled, enable the left screen.
Before After
图片 图片
  1. Two screens are enabled, disable the left screen.
Before After
图片 图片
Edited by Fushan Wen

Merge request reports