Bug 410920 - Invisible Icons after update
Summary: Invisible Icons after update
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: 0.9.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-15 09:35 UTC by Michail Vourlakos
Modified: 2019-08-15 10:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 0.9.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michail Vourlakos 2019-08-15 09:35:45 UTC
SUMMARY

Providing full David's explanation from reddit comment:

--
when qtquick rendering is set to "Software".

You almost certainly have a shadereffectsource somewhere with hideSource: true

The relevant shader can't load as we're not in gl rendering, so we show nothing.

Latte should bind hideSource to the status of the relevant shader effect or to something in graphicsinfo.

Use kcmshell5 qtquicksettings to reproduce.
Comment 1 Michail Vourlakos 2019-08-15 10:08:55 UTC
Git commit f449e22943f5f08de90ecaeebd028f32e6551483 by Michail Vourlakos.
Committed on 15/08/2019 at 10:06.
Pushed by mvourlakos into branch 'v0.9'.

dont hide icons/applets for software rendering

--when qml software rendering is enabled the ShaderEffects
do not work. Hiding sources in that case is hiding
from the user tasks and applets with no visual feedback.
Sources in that case should hide themeselves and give
the user the minimum which is the original drawn contents.
FIXED-IN:0.9.2

M  +3    -4    containment/package/contents/ui/applet/ItemWrapper.qml
M  +3    -0    containment/package/contents/ui/applet/colorizer/Applet.qml
M  +3    -1    plasmoid/package/contents/ui/task/IconItem.qml
M  +2    -1    plasmoid/package/contents/ui/task/TaskItem.qml

https://commits.kde.org/latte-dock/f449e22943f5f08de90ecaeebd028f32e6551483
Comment 2 Michail Vourlakos 2019-08-15 10:09:39 UTC
Git commit 38663c25346605b53d628032ac8bd4651d33616e by Michail Vourlakos.
Committed on 15/08/2019 at 10:09.
Pushed by mvourlakos into branch 'master'.

dont hide icons/applets for software rendering

--when qml software rendering is enabled the ShaderEffects
do not work. Hiding sources in that case is hiding
from the user tasks and applets with no visual feedback.
Sources in that case should hide themeselves and give
the user the minimum which is the original drawn contents.
FIXED-IN:0.9.2

M  +3    -4    containment/package/contents/ui/applet/ItemWrapper.qml
M  +3    -0    containment/package/contents/ui/applet/colorizer/Applet.qml
M  +3    -1    plasmoid/package/contents/ui/task/IconItem.qml
M  +2    -1    plasmoid/package/contents/ui/task/TaskItem.qml

https://commits.kde.org/latte-dock/38663c25346605b53d628032ac8bd4651d33616e