Bug 455482 - Secondary monitor loses wallpaper and windows after suspend, primary monitor is fine
Summary: Secondary monitor loses wallpaper and windows after suspend, primary monitor ...
Status: RESOLVED DUPLICATE of bug 450068
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.25.0
Platform: openSUSE Linux
: VHI normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-06-17 12:53 UTC by zerocostabstraction
Modified: 2022-08-05 15:48 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zerocostabstraction 2022-06-17 12:53:18 UTC
SUMMARY

I've got 2 monitors of varying sizes, here's my kscreendoctor output:

Output: 1 Dell Inc. DELL P2419H/9VPQX63 enabled connected  DisplayPort Modes: 0:1920x1080@60*! 1:1680x1050@60 2:1600x900@60 3:1280x1024@75 4:1280x1024@60 5:1440x900@60 6:1280x800@60 7:1152x864@75 8:1280x720@60 9:1024x768@75 10:1024x768@60 11:800x600@75 12:800x600@60 13:640x480@75 14:640x480@60 15:720x400@70 16:1368x768@-1501773 Geometry: 2560,0 1920x1080 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown 
Output: 2 HannStar Display Corp HQ272PQD/123456789012 enabled connected primary HDMI Modes: 0:2560x1440@60*! 1:2560x1080@60 2:2560x1080@60 3:2560x1080@50 4:1920x1200@60 5:1920x1080@60 6:1920x1080@60 7:1920x1080@60 8:1920x1080@50 9:1600x1200@60 10:1680x1050@60 11:1400x1050@60 12:1280x1024@75 13:1280x1024@60 14:1440x900@60 15:1280x960@60 16:1280x800@60 17:1152x864@75 18:1280x720@60 19:1280x720@60 20:1280x720@60 21:1280x720@50 22:1440x576@50 23:1024x768@75 24:1024x768@70 25:1024x768@60 26:832x624@75 27:800x600@75 28:800x600@72 29:800x600@60 30:800x600@56 31:720x576@50 32:720x480@60 33:720x480@60 34:720x480@60 35:720x480@60 36:720x480@60 37:640x480@75 38:640x480@73 39:640x480@67 40:640x480@60 41:640x480@60 42:640x480@60 43:720x400@70 44:1600x900@2058702 Geometry: 0,0 2560x1440 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown primaryy

Every day, I put this setup to sleep using the "Sleep" button in Kickoff menu. Sometimes, I use my power button, that's setup to do the same. After waking up the machine, I am greeted by nothing but pitch black on my secondary monitor.  The cursor showed up, but there's no wallpaper. Effects show up, but the previews are also pitch black. All my windows move to my primary monitor, however I can easily place them back to the secondary monitor. 

Windows show up just fine the secondary monitor, but the wallpaper doesn't. I have no panels there, so I don't know what else disappears. 

Restarting the plasma shell with plasmashell --replace fixes this issue. Of course I'm then forced to rearrange my windows again. 

STEPS TO REPRODUCE
1. Suspend/sleep the computer
2. Wake up and login
3. 

OBSERVED RESULT

Missing wallpaper, windows get thrown to the other monitor. 

EXPECTED RESULT

Windows and my wallpaper stay where they after after waking up from sleep. 

Operating System: openSUSE Tumbleweed 20220613
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2
Kernel Version: 5.18.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 1800X Eight-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX Vega
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B450 AORUS ELITE

I will try to reproduce the issue in a bit, and report back with the logs.
Comment 1 zerocostabstraction 2022-06-17 13:04:42 UTC
(In reply to zerocostabstraction from comment #0)
> SUMMARY
> 
> I've got 2 monitors of varying sizes, here's my kscreendoctor output:
> 
> Output: 1 Dell Inc. DELL P2419H/9VPQX63 enabled connected  DisplayPort
> Modes: 0:1920x1080@60*! 1:1680x1050@60 2:1600x900@60 3:1280x1024@75
> 4:1280x1024@60 5:1440x900@60 6:1280x800@60 7:1152x864@75 8:1280x720@60
> 9:1024x768@75 10:1024x768@60 11:800x600@75 12:800x600@60 13:640x480@75
> 14:640x480@60 15:720x400@70 16:1368x768@-1501773 Geometry: 2560,0 1920x1080
> Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown 
> Output: 2 HannStar Display Corp HQ272PQD/123456789012 enabled connected
> primary HDMI Modes: 0:2560x1440@60*! 1:2560x1080@60 2:2560x1080@60
> 3:2560x1080@50 4:1920x1200@60 5:1920x1080@60 6:1920x1080@60 7:1920x1080@60
> 8:1920x1080@50 9:1600x1200@60 10:1680x1050@60 11:1400x1050@60
> 12:1280x1024@75 13:1280x1024@60 14:1440x900@60 15:1280x960@60 16:1280x800@60
> 17:1152x864@75 18:1280x720@60 19:1280x720@60 20:1280x720@60 21:1280x720@50
> 22:1440x576@50 23:1024x768@75 24:1024x768@70 25:1024x768@60 26:832x624@75
> 27:800x600@75 28:800x600@72 29:800x600@60 30:800x600@56 31:720x576@50
> 32:720x480@60 33:720x480@60 34:720x480@60 35:720x480@60 36:720x480@60
> 37:640x480@75 38:640x480@73 39:640x480@67 40:640x480@60 41:640x480@60
> 42:640x480@60 43:720x400@70 44:1600x900@2058702 Geometry: 0,0 2560x1440
> Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown primaryy
> 
> Every day, I put this setup to sleep using the "Sleep" button in Kickoff
> menu. Sometimes, I use my power button, that's setup to do the same. After
> waking up the machine, I am greeted by nothing but pitch black on my
> secondary monitor.  The cursor showed up, but there's no wallpaper. Effects
> show up, but the previews are also pitch black. All my windows move to my
> primary monitor, however I can easily place them back to the secondary
> monitor. 
> 
> Windows show up just fine the secondary monitor, but the wallpaper doesn't.
> I have no panels there, so I don't know what else disappears. 
> 
> Restarting the plasma shell with plasmashell --replace fixes this issue. Of
> course I'm then forced to rearrange my windows again. 
> 
> STEPS TO REPRODUCE
> 1. Suspend/sleep the computer
> 2. Wake up and login
> 3. 
> 
> OBSERVED RESULT
> 
> Missing wallpaper, windows get thrown to the other monitor. 
> 
> EXPECTED RESULT
> 
> Windows and my wallpaper stay where they after after waking up from sleep. 
> 
> Operating System: openSUSE Tumbleweed 20220613
> KDE Plasma Version: 5.25.0
> KDE Frameworks Version: 5.94.0
> Qt Version: 5.15.2
> Kernel Version: 5.18.2-1-default (64-bit)
> Graphics Platform: Wayland
> Processors: 16 × AMD Ryzen 7 1800X Eight-Core Processor
> Memory: 15.6 GiB of RAM
> Graphics Processor: AMD Radeon RX Vega
> Manufacturer: Gigabyte Technology Co., Ltd.
> Product Name: B450 AORUS ELITE
> 
> I will try to reproduce the issue in a bit, and report back with the logs.

Okay, I couldn't reproduce it without turning off the screens while doing it. So to add to my steps to reproduce. I turn off the secondary monitor, click sleep, turn off my primary (turn off in this case means pressing the physical off button on the monitor) and end up with the situation described above.

I ran plasmashell in a tmux window so I hope this is of any use, if not please tell me how to get better logs:

file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:69: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:20: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:21: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:22: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:23: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:322:17: QML Label: Binding loop detected for property "width"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:322:17: QML Label: Binding loop detected for property "width"
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 0
requesting unexisting screen 0
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:322:17: QML Label: Binding loop detected for property "width"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:322:17: QML Label: Binding loop detected for property "width"
requesting unexisting screen 0
requesting unexisting screen 0
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:322:17: QML Label: Binding loop detected for property "width"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:322:17: QML Label: Binding loop detected for property "width"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:322:17: QML Label: Binding loop detected for property "width"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:322:17: QML Label: Binding loop detected for property "width"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:70:5: QML Connections: Detected function "onConfigurationChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:70:5: QML Connections: Detected function "onRepaintNeeded" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:67: TypeError: Cannot read property 'wallpaper' of null
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:71: TypeError: Cannot read property 'wallpaper' of null
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_0b_00.3.analog-stereo.monitor"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:179: TypeError: Cannot read property 'containmentDisplayHints' of null
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:179: TypeError: Cannot read property 'containmentDisplayHints' of null
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:271: TypeError: Cannot read property 'location' of null
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:179: TypeError: Cannot read property 'containmentDisplayHints' of null
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:322:17: QML Label: Binding loop detected for property "width"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:322:17: QML Label: Binding loop detected for property "width"
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
requesting unexisting screen 1
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
requesting unexisting screen 0
QObject::connect(DesktopView, ShellCorona): invalid nullptr parameter
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:70:5: QML Connections: Detected function "onConfigurationChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:70:5: QML Connections: Detected function "onRepaintNeeded" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:67: TypeError: Cannot read property 'wallpaper' of null
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:71: TypeError: Cannot read property 'wallpaper' of null
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:63: TypeError: Cannot read property 'pluginName' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:65: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:66: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:67: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:68: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:69: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:20: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:21: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:22: TypeError: Cannot read property 'configuration' of null
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:23: TypeError: Cannot read property 'configuration' of null
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Could not find the Plasmoid for Plasma::FrameSvgItem(0x557cc09b17c0) QQmlContext(0x557cc2c1f510) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Could not find the Plasmoid for Plasma::FrameSvgItem(0x557cc09b17c0) QQmlContext(0x557cc2c1f510) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitHeight"
file:///usr/lib64/qt5/qml/org/kde/plasma/components.3/ScrollView.qml:37:27: QML ScrollBar: Binding loop detected for property "visible"
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/SelectableLabel.qml:38:5: QML TextArea: Binding loop detected for property "implicitHeight"
Could not find the Plasmoid for Plasma::FrameSvgItem(0x557cc09a5a90) QQmlContext(0x557cc2c1f510) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Could not find the Plasmoid for Plasma::FrameSvgItem(0x557cc09a5a90) QQmlContext(0x557cc2c1f510) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitHeight"
file:///usr/lib64/qt5/qml/org/kde/plasma/components.3/ScrollView.qml:37:27: QML ScrollBar: Binding loop detected for property "visible"
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/SelectableLabel.qml:38:5: QML TextArea: Binding loop detected for property "implicitHeight"
org.kde.plasma.libtaskmanager: Got invalid activation app_id: ""
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Comment 2 Paul Meier 2022-06-17 21:27:56 UTC
Same for me
Comment 3 zerocostabstraction 2022-06-18 13:52:57 UTC
This is very similar to https://bugs.kde.org/show_bug.cgi?id=427861 , but I'm not sure if it's quite the same. I'm also experiencing the annoyances with it randomly reverting back to desktop mode, etc. But I'm not sure if my issue of a blank background, which needs a session restart before the bug in question takes place is quite the same.

One of the experts might know better.
Comment 4 Vlad Zahorodnii 2022-07-18 09:56:48 UTC
I did some debugging and it appears a plasmashell bug. In my case I see the following event sequence

setup: DP-1 and DP-3

---

- DP-1 is initially the primary output
- Make DP-3 primary, wallpapers on DP-1 and DP-3 are swapped
- Remove DP-1

---

- DP-1 is connected, create a wallpaper for DP-1, wallpaper on DP-3 is not set to follow DP-3
Comment 5 Damien 2022-08-05 07:31:43 UTC
I have a dual-monitor setup. If I boot my computer from cold and login, all my wallpapers on wayland are as they are and right clicking on the desktop will show the context menu as expected. If I lock my laptop and it goes to sleep after a certain amount of time (it may be plugged or unplugged) then upon login I sometimes find that the wallpapers are mixed up, almost as though they've shuffled across my laptop monitor, my first monitor and my second. Sometimes, the wallpaper even disappears and all I can see is a black desktop with no possibility of showing the context menu on right click. I can confirm that this is indeed a bug with plasma.
Comment 6 Damien 2022-08-05 07:33:49 UTC
(In reply to Damien from comment #5)
> I have a dual-monitor setup. If I boot my computer from cold and login, all
> my wallpapers on wayland are as they are and right clicking on the desktop
> will show the context menu as expected. If I lock my laptop and it goes to
> sleep after a certain amount of time (it may be plugged or unplugged) then
> upon login I sometimes find that the wallpapers are mixed up, almost as
> though they've shuffled across my laptop monitor, my first monitor and my
> second. Sometimes, the wallpaper even disappears and all I can see is a
> black desktop with no possibility of showing the context menu on right
> click. I can confirm that this is indeed a bug with plasma.

FYI this is my spec

Operating System: Manjaro Linux
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.14-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Comment 7 Nate Graham 2022-08-05 15:48:42 UTC
It's the old "connector IDs are volatile" issue :(

*** This bug has been marked as a duplicate of bug 450068 ***