shell/scripting: call `flushPendingConstraintsEvents` in `setLocation`
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 (cherry picked from commit 871d6104)
Please register or sign in to comment