Bug 473817 - Screenshot: Add rectangular region option
Summary: Screenshot: Add rectangular region option
Status: RESOLVED UPSTREAM
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-27 17:34 UTC by Jannis Tschan
Modified: 2023-08-28 20:01 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jannis Tschan 2023-08-27 17:34:14 UTC
SUMMARY
Currently the screenshot portal only supports taking full screen (all monitors), current screen and active window screenshots. I'd like to see a rectangular region option, similar to what Spectacle offers 


STEPS TO REPRODUCE
1. Open a flatpak app with screenshot portal support (like https://flathub.org/apps/com.belmoussaoui.Decoder)
2. Go to "Scan" and click on the QR code icon
3. Options are limited to the ones mentioned above

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
xdg-desktop-portal: 1.16.0-3
Comment 1 Nate Graham 2023-08-28 20:01:37 UTC
Unfortunately the upstream protocol that we adhere to does not specify this; see https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.Screenshot.

It would have to be changed there first, and then we could implement support for it here.