<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - key event going to display even with keyboard ungrabbed"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93249#c22">Comment # 22</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - key event going to display even with keyboard ungrabbed"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93249">bug 93249</a>
from <span class="vcard"><a class="email" href="mailto:zeenix@gmail.com" title="Zeeshan Ali <zeenix@gmail.com>"> <span class="fn">Zeeshan Ali</span></a>
</span></b>
<pre>(In reply to Marc-Andre Lureau from <a href="show_bug.cgi?id=93249#c21">comment #21</a>)
<span class="quote">> (In reply to Zeeshan Ali from <a href="show_bug.cgi?id=93249#c20">comment #20</a>)
> > I'm sure, you completely misunderstood me. In the quoted context that you
> > didn't paste, I was talking about showing some UI to ensure user knows
> > keyboard is grabbed not wonder if keyboard is not working after (potentially
> > accidently) hitting the keyboard ungrab combo. I doubt SPICE does that
> > already.
>
> I fail to understand that.</span >
I'm not sure about the relevance of the quoted text above to what you are
saying below.
<span class="quote">> spice-gtk input behaviour is rather simple:
> - has no focus -> no input
> - has focus -> gtk input is handled by the widget</span >
And this is normal for most widget which do not need the concept of 'keyboard
grab'.
<span class="quote">> - has focus + grab -> all keyboard input (including "system keys", except
> vt-switch) is handled by the widget</span >
That is fine too.
The issue here is has_focus + ungrabbed case. Like I said before, If user
explicitly requested keyboard ungrab (and provided spice and/or App does make
sure user knows keyboard in ungrabbed currently), all key events should really
go to client/host and none to guest.
<span class="quote">> When the widget has the focus, there is no handling of focus chain built-in
> the widget, but like any other accelerator, you can set one in your app.</span >
I don't know what you mean. Boxes has accelerators for display state but they
currently don't work even when keyboard is ungrabbed and that's the issue here.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>