https://bugs.kde.org/show_bug.cgi?id=421116
Bug ID: 421116 Summary: Multimonitor support works randomly Product: kwin Version: 5.18.5 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: major Priority: NOR Component: general Assignee: kwin-bugs-n...@kde.org Reporter: piotr.mierzwin...@gmail.com Target Milestone: --- Created attachment 128202 --> https://bugs.kde.org/attachment.cgi?id=128202&action=edit kscreen configuration for 3 displays SUMMARY Sorry for general subject. The issue I experienced is related with X11 session (KDE shows: "The xcb windowing system"). I didn't test it with Wayland. Couple words of introduction. I have two virtual desktops. Restore session is turned on. Usually I have connected my PC with two displays: - primary: EA275WMi (monitor), connected via DVI but xrandr detects is as connected by HDMI - not primary: Optoma 1080P (projector), connected via HDMI Second one usually is working in standby mode, but is always connected (wire plugged in), so Plasma/kwin recognized it and configured properly (by kscreen). First thing is that sometime newly opened application's window appears on not turned on display instead of 'primary' display, so its window is not visible. To get it back to primary display I need either turn on projector (it takes some time) or blindly catch its window on not visible screen (holding Alt key). Unfortunately I cannot simple move window to specific display by option which could be present in icon (after clicking RMB) placed on bar, because is not available there, whereas is available only after clicking in title bar of window. Second thing. I think worse and really annoying. Usually I work with 2 desktops placed on primary display, where are running couple applications on each. Yesterday I connected third display (xrandr and kscreen shows as DP1). Plasma/kwin recognized it correctly (monitor: 20WGX2) and configured in kscreen as 'not primary'. After I finished work I disconnected third display - VGA wire plugged off. Today I turned on PC and got empty first desktop (yesterday here I had 3 opened applications), on second desktop was only one application from 2 yesterday opened. I supposed that they must be present on disconnected third display. I thought like this, because if I switched desktop (Ctrl+F1/F2) I saw some window(s) on split second. Therefore I connected third display again and happened magic. Windows of applications appeared on my primary display (first desktop), but only those what were not visible before connecting again third display. This one before was visible on second desktop ('primary display') appeared on third display. Anyway they reversed their visibility on screens. Another magic happened when I disconnected third display in the middle of work. In result Plasma/kwin again switched almost all windows just moving them to disconnected display. I connected again and all windows back to primary display. Now I don't need third display, but Plasma/kwin forced me to be turned on. Maybe some work around might be disconnect it and blindly move back all windows from not visible third display. Another workaround might be manually removing configuration for third display from kscreen config file. I wonder why Plasma/kwin/kscreen didn't remove entry related with disconnected display in its configuration if is not able to find it after start. Maybe it would be helped when user disconnect some display and just run PC without it. BTW. I'm not sure if this does matter, but yesterday at night I also received an update for Plasma, upgrading version to 5.18.5. Similar issue I reported here: Bug 416556 and here: Bug 420881 STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT Windows normally appearing on primary display, after connection another display appear on not primary. EXPECTED RESULT All windows appear on primary display should every time appear on primary display if were assigned to this display. SOFTWARE/OS VERSIONS Linux/KDE Plasma: YES (available in About System) KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.69.0 Qt Version: 5.14.2 ADDITIONAL INFORMATION Other related software: - Linux kernel 5.6.10-arch1-1 #1 SMP PREEMPT - mesa 20.0.6-2 - xorg-server 1.20.8 - intel-ucode 20191115-3 - libva-intel-driver 2.4.0-1 - xf86-video-intel 1:2.99.917+906+g846b53da-1 Hardware I use. I have integrated Intel graphics card: VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) Current (3 screens) kscreen configuration is present in attachment. -- You are receiving this mail because: You are watching all bug changes.