So, my problem is that after I disconnect my external(not primary) monitor nothing happens to the desktop set up, in "displays" there are still two monitors. What's more I encounter this problem on Xorg and Wayland.` My hardware is Thinkpad X1 Carobon 2nd gen with Intel 4400 GPU and I run fully updated fresh install of KDE Neon User edition. I found a workaround to run xrandr -q, which triggers some kind of refresh to plasma displays, but I am curious if there are any proper solution or bug report which I can follow.
Same issue is happening to me, plasma does not recognize hot-connecting or disconenecting screens for my Dell Latitude E7470, either using official Dell Docker stations (HDMI, DVI or DP, 3 different docking models), or miniDP on the own laptop. My system is Linux Mint 18 with KDE, 4.13.0. This was not happening with Linux Mint 17 and KDE 4.x, with my previous latitude laptop and the same dock stations or HDMI. KDE was keeping the configurations for the different monitors, and changing the layout accordingly, to follow the last configuration used with the recognized monitor.
Sorry, 4.13 is the kernel version, KDE version is 5.8, from the official mint repositories. (In reply to Alberto Curro from comment #1) > Same issue is happening to me, plasma does not recognize hot-connecting or > disconenecting screens for my Dell Latitude E7470, either using official > Dell Docker stations (HDMI, DVI or DP, 3 different docking models), or > miniDP on the own laptop. > > My system is Linux Mint 18 with KDE, 4.13.0. > > This was not happening with Linux Mint 17 and KDE 4.x, with my previous > latitude laptop and the same dock stations or HDMI. KDE was keeping the > configurations for the different monitors, and changing the layout > accordingly, to follow the last configuration used with the recognized > monitor.
Thanks for the report! The information requested in https://community.kde.org/Solid/Projects/ScreenManagement#Debugging_Information especially the kscreen.log would be helpful. Even cooler: if you could mark the log with <HERE I UNPLUGGED> or something like this, so I can actually see what you're physically doing would be great. Cheers!
Created attachment 116275 [details] kscreen-consol bug output
I have the same problem on Kubuntu 18.10 (Plasma version 5.13.5) I attached a kscreen consol bug output.
Created attachment 116276 [details] entry in ~/.local/share/kscreen/
Created attachment 116277 [details] entry in ~/.local/share/kscreen/
Created attachment 116278 [details] entry in ~/.local/share/kscreen/
The interesting part for me is that connecting a my screen always works. For me its only a bug when i disconnect my hdmi cable from my laptop.
It seems for me this could be Kernel bug in my case. If I run `udevadm monitor` I get the following output: monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent * Here I disconnect HDMI * * Here I reconnect HDMI * KERNEL[477.138643] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm) UDEV [477.145948] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm) KERNEL[477.440303] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm) UDEV [477.442861] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm) Only connecting the HDMI cable results in kernel event. Where should I report such an error? Linux Kernel: 4.18.0-10-generic Computer: Thinkpad E480 The kernel seems to see
*** Bug 403962 has been marked as a duplicate of this bug. ***
*** Bug 412317 has been marked as a duplicate of this bug. ***
Can confirm, still a problem on X11 at least in Plasma 5.17 or 5.18 (i.e. built from source).
*** Bug 409330 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 372837 ***