Bug 77259

Summary: Shift key stuck
Product: Spice Reporter: chenbin <ary5555>
Component: spice-gtkAssignee: Pavel Grunt <pavelgrunt>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

Description chenbin 2014-04-10 01:01:44 UTC
Hello! When I use spice-GTK client in windows?I found the shift key might stuck in the guest OS. It looks like shift key pressed in guest, but I did not press indeed.
The problem is easy to reproduce. steps to reproduce:
1) use spice-GTK client to connect VM
2) press left shift and right shift keys at the same time
3) release two keys together
Then, the shift key stuck! The problem only happens in windows client, and it also happens in spicec client.
I had tried to debug it, and I found that spice-GTK client only release one shift key rather than two.
Is this a known problem?

Thanks!:)
Comment 1 Pavel Grunt 2015-02-20 13:14:47 UTC
Hi, all win apps has this problem (no keyup event is fired) - I asked the question about the missing shift key release: https://social.msdn.microsoft.com/Forums/en-US/9a88eecd-ff28-4317-858b-915d52cd63f0/how-detect-shift-key-release-when-both-shift-keys-are-pressed I don't think MS will solve it...

See http://lists.freedesktop.org/archives/spice-devel/2014-December/018248.html if you need a workaround
Comment 2 Pavel Grunt 2016-03-04 15:34:25 UTC
Just for info: the fix is in in gtk 3.18 and gtk 3.16.7
https://bugzilla.gnome.org/show_bug.cgi?id=751721

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.