Bug 473817

Summary: Screenshot: Add rectangular region option
Product: [Plasma] xdg-desktop-portal-kde Reporter: Jannis Tschan <jannis.tschan>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: wishlist CC: aleixpol, jgrulich, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.