Bug 415333

Summary: [qt 5.14] - Long pressing on Latte dock icon makes it unusable
Product: [Unmaintained] lattedock Reporter: Yaohan Chen <yaohan.chen>
Component: plasmoidAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 0.9.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 0.9.6
Sentry Crash Report:

Description Yaohan Chen 2019-12-18 20:57:34 UTC
SUMMARY
After long-pressing with mouse on a Latte dock icon, a blue border appears around the icon, and the icon can no longer be used to switch window or launch the application.

STEPS TO REPRODUCE
1. Have a Latte dock open
2. Move the mouse cursor over an icon in the dock
3. Hold the mouse down for about a second
4. Try to click on the icon to bring the application to the front or launch it

OBSERVED RESULT
A blue border appears around the icon, and the icon can no longer be used to switch window or launch the application. It still responds to mouse over and shows the context menu on right click. The icon is usable again if Latte dock is restarted.

EXPECTED RESULT
The icon should be usable like normal

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.65.0
Qt Version: 5.14.0
Comment 1 Michail Vourlakos 2019-12-18 21:26:17 UTC
This is the dragging functionality, I suppose Qt 5.14 broke it...
Comment 2 Michail Vourlakos 2019-12-30 17:22:07 UTC
Git commit 1e433767812340928f579e672b9ef51a5033a42b by Michail Vourlakos.
Committed on 30/12/2019 at 17:19.
Pushed by mvourlakos into branch 'master'.

[qt5.14]-restore dragged task to normal in the end

after dragging a task, the task should return to
normal state. In qt 5.14 default states that have
a "when" property do not play well
FIXED-IN:0.9.6

M  +5    -3    plasmoid/package/contents/ui/task/IconItem.qml

https://commits.kde.org/latte-dock/1e433767812340928f579e672b9ef51a5033a42b
Comment 3 Michail Vourlakos 2019-12-30 17:25:15 UTC
Git commit d8e9a5688bb4ea6b0e651fdd9e5774d005b077e2 by Michail Vourlakos.
Committed on 30/12/2019 at 17:25.
Pushed by mvourlakos into branch 'v0.9'.

[qt5.14]-restore dragged task to normal in the end

after dragging a task, the task should return to
normal state. In qt 5.14 default states that have
a "when" property do not play well
FIXED-IN:0.9.6

M  +5    -3    plasmoid/package/contents/ui/task/IconItem.qml

https://commits.kde.org/latte-dock/d8e9a5688bb4ea6b0e651fdd9e5774d005b077e2