Not able to take screenshots with KDE Plasma 5.20.80
Jan Grulich
jgrulich at redhat.com
Mon Oct 19 06:34:53 BST 2020
Hi,
can you try to add "X-KDE-DBUS-Restricted-Interfaces=org.kde.kwin.Screenshot"
into the xdg-desktop-portal-kde desktop file and restart it?
Regards,
Jan
ne 18. 10. 2020 v 22:50 odesÃlatel Damir Porobic <damir_porobic at live.com>
napsal:
> 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
>
>
--
Jan Grulich,
Senior Software Engineer, Desktop Team
Red Hat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20201019/eb3d3e70/attachment.htm>
More information about the kde-devel
mailing list