[Bug 93249] key event going to display even with keyboard ungrabbed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 7 06:44:17 PST 2015


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

--- Comment #5 from Zeeshan Ali <zeenix at gmail.com> ---
(In reply to Marc-Andre Lureau from comment #3)
> (In reply to Zeeshan Ali from comment #2)
> > This is *not* "extra keyboard handling", when I ungrab the keyboard as user,
> > I expect all key events to be going to host, regardless of which app I'm
> > using. Can't spice-gtk ignore all key events during keyboard ungrab, perhaps
> > by simply returning false from event handlers?
> 
> You don't need a keyboard grab to be able to use a remote spice (most of the
> time you don't want the grab I would say).

? remote spice? I don't this.

> This is similar to any other gtk
> widget.

Except that in case of other gtk widget, you can use kbd nav to switch to other
widgets, e.g with 'Tab' key.

> It would be very unconvenient to explicitely take the grab in order
> to give input to this widget.

Seems you are talking about the opposite. I'm talking about the state of user
explicitly ungrabbing kbd using Ctrl_L+Alt_L keys and then expecting all key
event to go to client/host while kbd is ungrabbed. At the very least they
should have a way to focus another widget using 'Tab' key.

If you insist on Boxes implementing this, I don't mind at all doing it there
but then spice needs to provide me the way to distinguish between user
explicitly ungrabbing keyboard and it happening as a result/side-effect of some
other action/event.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20151207/e0265429/attachment.html>


More information about the spice-bugs mailing list