<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#c29">Comment # 29</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:marcandre.lureau@gmail.com" title="Marc-Andre Lureau <marcandre.lureau@gmail.com>"> <span class="fn">Marc-Andre Lureau</span></a>
</span></b>
<pre>(In reply to Zeeshan Ali from <a href="show_bug.cgi?id=93249#c27">comment #27</a>)
<span class="quote">> * What I'm asking for is keyboard-grab=false to work as expected. i-e No key
> events sucked by spice display when keyboard in ungrabbed even if widget is
> in focus. No, this is not a new state I'm asking for. It's what
> keyboard-unpgrab is meant for and it partially works (for system keys).</span >
keyboard-ungrab is generally for system grab (nothing else by default)
<span class="quote">> Now, as for it working in virt-viewer as expected, I do not see the expected
> behaviour in virt-manager either. I tried:
>
> 1. Ungrab kbd
> 2. Hit Ctrl+q (nothing happened)</span >
It's ctrl+shift+q, and you need to press ctrl+alt.
<span class="quote">> 3. Ungrab kbd again
> 4. Hit Ctrl+w (nothing happened)
> 5. Ungrab kbd again
> 6. Hit Ctrl+w (nothing happened)</span >
what's ctrl+w?
<span class="quote">> 7. Ungrab kbd again
> 8. Hit F11 (nothing happened)</span >
and all this work for me
<span class="quote">> 9. Ungrab kbd again
> 10. Tab to switch focus (focus remained on display and got a kbd bell from
> terminal inside the guest demonstrating that key was received by guest)</span >
there is no accelerator or handling of Tab or focus management in virt-viewer.
<span class="quote">>
> So I really don't think keyboard-ungrab is working as expected in any SPICE
> app.</span >
It does.</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>