Re: Not able to take screenshots with KDE Plasma 5.20.80

2020-10-29 Thread Damir Porobic
My application supports, under Wayland, both ways of taking screenshots, the KWin and XDG Portal. Both seem to be broken at the moment but adding X-KDE-DBUS-Restricted-Interfaces=org.kde.kwin.Screenshot to the xdg-desktop-portal-kde desktop file as Jan suggested, seems to fix the XDG Portal

Re: Not able to take screenshots with KDE Plasma 5.20.80

2020-10-29 Thread Méven
As it was said, this change was introduced (by me) in : https://phabricator.kde.org/D29407 It was done for Wayland to replace the past KWin behavior click-to-confirm to take a screenshot while keeping at least a declarative setting. Le jeu. 29 oct. 2020 à 17:39, Nate Graham a écrit : > Seems

Re: Not able to take screenshots with KDE Plasma 5.20.80

2020-10-29 Thread Nate Graham
Seems related to https://invent.kde.org/plasma/kwin/-/merge_requests/374. Nate On 10/27/20 5:25 PM, Damir Porobic wrote: Hi Jan, I have searched for files with that name and found following: /usr/share/xdg-desktop-portal-kde /usr/share/lintian/overrides/xdg-desktop-portal-kde

Re: Not able to take screenshots with KDE Plasma 5.20.80

2020-10-28 Thread Damir Porobic
Hello, adding X-KDE-DBUS-Restricted-Interfaces=org.kde.kwin.Screenshot to /usr/share/applications/org.freedesktop.impl.portal.desktop.kde.desktop makes the screenshots via org.freedesktop.portal.Screenshot work again, however, the one using org.kde.kwin.Screenshot are still failing. Is there

Re: Not able to take screenshots with KDE Plasma 5.20.80

2020-10-28 Thread Jan Grulich
Hi, the file is named "org.freedesktop.impl.portal.desktop.kde.desktop" and should be most likely located in /usr/share/applications. Regards, Jan út 27. 10. 2020 v 22:10 odesílatel Damir Porobic napsal: > Hi Jan, > > I have searched for files with that name and found following: > >

Re: Not able to take screenshots with KDE Plasma 5.20.80

2020-10-27 Thread Damir Porobic
Hi Jan, I have searched for files with that name and found following: /usr/share/xdg-desktop-portal-kde /usr/share/lintian/overrides/xdg-desktop-portal-kde /usr/share/doc/xdg-desktop-portal-kde /usr/lib/x86_64-linux-gnu/libexec/xdg-desktop-portal-kde The first and third are directories, the

Re: Not able to take screenshots with KDE Plasma 5.20.80

2020-10-27 Thread Damir Porobic
Hi Jan, I have searched for files with that name and found following: /usr/share/xdg-desktop-portal-kde /usr/share/lintian/overrides/xdg-desktop-portal-kde /usr/share/doc/xdg-desktop-portal-kde /usr/lib/x86_64-linux-gnu/libexec/xdg-desktop-portal-kde The first and third are directories, the

Re: Not able to take screenshots with KDE Plasma 5.20.80

2020-10-18 Thread Jan Grulich
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 napsal: > Hello, > > anyone any feedback on this one? Kind of breaks all non KDE

Re: Not able to take screenshots with KDE Plasma 5.20.80

2020-10-18 Thread Damir Porobic
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 Sent: Wednesday, October 14, 2020

Re: Not able to take screenshots with KDE Plasma 5.20.80

2020-10-14 Thread Damir Porobic
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