https://bugs.kde.org/show_bug.cgi?id=474360
Bug ID: 474360 Summary: [Wayland] KScreen does not enable external screens when connecting to the other dock Classification: Plasma Product: KScreen Version: 5.27.7 Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: common Assignee: kscreen-bugs-n...@kde.org Reporter: o...@geek.co.il Target Milestone: --- Created attachment 161533 --> https://bugs.kde.org/attachment.cgi?id=161533&action=edit 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). -- You are receiving this mail because: You are watching all bug changes.