Created attachment 160578 [details] Select the laptop screen output mode. SUMMARY: Win + P opens the multi -screen management window. The external screen mode is selected from unified output to the laptop screen. After 5-10 seconds after switching, the external screen mode will also jump to the unified output mode, and the laptop screen mode is not available. STEPS TO REPRODUCE 1. Use win + p keyboard to open the setting window. 2. Select the laptop screen output mode. OBSERVED RESULT After 5-10 seconds after switching, the external screen mode will also jump to the unified output mode, and the laptop screen mode is not available. EXPECTED RESULT The external screen does not output, only the laptop screen output. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian 12 (available in About System) KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.10 Kerne Version: 6.1.24 Graphics Platform: wayland ADDITIONAL INFORMATION
This problem has always existed, I hope to get your support, thank you
So to confirm, you started what a laptop and an external screen in Unified mode, and then you changed to "Switch to Laptop screen" mode, and then after 5-10 seconds, it switched back to Unified mode? Also, does the same thing happen when you use the widget in the System Tray to do this?
Hello, I am using Lenovo's ThinkBook 14G2 laptop, which is connected to an external display screen of an unknown model through HDMI. There are 5 modes for expanding the screen: "External screen display only", "Notebook screen display only", "Unified output display", "External screen expands left", "External screen expands right". Only the 'laptop screen display only' mode is invalid. After selecting this mode, it will be randomly set to one of the other four modes. You can try to see if there is a problem. When I select -->graphics card and display screen -->disable the expansion screen from the UI interface of the system settings, it only takes effect through the "laptop screen display", but I call "kscreen_osd_service" through the shortcut key [win+P/F7]Choosing the 'laptop screen display only' mode for service is invalid, as it will be randomly set to one of the other four modes. The above is my description and I hope it will be helpful for you to understand this issue.
Thanks. And can you confirm that the same problem happens when you access this feature from the System Tray widget, and not the OSD?
Created attachment 160678 [details] The System Tray widget
Created attachment 160679 [details] Record the problem
Hi, I confirm that the same problem happens when I access this feature from the System Tray widget,you can view the attachment pictures and videos I uploaded to confirm that the problem still exists. I hope it will help you.
Thanks, the screen recording is helpful. This might be a KWin issue rather than a KScreen issue.
What happens if you execute kscreen-doctor output.2.disable output.1.enable instead of using the GUI?
(In reply to Zamundaaa from comment #9) > What happens if you execute > kscreen-doctor output.2.disable output.1.enable > instead of using the GUI? Hi, I use the Kcreen-Doctor tool to control the external screen and find the following two phenomena: 1. Use the command "Kcreen-Doctor output.2.disable output.1.enable". At this time, switch to "Switch to Laptop Screen" mode, Then use "OSD" to switch the laptop mode and other modes. 2. Use the command "Kcreen-Doctor output.2.enable output.nable", At this time,both screens are displayed normally, but the laptop screen mode cannot be switched, and a phenomenon like attachment video appears.
Can you attach another screen recording of what happens when you run `kscreen-doctor output.2.disable output.1.enable`?
Created attachment 160723 [details] kscreen-doctor recording part 1
Created attachment 160724 [details] kscreen-doctor recording part 2
Created attachment 160725 [details] kscreen-doctor recording part 3
Created attachment 160726 [details] kscreen-doctor recording part 4
(In reply to Nate Graham from comment #11) > Can you attach another screen recording of what happens when you run > `kscreen-doctor output.2.disable output.1.enable`? Hi, I have recorded a video of the problem before, but it is greater than the support size of the attachment, so I have not uploaded it. Now I will split compressed video and upload it. You can restore the video through the following command to view the phenomenon of the problem. I hope it will be helpful to you! cmd : cat video_0804_part_a* | tar -xvzf - result: 0803_video.mp4
That video isn't working for me. Can you upload it as a single file with more compression so it fits under the file size limit, or else upload it elsewhere and paste a link to it?
(In reply to Nate Graham from comment #17) > That video isn't working for me. Can you upload it as a single file with > more compression so it fits under the file size limit, or else upload it > elsewhere and paste a link to it? Hi, I have uploaded the video to my github ,Can you download it through as follow link ,https://github.com/jqcui1999/src_public/blob/main/0803_video.mp4.
Thanks. It looks like the KScreen command works, so the problem is that the action in the OSD and applet are failing. Another casualty of following a different codepath.
(In reply to Nate Graham from comment #19) > Thanks. It looks like the KScreen command works, so the problem is that the > action in the OSD and applet are failing. Another casualty of following a > different codepath. Hi, I think so, and it is the difference between the X11 and Wayland protocols, because the problem only appears on Wayland, It seems that the code needs to be checked, but I don’t know much about Kwin and hope to get your help. Thanks!
Hi, Do you have any progress on this issue? I want to know if this problem will be supported and solved by kde? thanks!
Yes, this will be fixed in Plasma 6.0 *** This bug has been marked as a duplicate of bug 466208 ***