Bug 470016 - Rectangular region only spans one screen when using dual screen setup & fractional scaling on X11
Summary: Rectangular region only spans one screen when using dual screen setup & fract...
Status: RESOLVED NOT A BUG
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 23.04.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-19 18:40 UTC by Dmitrii Chermnykh
Modified: 2023-08-28 10:48 UTC (History)
3 users (show)

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


Attachments
rect spanning only one screen (896.46 KB, image/webp)
2023-05-19 18:40 UTC, Dmitrii Chermnykh
Details
screen position (48.28 KB, image/webp)
2023-05-19 20:31 UTC, Dmitrii Chermnykh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitrii Chermnykh 2023-05-19 18:40:33 UTC
Created attachment 159118 [details]
rect spanning only one screen

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

Rectangular region only spans one screen when using dual screen setup & fractional scaling on X11


OBSERVED RESULT
The rectangular region selections spans only the currently active screen (See the attachment)

EXPECTED RESULT
The rectangular region selections spans all screens

SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Comment 1 Noah Davis 2023-05-19 19:04:26 UTC
If you press Alt+Tab while spectacle's rectangle capture window is open, do you see two spectacle windows? There should be one window for each screen.
Comment 2 Dmitrii Chermnykh 2023-05-19 20:06:35 UTC
I see both windows, but they're on the same screen for some reason
Comment 3 Noah Davis 2023-05-19 20:14:12 UTC
Ok, so the window positions are wrong.
Comment 4 Noah Davis 2023-05-19 20:17:16 UTC
Can you show me your screen positions in system settings, scale factors, resolutions, GPU, GPU driver and what kinds of ports you are using (e.g., HDMI, DisplayPort)?
Comment 5 Dmitrii Chermnykh 2023-05-19 20:31:45 UTC
Created attachment 159122 [details]
screen position

I'm using built-in laptop screen and an external screen connected via dp -> (laptop) usb type-c dp alt mode

The internal screen is connected to the NVIDIA gpu, the internal one is connected to AMD Integrated GPU
The AMD GPU is the primary GPU
Comment 6 Dmitrii Chermnykh 2023-05-19 20:32:53 UTC
Drivers:
mesa 23.0.3
nvidia-dkms 530.41.03

X11 is configured to use the modesetting driver for the AMD gpu
Comment 7 Dmitrii Chermnykh 2023-08-28 10:48:14 UTC
The problem was caused by a 3rd party script. It required kwin restart to be deactivated which caused me to think that it's not the script.