Skip to content

shell/scripting: call `flushPendingConstraintsEvents` in `setLocation`

Fushan Wen requested to merge work/fuf/shell/flushPendingConstraintsEvents into master

After location is set, one layout script will usually start adding widgets. It's required to emit formFactorChanged() to update plasmoid.formFactor bindings in QML side to avoid Layout issues.

See isHorizontal in plasma-desktop/containments/panel/contents/ui/main.qml

Merge request reports

Loading