Comment on global shortcuts security

Daniel Stone daniel at
Sun Sep 30 22:29:32 PDT 2012


On 1 October 2012 02:08, Bill Spitzak <spitzak at> wrote:
> On 09/30/2012 01:35 AM, Pekka Paalanen wrote:
>> You might invent elaborate schemes to overcome the latter cons,

[and this did happen]

>> but even the roundtrip argument alone is a serious one, and there
>> would have to be a serious benefit in doing so. This would just
>> bring a lot more problems than it would solve.
> I'm worried that a "shortcut registry" will add enormous complexity and bugs
> and make it difficult for programmers to get the behavior they want.

I think your proposal adds enormous complexity and potential for bugs,
as well as inconsistent and potentially annoying behaviour the
default.  With this, clients would have to go out of their way to do
the right thing, rather than just having the right thing always

Think of things like Alt-Tab in particular: if you have to round-trip
to the client, anything you type after Alt-Tab but before the
roundtrip hits is going to go to the first client, rather than the one
you switched to.  So do you repost the keys and tell the first client
to ignore them? This holds true for a lot of global shortcuts too.

I'm still not sure what problem this proposal is trying to solve.


More information about the wayland-devel mailing list