Bug 397193 - Latte fails to show window thumbnails with multiple application windows
Summary: Latte fails to show window thumbnails with multiple application windows
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: plasmoid (show other bugs)
Version: 0.8.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
: 397564 398253 398502 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-05 23:21 UTC by Ben Daines
Modified: 2018-09-11 17:48 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.8.1
Sentry Crash Report:


Attachments
broken window thumbnails (86.89 KB, image/png)
2018-08-05 23:21 UTC, Ben Daines
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Daines 2018-08-05 23:21:12 UTC
Created attachment 114312 [details]
broken window thumbnails

The one thing that's making latte less usable than a standard task switcher for me is that it is not creating window thumbnails when a running application has multiple windows open.  

For example, I should be able to choose which firefox window to switch to by hovering over the launcher, then choosing a thumbnail.  However, as you can see, those thumbnails fail to load.  Thumbnails work just fine for programs with only one window open.  

Currently I must either use alt-tab to find the window I want, or click the launcher icon, then move the cursor a (comparatively) great distance across the screen to pick the window.  

What makes this super strange is that occasionally, the thumbnails will work as expected, but if I move the cursor out of the dock, then back, the thumbnails will be gone again.  Seems to be somewhat random.  

Not sure if it matters, but I do have the dock set to auto hide.
Comment 1 Michail Vourlakos 2018-08-06 00:11:41 UTC
yep... happens in my system also...
I'll need to investigate it and check what's going on...
probably a binding loop or something...
Comment 2 Michail Vourlakos 2018-08-06 22:04:54 UTC
Git commit b4a7b1ac844f2ced04f63b8c5e5d7c2d6619b7cb by Michail Vourlakos.
Committed on 06/08/2018 at 22:04.
Pushed by mvourlakos into branch 'master'.

restructure windows previews to plasma design

--previews showed some strange behavior by
re-introducing faulty or empty previews under
X11. Best way to approach this is to follow up
plasma design idea in order for the code to be
comparable. The code was updated and the introduced
issue shows to be fixed but this wants users
feedback.
FIXED-IN: 0.8.1

M  +1    -1    plasmoid/package/contents/ui/MouseHandler.qml
M  +81   -85   plasmoid/package/contents/ui/ToolTipDelegate2.qml
M  +17   -17   plasmoid/package/contents/ui/ToolTipInstance.qml
M  +2    -3    plasmoid/package/contents/ui/ToolTipWindowMouseArea.qml
M  +2    -8    plasmoid/package/contents/ui/main.qml
M  +1    -1    plasmoid/package/contents/ui/task/TaskDelegate.qml

https://commits.kde.org/latte-dock/b4a7b1ac844f2ced04f63b8c5e5d7c2d6619b7cb
Comment 3 Michail Vourlakos 2018-08-06 22:09:21 UTC
Git commit 176d7200cdc7c90cb1b239751f56da1134d822a0 by Michail Vourlakos.
Committed on 06/08/2018 at 22:05.
Pushed by mvourlakos into branch 'v0.8'.

restructure windows previews to plasma design

--previews showed some strange behavior by
re-introducing faulty or empty previews under
X11. Best way to approach this is to follow up
plasma design idea in order for the code to be
comparable. The code was updated and the introduced
issue shows to be fixed but this wants users
feedback.
FIXED-IN: 0.8.1
(cherry picked from commit b4a7b1ac844f2ced04f63b8c5e5d7c2d6619b7cb)

M  +1    -1    plasmoid/package/contents/ui/MouseHandler.qml
M  +81   -85   plasmoid/package/contents/ui/ToolTipDelegate2.qml
M  +17   -17   plasmoid/package/contents/ui/ToolTipInstance.qml
M  +2    -3    plasmoid/package/contents/ui/ToolTipWindowMouseArea.qml
M  +2    -8    plasmoid/package/contents/ui/main.qml
M  +1    -1    plasmoid/package/contents/ui/task/TaskDelegate.qml

https://commits.kde.org/latte-dock/176d7200cdc7c90cb1b239751f56da1134d822a0
Comment 4 Ben Daines 2018-08-06 23:31:32 UTC
Seems fixed to me.
Comment 5 Michail Vourlakos 2018-08-20 13:30:57 UTC
*** Bug 397564 has been marked as a duplicate of this bug. ***
Comment 6 Michail Vourlakos 2018-09-04 16:50:04 UTC
*** Bug 398253 has been marked as a duplicate of this bug. ***
Comment 7 Michail Vourlakos 2018-09-11 17:48:02 UTC
*** Bug 398502 has been marked as a duplicate of this bug. ***