<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#c32">Comment # 32</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#c30">comment #30</a>)
<span class="quote">> (In reply to Marc-Andre Lureau from <a href="show_bug.cgi?id=93249#c29">comment #29</a>)
> > (In reply to Zeeshan Ali from <a href="show_bug.cgi?id=93249#c27">comment #27</a>)
> > > * 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).
> >
> > keyboard-ungrab is generally for system grab (nothing else by default)
>
> Currently that might be but I presented arguments of why it should be for
> all keys, above.
>
> > > 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)
> >
> > It's ctrl+shift+q,
>
> That's for terminal.</span >
and virt-viewer too
<span class="quote">>
> From these two alone, I'm fairly sure you are talking about the opposite
> here: Getting the system keys to guest. I'm expecting those shortcuts to
> work in virt-manager UI rather than inside the guest. That's why every other
> step is to ungrab the keyboard.</span >
virt-manager doesn't have a good accelerator handling like virt-viewer.
<span class="quote">> > > 3. Ungrab kbd again
> > > 4. Hit Ctrl+w (nothing happened)
> > > 5. Ungrab kbd again
> > > 6. Hit Ctrl+w (nothing happened)
> >
> > what's ctrl+w?
>
> See File menu entry in virt-manager.</span >
we are talking about virt-viewer, it's the spice client of reference.
<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)
> >
> > there is no accelerator or handling of Tab or focus management in
> > virt-viewer.
>
> Of course not, Gtk+ will handle it if spice-gtk doesn't take the keys to the
> guest.</span >
No, it depends on widget input handling, see other focus handling of text/vte
widget etc</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>