<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#c25">Comment # 25</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:bugzilla@victortoso.com" title="Victor Toso <bugzilla@victortoso.com>"> <span class="fn">Victor Toso</span></a>
</span></b>
<pre><span class="quote">> > 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.
>
> so you want 4th state (I wish you explained this a bit more clearly from the
> start)</span >
Indeed :)
<span class="quote">>
> - after ungrab, the widget should take no input == loose the focus
>
> Imho this does't make sense, how would you get back to the focus state? I
> really this would be confusing for the user.</span >
Not loose focus, no. He is suggesting that:
1-) Boxes has focus and you are typing into Gedit inside guest
2-) ungrab combo is pressed
3-) no key should go to the guest, but Boxes still hold focus
User can either alt+tab out and alt+tab back to have focus+keyboard-grab or
just hit the ungrab combo to be able to send keys to Gedit in the guest.
<span class="quote">>
> Anyway, you can experiment with this in Boxes, when the keyboard grab is
> lost, you can just change the focus to another widget.
>
> > > 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.
> >
> > 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.
>
> It should work, it works with virt-viewer.</span >
Hmm..</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>