[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 00:20:31 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98894

            Bug ID: 98894
           Summary: Add an API for taking screenshots and recording
                    screencasts
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: wayland
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: frdsktp at genodeftest.de

Currently, some wayland compositors have their own screenshot and/or screencast
feature, such as weston. Others, such as gnome-shell, have an additional public
DBus API [1]. For KWin, a similar feature is in the works [2].

This situation is bad because it looks like application developers need to
write a separate implementation for their tools for every desktop shell /
environment. For the sake of simplicity, can you please add one API (probably
an extension to the wayland protocol) for all desktop environments?

[1]
https://git.gnome.org/browse/gnome-shell/tree/data/org.gnome.Shell.Screencast.xml
[2]
https://blog.martin-graesslin.com/blog/2016/11/from-window-killing-to-screenshot/

Some notes:
* Taking screenshots and recording screencasts should be an optional feature.
* 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.
* Applications must handle being denied to take a screenshot/screencast
* there should be a way to select regions of the screen(s) only. I don't care
whether this should be implemented on client or server (compositor) side.

-- 
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/fe6e1a22/attachment.html>


More information about the wayland-bugs mailing list