Bug 488732 - Dual monitor settings are not restored: Screen positions and panels are swapped
Summary: Dual monitor settings are not restored: Screen positions and panels are swapped
Status: RESOLVED WORKSFORME
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 6.1.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2024-06-19 12:43 UTC by Guido Schmidt
Modified: 2024-09-06 03:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Schmidt 2024-06-19 12:43:47 UTC
SUMMARY
I have two screens attached. Their relative position and their control bars are swapped after reboot. Happens every time.

STEPS TO REPRODUCE
1. Have one monitor (A) connected to the DP port of the mainboard.
2. Add a second monitor (B) to the HDMI port.
3. Find B to be on the left side of A.
4. Open display settings and drag B to the right side of A.
5. Configure A to be the primary screen.
6. Apply and confirm to keep the settings.
7. Also have different control bars configured for each screen.
8. Restart the PC.
9. While A remains the primary screen:

OBSERVED RESULT
- Screen B is now on the left side of A.
- Control bar from A is now on B and vice versa.

EXPECTED RESULT
- Find B to be on the right side of A.
- Control bars are restored to the previous screens.

SOFTWARE/OS VERSIONS
Linux: openSUSE Tumbleweed
Display server: Xorg
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel: 6.9.1-1-default (64-bit)

ADDITIONAL INFORMATION
Graphics hardware: AMD Ryzen 9 7900 (plus a now unused NVIDIA GK208B card)
Monitor A: Fujitsu Siemens D24W-7 (1920x1200)
Monitor B: HP M24fw (1920x1080)
Comment 1 Nate Graham 2024-06-19 19:54:08 UTC
Does it happen on Wayland too, or just X11?
Comment 2 Guido Schmidt 2024-06-21 12:41:38 UTC
(In reply to Nate Graham from comment #1)
> Does it happen on Wayland too, or just X11?

I logged out to check that. And what happend? When the login screens came up they were already swapped. 
Then I tried Wayland, but that doesn't even run. The screen turns black for a few seconds and brings me back to login.
Comment 3 Guido Schmidt 2024-08-05 18:17:50 UTC
(In reply to Nate Graham from comment #1)
> Does it happen on Wayland too, or just X11?

After the latest update I was able to login using Wayland: Happens there too.
Comment 4 Nate Graham 2024-08-06 17:59:29 UTC
Ok, and if, on Wayland, you correct all of those things and then reboot, does the problem return?
Comment 5 Guido Schmidt 2024-08-07 08:44:07 UTC
Wayland keeps the correct settings. X11 doesn't.
Wayland additionally mixes up the panels between screens. While using Wayland I moved them back. When afterwards I logged in using X11 they were mixed up again. So it looks like Wayland and X11 have something crossed here. Should I file an extra bug for that?
Comment 6 Nate Graham 2024-08-07 18:06:56 UTC
Monitor settings are stored differently on Wayland compare to on X11, for technical reasons. So unfortunately if you switch a lot between X11 and Wayland, you'll need to set things up the way you like them on both platforms separately.

Let's focus on the issue that happens when you reboot from one session type into the same session type.

You said that on Wayland, the screen positions are remembered correctly, but the panel positions are not? Is that accurate?
Comment 7 Bug Janitor Service 2024-08-22 03:47:32 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2024-09-06 03:47:13 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.