Re: Technical and security implications of using gnome-shell on KMS+evdev



On 04/10/2013 07:02 PM, Jasper St. Pierre wrote:

Well, yeah.

    - clipboard (in gnome-shell) -> would not work anyway, needs a wayland
    clipboard implementation in mutter

    - input methods (in gnome-shell) -> would not work anyway


IM in Wayland is still an open problem. We discussed this at length,
and I'm not sure if we came to a clear resolution on whether doing it
in the client or compositor is better, but I was a fan of the
compositor approach where key events are sent to an IM through some
protocol, and then the IM does everything it needs to and eventually
sends the client a "text event".

From the a11y pov this also have an additional advantage. Right now it
would be really desirable to avoid the need of application-side snooping
of the key events. Right now, if an AT needs to track key events,
applications (through the toolkit) are snooping the key events, and send
an accessibility event to the AT (so a DBUS call). Something that
doesn't seems the best idea (probably you can think in several cons
about this). On X this was tried to be managed in the past with xevie,
but was never really well maintained, or well done since the beginning,
so it is basically dead, and some people suggested that DBUS forwarding
would be the best solution for the case of X (example: [1]).

So retaking wayland: if there is some kind of compositor-protocol that
IM could take advantage in order to access to the key events, I assume
that it would be possible for at-spi2 (in the hypothetical case we want
to put all the a11y needs on a place) or for any AT (like Orca) to use
the same protocol in order to watch key events. Correct me if I'm wrong,
please.

Something like that was suggested on last GUADEC, when I made a question
about that to Rob Bradford, and when Bastien made a similar question to
Rober Bragg (there was two wayland-related talks this year [2]).

BR

[1]
http://blogs.igalia.com/apinheiro/2012/01/19/atkat-spi2-hackfest-2012-day-1/#comment-43
[2] http://2012.guadec.org/node/37

-- 
Alejandro Piñeiro Iglesias



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]