Not able to take screenshots with KDE Plasma 5.20.80

Damir Porobic damir_porobic at live.com
Sun Oct 18 21:50:02 BST 2020


Hello,

anyone any feedback on this one? Kind of breaks all non KDE Screenshot tools under Wayland.
Would be nice to know if this is by error or some additional steps are required now.

Best regards,
Damir

________________________________
From: Damir Porobic <damir_porobic at live.com>
Sent: Wednesday, October 14, 2020 21:34
To: kde-devel at kde.org <kde-devel at kde.org>
Subject: Re: Not able to take screenshots with KDE Plasma 5.20.80

Seems to be related to this change here https://phabricator.kde.org/D29407

Also, I see the same error when using org.freedesktop.portal.Screenshot which requires already confirmation by default so I'm bit confused why both, authorization and confirmation? Also, looking quickly through the discussion I haven't found any clue how a non KDE application could get access to those screenshot interfaces.

Best regards,
Damir
________________________________
From: kde-devel <kde-devel-bounces at kde.org> on behalf of Damir Porobic <damir_porobic at live.com>
Sent: Wednesday, October 14, 2020 21:22
To: kde-devel at kde.org <kde-devel at kde.org>
Subject: Not able to take screenshots with KDE Plasma 5.20.80

Hello,

one of my users informed me that he's not able to take screenshots with KDE Plasma Wayland anymore. I've just tested myself, with Plasma 5.19.5 everything is working, with Plasma 5.20.80, it's not. My application supports two ways of taking screenshots under KDE Plasma, one is using "org.kde.kwin.Screenshot" like Spectacle and the other is using "org.freedesktop.portal.Screenshot". Interesting is that both stopped working with 5.20.80 but Spectacle seems to be able to take screenshot still. My imageGrabber that uses "org.kde.kwin.Screenshot" is basically a copy of Spectacles imageGrabber, so I'm wondering why it works for Spectacle and not for my application.

Looking at the dbus-monitor sessions, I've notices an error saying:
error_name=org.kde.kwin.Screenshot.Error.NoAuthorized reply_serial=32 string "The process is not authorized to take a screenshot"

That's something new. How can a process be authorized to take screenshots?

Regards,
Damir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20201018/4b9830be/attachment.htm>


More information about the kde-devel mailing list