Māris Nartišs (67886ca2) at 17 Feb 10:10
Māris Nartišs (65526231) at 13 Feb 14:05
applets/taskmanager: reset animating property on mouse enter
... and 45 more commits
I observe the issue on my Debian sid box (Qt 5.15 and Plasma 5.27 at the moment). It is timing related as session restore with three FF windows on a virtual desktop triggers it always, having other restored windows – only sometimes. All I observe is the target.animating value being true after session has been completely restored (= all animations being complete) and thus blocking any item reordering with a mouse. Could there be some optimization in Qt as on session restore there are many (parallel?) animation calls (more than can be processed on time)? If you need more info, you'll have to provide detailed steps how to gather it, as I'm not familiar with Qt/qml/C++ (I know a bit of C/js/Python only).
TaskList Grid move during a SequentialAnimation sets an later removes "animating" property. Sometimes (e.g. session restore) this animation fails to complete and then "animating" property remains true. This prevents drag'n'drop with mouse, as MouseHandler onPositionChanged skips everything if "animating" property is set.
BUG: 465377 FIXED-IN: 6.0
Māris Nartišs (2c6d19f7) at 18 Jan 17:44
applets/taskmanager: reset animating property on mouse enter
I was wrong – it is easy to reproduce. I have a vertical task bar and thus icons are large and reproducing is easy. If I click and start drag in the upper half of icon and start to drag to the top, nothing happens (to the bottom will be the same). If I click on the lower half of icon and start to drag upwards, it works as expected. Thus it seems that half icon drag is evaluated too soon – before mouse release just at the moment when mouse leaves icon area. This can be not enough if mouse has traveled (drag started) less than half of icon size before reaching icons edge.
Tracking down why this code breaks reordering will be hard, as I came here to state the same – manual reordering does not work (I'm using Plasma on X11) but then it started to work on its own without any changes made by me, just another attempt on dragging.