Created attachment 161533 [details] User journal from connecting the dock with the issue SUMMARY I have two docking stations (at home and at the office). The display configuration is setup properly for both. When I work with one, I can take the laptop off the dock and on again, including setting it to sleep, and it works fine. If I connect the laptop to the second dock - before waking the laptop, or after - it won't turn on the external screens connected to the dock. I can see - in the display configuration KCM - that it sees the external screens, but they are disabled. If I log out and log back in, the screens are correctly enabled, but if I then go back to the first dock - the external screens are then detected and disabled there, and I have to log out and log back in there as well. STEPS TO REPRODUCE 1. Have a proper display configuration in with one dock with external screens. 2. Log out, connect to another dock with external screens, log in and set up the screens there. 3. Disconnect second dock, put laptop to sleep, wake it up and connect to the first dock. OBSERVED RESULT The external screens are disabled. When trying to enable them, it either does not work (the checkbox is marked, after apply and OKing the configuration change, but the screen remains off, closing and restarting the KCM shows the screen is still disabled), or the screen resets to its default configuration (horizontal and on the wrong side of the built-in screen). EXPECTED RESULT The external screens should be enabled and configured according to the original configuration. SOFTWARE/OS VERSIONS Operating System: KDE neon 5.27 KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 Kernel Version: 6.4.11-060411-generic (64-bit) Graphics Platform: offscreen Processors: 20 × 12th Gen Intel® Core™ i7-12700H Memory: 31.0 GiB of RAM Graphics Processor: Mesa Intel® Graphics ADDITIONAL INFORMATION I attached a log showing kscreen and kwin_wayland fighting among themselves (or something 😜🫣) when connecting the dock. Maybe one of the issues is that the external screens sometimes change port numbers between different office days (sometimes they are DP-5 and DP-6, other times DP-7 and DP-8), but that doesn't seem to have happened recently (I have the kscreen config folder on git so I can track these things).
Created attachment 161534 [details] My current kscreen configuration
BTW, this is "newish" behavior - definitely since 5.27, probably since 5.27.5
Also, possibly related to the fact that I started running a mainline kernel 6.4.11
If you have the ability, would you be able to test this in Plasma 6? In Plasma 6, kwin_wayland does this stuff itself, so there's no more fight between kscreen and kwin_wayland.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!