[Wayland-bugs] [Bug 98894] Add an API for taking screenshots and recording screencasts
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Nov 29 10:49:59 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=98894
--- Comment #2 from Christian Stadelmann <frdsktp at genodeftest.de> ---
(In reply to Pekka Paalanen from comment #1)
> > * The wayland compositor should be able to decide (based on rules or user
> > decisions) whether to allow or deny the request. For this, applications need
> > to have a way to provide information about themselves (like application name
> > and icon) and why they want to take a screenshot/screencast.
>
> This is the very problem. If an application provides identification info
> itself, it can lie. This is actually the root problem for authenticating any
> privileged actions, and I don't think there exists a commonly agreed
> solution yet.
Afaik, applications can't lie about /proc/[pid]/exe and the compositor could
use .desktop files from /usr/share/applications for identification (with both
name and icon). Also, there could be a flag e.g. in these .desktop files for
allowing screenshots / screencasts.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20161129/247ebb64/attachment.html>
More information about the wayland-bugs
mailing list