HI Is there any reason why the desktop is not cleared when you log out? Currently when you have a logout script running a backup with a gui (kdialog), the taskbar is cleared but all the icons etc stay on the desktop. I would have though the workspace would have been cleared and you just left with a wallpaper or black screen while the script runs.
regards Ian -- opensuse:tumbleweed:20211008 Qt: 5.15.2 KDE Frameworks: 5.86.0 - KDE Plasma: 5.22.5 - kwin 5.22.5 kmail2 5.18.1 (21.08.1) - akonadiserver 5.18.1 (21.08.1) - Kernel: 5.14.9-1-default - xf86-video-nouveau: 1.0.17