Created attachment 162190 [details] The desktop portal window in question, showing the dropdown lacking the desired feature. SUMMARY Adding the option to area screenshot in the KDE desktop portal would allow better ease of use with certain apps, for example, Frog, an optical character recognition application, would work best selecting parts of the screen instead of an entire window. STEPS TO REPRODUCE 1. Use any app that requests a screenshot 2. KDE Desktop Portal window "Request screenshot - Portal" appears 3. There is not an option to take a rectangle region screenshot in the "Area: " dropdown OBSERVED RESULT There is not an option to take a rectangle region screenshot in the "Area: " dropdown EXPECTED RESULT In the "Area: " drop-down, there is the option to take a screenshot of a rectangular region. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.10 Qt Version: 5.15.10 ADDITIONAL INFORMATION
It's a good idea, but I'm afraid the protocol governing portal-based screenshots currently says nothing about rectangular region screenshots; see https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.Screenshot. The protocol would need to be extended upstream first; only then could we add support for the new protocol feature for rectangular region screenshots.
(In reply to Nate Graham from comment #1) > It's a good idea, but I'm afraid the protocol governing portal-based > screenshots currently says nothing about rectangular region screenshots; see > https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal. > Screenshot. > > The protocol would need to be extended upstream first; only then could we > add support for the new protocol feature for rectangular region screenshots. Gnome already have this feature in its portal implementation. An application just wants a screenshot, so it wouldn't matter what screenshot we provide to the application. Extending the protocol can be done, but for the time being, users shouldn't be left with no option.
Ah, right.