| Summary: | A mark appears on the primary monitor after switching between 2 screens and 1 screen several times. | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | igor |
| Component: | multi-screen | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | Keywords: | multiscreen |
| Priority: | NOR | ||
| Version First Reported In: | git-stable-Plasma/5.27 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | image with the issue visible | ||
I noticed the issue is still present with a single monitor.
The mark is at the same horizontal position but at the bottom of my screen when in single monitor mode.
Based on this, it is in the same place in the X canvas in both modes.
I use the following script to switch between single and multi monitor modes:
```
#!/bin/bash
main="DP-4"
right_vert="DP-0"
multi () {
xrandr --output $main --primary --mode 1920x1080 --pos 0x540 --rotate normal --rate 240
xrandr --output $right_vert --mode 1920x1080 --pos 1920x0 --rotate left --rate 100
}
single () {
xrandr --output $main --primary --mode 1920x1080 --pos 0x0 --rotate normal --rate 240
xrandr --output $right_vert --off
}
xrandr --listactivemonitors | grep $right_vert > /dev/null \
&& single \
|| ( multi; multi )
```
|
Created attachment 157301 [details] image with the issue visible STEPS TO REPRODUCE 1. Have 2 monitors attached 2. disconnect primary monitor 3. reconnect primary monitor 4. using 'xrandr --output ${secondary} --off' removes the mark. Re-enabling the secondary screen with xrandr re draws the mark in the same place on the primary screen. OBSERVED RESULT An approximately diagonal pink/purple mark at about 1400,600 (x, y origin at top left). The mark is about 2 cm long and about 2 mm wide on my 32 inch 1920x1080 monitor. EXPECTED RESULT No mark. SOFTWARE/OS VERSIONS Operating System: Gentoo Linux 2.13 KDE Plasma Version: 5.27.2 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 Kernel Version: 5.15.94-gentoo (64-bit) Graphics Platform: X11 Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 Manufacturer: Gigabyte Technology Co., Ltd. Product Name: X570 AORUS MASTER System Version: -CF ADDITIONAL INFORMATION I use a KVM. Hence my primary monitor is frequently disconnected and reconnected. This happend after some time going back and forth between my machines.