Skip to content

[applets/pager] Fix switching desktops on drag & hover

ivan tkachenko requested to merge work/ratijas/pager/v0-drag into master

Fix switching desktops on drag & hover

Access to global variables holding the state for currently hovered desktop is poorly ordered by QML DropArea, so an additional check is needed to ensure a component is only cleaning up after itself.

BUG: 416878
FIXED-IN: 5.24.6 5.25.3 5.26

Refactor drag timer management out of DropArea

Having a single point of responsibility would reduce the chance of running into bugs again, such as the one fixed in a previous commit.

Merge request reports