From 165fa81da4a2ed9fa7346e8914aa0a07e76227d4 Mon Sep 17 00:00:00 2001 From: wackyideas <17151-wackyideas@users.noreply.gitgud.io> Date: Mon, 12 Sep 2022 20:37:06 +0200 Subject: [PATCH] Fixes incorrect behaviour when using SevenTasks while it is configured to sort tasks manually. Expected behaviour: 1. Dragging pinned tasks around should update their position correctly and keep that position permanently 2. Dragging items that are NOT tasks should focus the task that is being hovered over for easier drag and drop functionality Actual behaviour: 1. Dragging pinned tasks around seemingly works, until the task manager is updated in any kind of way, at which point the positions are reverted back to the original state. 2. Dragging items that aren't tasks will only focus the hovered task if previous dragging actions didn't occur between two or more tasks. After that, trying to drag items onto the taskbar will cause the task that was dragged last time to move around according to the mouse's position. --- .../contents/ui/.Task.qml.kate-swp | Bin 0 -> 138 bytes .../contents/ui/.main.qml.kate-swp | Bin 0 -> 814 bytes .../contents/ui/MouseHandler.qml | 15 +++++++++++---- .../contents/ui/Task.qml | 10 ++++++++-- .../seventasks_src/build/install_manifest.txt | 2 -- .../src/package/contents/ui/MouseHandler.qml | 15 +++++++++++---- .../src/package/contents/ui/Task.qml | 10 ++++++++-- 7 files changed, 38 insertions(+), 14 deletions(-) create mode 100644 Plasma/Plasma Widgets/User/Task Icons/org.kde.plasma.seventasks/contents/ui/.Task.qml.kate-swp create mode 100644 Plasma/Plasma Widgets/User/Task Icons/org.kde.plasma.seventasks/contents/ui/.main.qml.kate-swp diff --git a/Plasma/Plasma Widgets/User/Task Icons/org.kde.plasma.seventasks/contents/ui/.Task.qml.kate-swp b/Plasma/Plasma Widgets/User/Task Icons/org.kde.plasma.seventasks/contents/ui/.Task.qml.kate-swp new file mode 100644 index 0000000000000000000000000000000000000000..bc94aed272a66dce10e408f9bc283e63396856e8 GIT binary patch literal 138 zcmZQzU=Z?7EJ;-eE>A2_aLdd|RWQ;sU|?Vn@n%pzJn41KHq$v)kNSL+X%ER^F6;>18XP9RP+l%o&|WWfA7E4zDp0i zw~wdS@XVOZr;8pOyN56Lz~$M0t{_ZOJeQK`iidF|9>E>)D83Sp;ktMnx5QZ-2Vvda zI1mt#lCn3H^j48^_#=$eDk;| z`FUIuFQn=haY5n*tiD&o#UPZ7CElnLF5{lWSFqYp313Rw$7(~XSWU#=q$gU(M^azL sx8e