SUMMARY When trying to screencast a rectangular region, the region can be drawn only on the leftmost monitor. The region drawing can start in the leftmost monitor and continue to other monitors, but the selection area will not draw to the other monitors. The selection will however contain the areas in the other monitors and it works fine. My current monitor setup is this: - One monitor on the left, vertical 1080x1920 - One monitor on the right, primary, horizontal 1440x2560 The rectangular selection UI will show up on the vertical monitor, but not on the horizontal one. I can't capture a rectangular region that's only on the horizontal monitor as the selection UI closes when I click anywhere that's not in the vertical monitor. See the attached screenshot. STEPS TO REPRODUCE 1. Open a program that requests a screencasting session (e.g. OBS Studio) 2. Select "Rectangular Region" in the "Screen Sharing" dialog OBSERVED RESULT The rectangular region selector opens only on the leftmost monitor. EXPECTED RESULT The rectangular region selector is opened on all monitors. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION GPU: AMD Radeon RX 7900 XTX
Created attachment 173795 [details] Screen sharing rectangular region selection open only on the leftmost monitor
Are you sure this is the portal recording system, rather than one built into OBS? How exactly are you triggering it in OBS?
(In reply to Nate Graham from comment #2) > Are you sure this is the portal recording system, rather than one built into > OBS? How exactly are you triggering it in OBS? I'm selecting the Pipewire screen capture in OBS, which pops up the portal UI visible in this MR that adds the rectangular selection functionality: https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/161.
Created attachment 173796 [details] Portal UI opened by OBS Studio
Thanks. I can reproduce the issue.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/322
Git commit 4042c9d8fb2e6c3d458de7c7e6b5672ff27f5a11 by David Redondo. Committed on 23/10/2024 at 06:21. Pushed by davidre into branch 'master'. Create region selection window before calling setScreen otherwise it ends up on the wrong screen due to a quirk in how Qt works. See QTBUG-129989 M +1 -0 src/region-select/SelectionEditor.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/4042c9d8fb2e6c3d458de7c7e6b5672ff27f5a11
Git commit a067b4f536ceeab9f01964e50e99392230aebc53 by David Redondo. Committed on 23/10/2024 at 06:24. Pushed by davidre into branch 'Plasma/6.2'. Create region selection window before calling setScreen otherwise it ends up on the wrong screen due to a quirk in how Qt works. See QTBUG-129989 (cherry picked from commit 4042c9d8fb2e6c3d458de7c7e6b5672ff27f5a11) Co-authored-by: David Redondo <kde@david-redondo.de> M +1 -0 src/region-select/SelectionEditor.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/a067b4f536ceeab9f01964e50e99392230aebc53