KDE5 After resume from suspend I have corrupted labels under icons

I know your pain, this has been annoying me for months now.

  1. The only way to fix the desktop I've found is brute force, I made a shortcut to do this and run it every time I resume from standby:

    killall plasmashell; kstart plasmashell

EDIT: 2020/10/6 - this bug has since been fixed, but for reference: restart command for plasma 5.18.5 is now:

kstart5 plasmashell -- --replace
  1. I can't properly answer this but I'm posting all the info I've got so I can link this from the bug report page. The glitching is a long standing issue with the NVidia drivers and KDE plasma, previously the same question was asked here but it got falsely marked as a duplicate of a similar related issue: https://askubuntu.com/questions/897928/kde-desktop-icons-glitched-after-suspend-kubuntu-16-10

I had some hope after the recent 5.10.3 plasma update as it was supposed to be fixed https://bugs.kde.org/show_bug.cgi?id=344326 https://www.phoronix.com/scan.php?page=news_item&px=KDE-Plasma-5.10.3-Released , but it didn't fix the issue for me.
I'm going to follow up on that bug report with a link to this post so also attaching an image of the bug on my system here.

(EDIT: found the actual bug report for Plasma https://bugs.kde.org/show_bug.cgi?id=382115)

(EDIT2: found the bug report for QT: https://bugreports.qt.io/browse/QTBUG-56610 and NVidia forum thread https://devtalk.nvidia.com/default/topic/971972/linux/icon-text-label-corruption-with-kde-plasma-5-desktop-folder-view/)

$ cat /etc/issue
Ubuntu 17.04 \n \l
$ uname -a
Linux desktop 4.10.0-26-generic #30-Ubuntu SMP Tue Jun 27 09:30:12 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ plasmashell --version
plasmashell 5.10.3

Desktop icons after suspend/resume


I have had the same problem with Kubuntu 18.04. Having gone read several posts about this problem, I've combined the answers into a solution that works automatically. There is a small Bash script that runs in the background and kills/restarts plasmashell every the user returns from lock screen. You can find the answer to the link below (script and way to run it automatically)

Kubuntu 18.04, cron task does not load @reboot

I hope you find it useful!