https://bugs.kde.org/show_bug.cgi?id=528793
Bug ID: 528793
Summary: Desktop icons intermittently disappear from individual
KDE Activities after suspend or lid close on Wayland
(Plasma 6.8.2)
Classification: Plasma
Product: plasmashell
Version First 6.8.2
Reported In:
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Folder View widget
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Since upgrading to Plasma 6.8, desktop icons intermittently disappear after
suspending and resuming the laptop or closing and reopening the lid.
I use three KDE Activities (Home, Media and Games), each with its own Folder
View desktop containment.
In Plasma 6.8.1, icons disappeared from all three Activities almost every time
the laptop resumed from suspend.
After upgrading to Plasma 6.8.2, the issue occurs less frequently and often
affects only one Activity. The other Activities may continue displaying their
icons normally.
The problem also occurs when closing the laptop lid with the power-management
action set to "Turn off screen", without suspending the system.
The wallpaper, panels and application windows continue working normally.
Dolphin shows that all files and application shortcuts remain present in their
respective directories.
### Steps to reproduce
1. Configure three KDE Activities using Folder View desktops.
2. Assign separate folders to two of the Activities.
3. Suspend the laptop or configure lid close to turn off the screen.
4. Close and reopen the lid, or resume from suspend.
5. Switch between Activities and check the desktop icons.
The issue is intermittent on Plasma 6.8.2.
### Actual result
Desktop icons disappear completely from one or more Activities.
The underlying files remain accessible through Dolphin.
### Expected result
All desktop icons should remain visible in their respective Activities after
suspend/resume and lid close/open.
### Diagnostic findings
The three desktop containments remain correctly registered:
- Home: containment 1, screen 0
- Media: containment 98, screen 0
- Games: containment 100, screen 0
All three use `org.kde.plasma.folder`.
The active Folder View configuration can be read through Plasma's D-Bus
scripting interface even when icons are missing.
For the affected Games Activity:
```text
Mappe: file:///home/bjarte/Aktifitet-spel/
Skjerm: 0
Type: org.kde.plasma.folder
```
`kscreen-doctor -o` confirms that the internal eDP-1 display is connected and
enabled at 1920x1080@60Hz.
During suspend, logs previously showed:
```text
There are no outputs - creating placeholder screen
requesting unexisting screen geometry 0
requesting unexisting screen available rect 0
```
However, when reproducing the issue by closing the lid without suspending, no
corresponding screen-related errors were observed in the journal. Only normal
lid close/open events were found.
### Workaround and troubleshooting
The following operations do not restore the missing icons:
- Calling `reloadConfig()` on the desktop containment.
- Creating a temporary file in the affected directory.
- Deleting the `itemsOnDisabledScreens` configuration entry.
The following operations successfully restore the icons:
- Restarting `plasma-plasmashell.service`.
- Changing the Folder View location to another directory and then back to the
original directory, including through D-Bus.
For example, this restores the Games Activity without restarting Plasma:
```javascript
var d = desktopById(100);
d.currentConfigGroup = ["General"];
d.writeConfig("url", "file:///home/bjarte");
d.reloadConfig();
```
Followed by:
```javascript
d.writeConfig("url", "file:///home/bjarte/Aktifitet-spel/");
d.reloadConfig();
```
This suggests that the Folder View model or view is not always correctly
restored after a display state transition.
### System information
- OS: openSUSE Tumbleweed
- KDE Plasma: 6.8.2
- KDE Frameworks: 6.31.0
- Qt: 6.12.0
- Kernel: 7.3.0-1-default
- Graphics platform: Wayland
- CPU: Intel Core i5-10300H
- RAM: 32 GiB
- GPUs: Intel UHD Graphics / NVIDIA GeForce GTX 1650
- Laptop: Acer Nitro AN517-52
- BIOS: V2.08
- Active display: internal eDP-1, 1920x1080@60Hz
### Related reports
- https://bugs.kde.org/show_bug.cgi?id=527584
- https://bugs.kde.org/show_bug.cgi?id=527226
Bug 527226 was marked fixed in Plasma 6.8.2, but the issue described here still
occurs with that version.
--
You are receiving this mail because:
You are watching all bug changes.