Bug 484366 - Using Wayland changes panels and desktops to the wrong monitors
Summary: Using Wayland changes panels and desktops to the wrong monitors
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (show other bugs)
Version: 6.0.4
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen, wayland-only
Depends on:
Blocks:
 
Reported: 2024-03-24 06:43 UTC by Damian C
Modified: 2025-01-13 17:05 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damian C 2024-03-24 06:43:12 UTC
SUMMARY
When logging in selecting Wayland, panels and desktops are attached to the wrong monitors/displays.


STEPS TO REPRODUCE
1. Boot ArchLinux, select Wayland.
2. Observe the panels and desktops disrupted.

OBSERVED RESULT
Desktops and panels are attached to the wrong monitor.

EXPECTED RESULT
Panels and desktops remain attached to the monitors I have set up for them regardless of desktop compositor. As it used to be prior to the Plasma 6 upgrade.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2

ADDITIONAL INFORMATION
Using 3 monitors.
This started happening after upgrading to Plasma 6.
Something similar to this had happened in the past but it had been solved, it was possible to change between x11 and Wayland while keeping the same desktops and panels on the right monitors.
If I logoff Wayland and go back to X11 the panels and desktops are attached to the correct monitors.
If I correct the panels and desktops for Wayland and attach them the way they should go, then going back to x11 will have the panels all wrong.
Comment 1 i 2024-04-29 02:49:40 UTC
I have two monitors, a 1440p monitor and a vertical 1080p monitor on the left. Any panels I place on the left (vertical, secondary) monitor re-appear on the right (horizontal, primary) monitor after a reboot. It happens if the panel is set to fit width or full width, and was not happening with the same monitor configuration in Plasma 5 on Debian.

SYSTEM INFORMATION:
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

Kernel Version: 6.8.7-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
Comment 2 Nate Graham 2024-08-16 16:07:04 UTC
Screen and panel data is stored differently on X11 and Wayland, so I'm afraid it's expected that the first time you log into a Wayland session, you'll have to redo them.

After you've got the screen and panel settings configured to your liking in both X11 and Wayland sessions, nothing should change when you switch between them, though.

Are you seeing something other than that in Plasma 6.1?
Comment 3 i 2024-08-18 23:50:59 UTC
(In reply to Nate Graham from comment #2)
> Are you seeing something other than that in Plasma 6.1?

The issue was that they would reset on every reboot - even though I don't have an X11 session installed. I was needing to manually move the panel back over on every reboot, then power cycle the monitor, because the panel's Task Manager wouldn't update which monitor it was on.

I can't find a patch note that says what commit fixed it - but it's no longer happening in KDE Plasma 6.1.4 / KDE Frameworks 6.5.0 .
Comment 4 Nate Graham 2024-08-20 21:15:23 UTC
Great, let's call it fixed in Plasma 6.1
Comment 5 Damian C 2024-09-02 18:14:44 UTC
(In reply to Nate Graham from comment #4)
> Great, let's call it fixed in Plasma 6.1

In fact I have not seen it come back, not even after switching back to Wayland after the recent nvidia driver upgrade to version 560.

Thank you
Comment 6 i 2025-01-11 02:56:47 UTC
(In reply to Nate Graham from comment #4)
> Great, let's call it fixed in Plasma 6.1

Unfortunately, this bug seems to have returned in Plasma 6.2.5?
I wasn't having the issue in 6.1 to 6.2.4, but it came back recently. No other changes to my hardware or panel setup since. I don't have the X11 desktop installed to compare with.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.8-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland

HARDWARE INFORMATION:
Processors: 12 × AMD Ryzen 5 7600 6-Core Processor
Memory: 30.5 GB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
Comment 7 Nate Graham 2025-01-13 17:05:38 UTC
If it came back after a period of being fixed, it's likely a different issue. Can you open a new bug report for it?