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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 10 07:03:11 PST 2015


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

--- Comment #29 from Marc-Andre Lureau <marcandre.lureau at gmail.com> ---
(In reply to Zeeshan Ali from comment #27)
> * 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) 

> 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, and you need to press ctrl+alt.

> 3. Ungrab kbd again
> 4. Hit Ctrl+w (nothing happened)
> 5. Ungrab kbd again
> 6. Hit Ctrl+w (nothing happened)

what's ctrl+w?

> 7. Ungrab kbd again
> 8. Hit F11 (nothing happened)

and all this work for me

> 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.

> 
> So I really don't think keyboard-ungrab is working as expected in any SPICE
> app.

It does.

-- 
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/20151210/6dcbff1a/attachment.html>


More information about the spice-bugs mailing list