Bug 465317 - Screens KCM claims that a screen is mirrored when it's not, and there's no way to change it
Summary: Screens KCM claims that a screen is mirrored when it's not, and there's no wa...
Status: REPORTED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.27.10
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-05 13:41 UTC by Ilya Bizyaev
Modified: 2024-09-08 20:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot (141.98 KB, image/png)
2023-02-05 13:41 UTC, Ilya Bizyaev
Details
Screenshot with 5.27 after kscreen manipulation (39.19 KB, image/png)
2023-12-12 19:00 UTC, Ilya Bizyaev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Bizyaev 2023-02-05 13:41:36 UTC
Created attachment 155958 [details]
Screenshot

SUMMARY

The laptop is attached to a projector, which behaves as if the virtual placement of it is to the right from the other screens. It even looks like the KCM reserves some space to show it in that location in the scheme. However, it is instead only displayed as a "mirroring" square on top of another screen (it's not actually mirroring). I thought I could try disabling and re-enabling mirroring, but there's no option to do so.


STEPS TO REPRODUCE
1. Connect a projector
2. Observe the above


SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.14.21-150400.24.41-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: Mesa Intel® UHD Graphics

ADDITIONAL INFORMATION
I believe this was not a problem before 5.26.90.
Comment 1 Vlad Zahorodnii 2023-02-06 09:37:56 UTC
Can you post the output of `kscreen-doctor -o`? Maybe the outputs overlap so kscreen thinks that the outputs are mirrored?
Comment 2 Nate Graham 2023-02-07 18:17:41 UTC
.
Comment 3 Ilya Bizyaev 2023-02-11 15:01:10 UTC
This time, in the same setup, the "Built-in Screen" is displayed on top of the projector screen, with their top-left corner aligned, and the bigger projector screen extending beyond. The Plasma panel (positioned on the right edge) is only displayed on the projector screen. Still, there's no way to move the projector screen to not overlap with the laptop's screen.

kscreen-doctor output:
```
Output: 1 eDP-1 enabled connected priority 1 Panel Modes: 0:1920x1080@60*! Geometry: 2047,0 1536x864 Scale: 1.25 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: Automatic
Output: 2 DP-2 enabled connected priority 2 DisplayPort Modes: 0:2560x1440@60*! 1:2048x1080@60 2:2048x1080@24 3:1920x1080@60 4:1920x1080@60 5:1920x1080@60 6:1920x1080@50 7:1920x1080@30 8:1920x1080@30 9:1920x1080@25 10:1920x1080@24 11:1920x1080@24 12:1600x1200@60 13:1600x900@60 14:1280x1024@75 15:1280x1024@60 16:1152x864@75 17:1280x720@60 18:1280x720@60 19:1280x720@60 20:1280x720@50 21:1024x768@75 22:1024x768@60 23:800x600@75 24:800x600@60 25:720x576@50 26:720x576@50 27:720x480@60 28:720x480@60 29:720x480@60 30:720x480@60 31:640x480@75 32:640x480@60 33:640x480@60 34:640x480@60 35:720x400@70 Geometry: 0,0 2048x1152 Scale: 1.25 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: Automatic
Output: 3 DP-1 enabled connected priority 3 DisplayPort Modes: 0:1920x1080@60*! 1:4096x2160@24 2:4096x2160@24 3:3840x2160@30 4:3840x2160@30 5:3840x2160@25 6:3840x2160@24 7:3840x2160@24 8:1920x1080@60 9:1920x1080@60 10:1920x1080@60 11:1920x1080@60 12:1920x1080@50 13:1920x1080@50 14:1920x1080@50 15:1920x1080@30 16:1920x1080@30 17:1920x1080@24 18:1920x1080@24 19:1280x1024@60 20:1440x900@60 21:1360x768@60 22:1280x720@60 23:1280x720@60 24:1280x720@50 25:1280x720@50 26:1024x768@60 27:800x600@60 28:720x576@50 29:720x576@50 30:720x480@60 31:720x480@60 32:720x480@60 33:720x480@60 34:640x480@60 35:640x480@60 36:640x480@60 Geometry: 2047,0 1920x1080 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: Automatic
```
Comment 4 Ilya Bizyaev 2023-12-12 18:58:33 UTC
I was able to make the outputs not overlap by manually repositioning them with kscreen-doctor, e.g.:

$ kscreen-doctor output.DP-1.position.3584,0

Window management on the projector now works as expected. The KCM, however, still does not show the projector as a separate screen on the preview, instead displaying a misleading "mirroring" tile, even though it visibly allocates the space for it and lists it as one of the outputs.
Comment 5 Ilya Bizyaev 2023-12-12 19:00:33 UTC
Created attachment 164116 [details]
Screenshot with 5.27 after kscreen manipulation