on pressing the x in the top right corner, to close a solitary preview window, whether it's in the maximised or minimised state, on hovering over the icon, the window will not close on clicking until the cursor moves away from the preview box; in contrast if there were multiple instances of the program open, all preview windows will close on clicking the x button immediately, until you reach the final solitary preview window and it behaves as described above, this happens whether the windows are maximised or minimised and seems to be latte specific as it's not replicated on doing the same with kde native panel. I'm not sure if this is by design or not as it does no major harm but seems to have no purpose and is inconsistant as described...
> on pressing the x in the top right corner, to close a solitary preview window, whether it's in the maximised or minimised state, on hovering over the icon, the window will not close on clicking until the cursor moves away from the preview box; looks like a bug... > in contrast if there were multiple instances of the program open, all preview windows will close on clicking the x button immediately this is happening also with plasma taskmanager when you click the last preview. The reason is that after clicking the last preview the mouse is outside the previews window and that triggers a closing. same thing happens with Latte also...
Git commit 3fe9d2bc4ef2ebe0fb848ce226076d4765e78f10 by Michail Vourlakos. Committed on 15/03/2018 at 22:17. Pushed by mvourlakos into branch 'master'. hide preview when closing last preview from btn M +5 -0 plasmoid/package/contents/ui/task/animations/TaskRealRemovalAnimation.qml https://commits.kde.org/latte-dock/3fe9d2bc4ef2ebe0fb848ce226076d4765e78f10