Bug 404234 - plasmoid previews not working with plasma 5.15
Summary: plasmoid previews not working with plasma 5.15
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: plasmoid (show other bugs)
Version: 0.8.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
: 404297 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-12 11:33 UTC by Thomas
Modified: 2019-02-14 13:04 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.8.6


Attachments
a screenshot of the popup with previews enabled (21.99 KB, image/png)
2019-02-12 11:33 UTC, Thomas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2019-02-12 11:33:29 UTC
Created attachment 118000 [details]
a screenshot of the popup with previews enabled

The previews of the latte dock plasmoid are not working anymore since update from yesterday. There where many updates and it was not the update of latte-dock itself (tried this first).

It is now only showing the background of the preview - no icon, no text, no window.


STEPS TO REPRODUCE
1. upgrade
2. start latte dock
3. hover over the an opened application

OBSERVED RESULT
empty preview popup

EXPECTED RESULT
filled preview popup

SOFTWARE/OS VERSIONS
KDE-Neon 5.14.5
Ubuntu 18.04.2
KDE-Plasma-Version: 5.14.5
Qt-Version: 5.12.0
KDE-Frameworks-Version: 5.55.0
Kernel-Version: 4.15.0-45-generic
Comment 1 Michail Vourlakos 2019-02-12 11:55:14 UTC
1. Close Latte and run it from the terminal with "latte-dock -d" when the preview is appearing do you see any errors in the command prompt?

2. Is your compositing enabled ?

3. Add a plasma panel, does previews appear correctly for the plasma taskmanager?
Comment 2 Thomas 2019-02-12 13:01:19 UTC
1. no errors are shown

2. yes, it is enabled (says qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.active)

3. Yes, they appear correctly for the plasma taskmanager
Comment 3 Thomas 2019-02-12 13:05:38 UTC
Here is the console output from the debug session:
https://pastebin.com/GkZ0KSD0
Comment 4 Michail Vourlakos 2019-02-12 14:00:02 UTC
You are using plasma 5.15 something tells me this is an issue with plasma 5.15...

Unfortunately you must wait for 0.8.6 that will try to solve all 5.15 issues
Comment 5 Thomas 2019-02-12 14:17:57 UTC
that was the update from today - when I wrote the information in the first post it was still 5.14. but ok, lets hope 0.8.6 will solve the issue. is there already a plan when it will be released?
Comment 6 Mathias Tillman 2019-02-13 09:18:25 UTC
Just wanted to chime in that I'm having the same problem since updating to plasma 5.15. Any ETA on when 0.8.6 will be available?
I'll have a go at compiling the latest code from git and see if it's fixed there.
Comment 7 Michail Vourlakos 2019-02-13 09:26:55 UTC
There is now ETA I am waiting plasma 5.15 to arrive in Tumbleweed in order to fix all breaks from new Virtual Desktops infrastructure
Comment 8 Michail Vourlakos 2019-02-13 09:27:00 UTC
There is now ETA I am waiting plasma 5.15 to arrive in Tumbleweed in order to fix all breaks from new Virtual Desktops infrastructure
Comment 9 Naomi Calabretta 2019-02-13 13:43:09 UTC
This is happening to me also on KDE neon User Edition 5.15; updated today via APT from 5.14.5.
Comment 10 Riccardo Robecchi 2019-02-14 08:08:01 UTC
The problem is not related to Plasma 5.15, or at least not only to it, as this behaviour started exhibiting after the update to KDE Frameworks 5.55.0. It had this same issue when I was still using Plasma 5.14, but had upgraded to KDE Frameworks 5.55.0.
Comment 11 Mathias Tillman 2019-02-14 12:33:54 UTC
I've posted a patch here which should fix this issue: https://phabricator.kde.org/D19002

Feel free to give it a try.
Comment 12 Michail Vourlakos 2019-02-14 12:42:26 UTC
*** Bug 404297 has been marked as a duplicate of this bug. ***
Comment 13 Riccardo Robecchi 2019-02-14 12:49:55 UTC
(In reply to Mathias Tillman from comment #11)
> I've posted a patch here which should fix this issue:
> https://phabricator.kde.org/D19002
> 
> Feel free to give it a try.

I applied your patch and it does indeed fix the issue.
Comment 14 Mathias Tillman 2019-02-14 13:01:42 UTC
Git commit ddb941d4656cf54eec48d0cec7c9569d34a409d1 by Mathias Tillman.
Committed on 14/02/2019 at 13:01.
Pushed by mathiastillman into branch 'master'.

Fix window thumbnails not working since frameworks 5.55

Summary:
This fixes a problem where window thumbnails are no longer visible since KDE Frameworks 5.55. This is caused by https://cgit.kde.org/plasma-framework.git/commit/?id=b257029afc3bfcd6366d2c2b910b8d91403ab8a which no longer automatically updates the visibility of mainItem of PlasmaCore.Dialog.

Test Plan: Ensure window thumbnails are working correctly now

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19002

M  +2    -0    plasmoid/package/contents/ui/main.qml

https://commits.kde.org/latte-dock/ddb941d4656cf54eec48d0cec7c9569d34a409d1
Comment 15 Michail Vourlakos 2019-02-14 13:04:46 UTC
Git commit 58887ca7cd24ca1f597a26783073aed3be308d79 by Michail Vourlakos, on behalf of Mathias Tillman.
Committed on 14/02/2019 at 13:04.
Pushed by mvourlakos into branch 'v0.8'.

Fix window thumbnails not working since frameworks 5.55

Summary:
This fixes a problem where window thumbnails are no longer visible since KDE Frameworks 5.55. This is caused by https://cgit.kde.org/plasma-framework.git/commit/?id=b257029afc3bfcd6366d2c2b910b8d91403ab8a which no longer automatically updates the visibility of mainItem of PlasmaCore.Dialog.

FIXED-IN: 0.8.6

Test Plan: Ensure window thumbnails are working correctly now

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19002

M  +2    -0    plasmoid/package/contents/ui/main.qml

https://commits.kde.org/latte-dock/58887ca7cd24ca1f597a26783073aed3be308d79