[Wayland-bugs] [Bug 99635] It is impossible to screenshot a user selected window.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Feb 2 00:54:42 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=99635
--- Comment #1 from naelstrof at gmail.com ---
Ok, just chatted with SardemFF7 on freenode about it. Here's some useful
snippets:
SardemFF7: two pieces of information: Wayland is not a process
SardemFF7: it’s just a protocol, it cannot “expose handles”
SardemFF7: it’ll always be up to the compositor (gnome-shell, kwin, e, weston
and others) to implement anything that might be “handles”
SardemFF7: and second thing: surfaces off-screen (minimized, hidden or
anything) are supposed *not* to render (if they play nice, they can always
render-for-nothing), so you would not be really capable of monitoring an
off-screen surface
---
naelstrof: being in control of the compositing, wouldn't gnome be capable of
asking for an up-to-date buffer on screenshot?
SardemFF7: it can “ask” (= fake that the current frame hit screen so the client
would render the next one) but it’d have to wait
SardemFF7: can you (the user) wait? :-)
---
SardemFF7: (you could make a perfect DE-independent solution btw, it would be
really nice, but really really hard ;-) )
naelstrof: oh you've got me interested
naelstrof: difficulty isn't part of the equation here
naelstrof: could you brief me?
SardemFF7: political and technical security difficulty
naelstrof: lmaoo
---
>From this chat I understand it'd be easier to ask Gnome to expose some window
information to help with screenshots, and hopefully their implementation would
be good enough for other DE's to follow along.
Ideally I'd like a DE-independent solution, but as SardemFF7 said, it's
probably beyond my poor communication/security skills.
--
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/20170202/76a0b3e2/attachment-0001.html>
More information about the wayland-bugs
mailing list