[Bug 93249] key event going to display even with keyboard ungrabbed
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Dec 10 06:46:04 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=93249
--- Comment #27 from Zeeshan Ali <zeenix at gmail.com> ---
I'm not sure why you guys are so confused. The title of this bug and first few
sentences of chat log should have been enough. Is it possible that none of you
cared to read the chat? In which case we were all being lazy, except for
Christophe. :)
If I didn't explain well in comment#0, I most definitely explained in later
comments in great detail what exactly I'm expecting to happen. If not,
Christophe's comment (to which, I said "Bingo") should have been enough. But
let me trt again:
* I do not want the focus to move somewhere else on keyboard ungrab. How would
spice-gtk widget know where to send the focus to anyway? How would it get it
back if next thing user does after ungrabbing is to grab again (change their
mind)? So no, I didn't ask for that at all.
* 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).
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)
3. Ungrab kbd again
4. Hit Ctrl+w (nothing happened)
5. Ungrab kbd again
6. Hit Ctrl+w (nothing happened)
7. Ungrab kbd again
8. Hit F11 (nothing happened)
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)
So I really don't think keyboard-ungrab is working as expected in any SPICE
app.
--
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/594945de/attachment.html>
More information about the spice-bugs
mailing list