Bug 834283

Summary: Using left ctrl - alt - del does not work with windows 7 kvm
Product: Red Hat Enterprise Linux 6 Reporter: Grant Williamson <grant_williamson>
Component: spice-gtkAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.3CC: acathrow, agajania, cfergeau, dblechte, dyasny, malittle, marcandre.lureau, mkrcmari, ngalvin, walicki
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: When part of a key combination matched the grab sequence, the last key of the combination was sometimes not sent to the guest Consequence: Left Ctrl+Alt+Del key combination was not passed to guests Fix: make sure we send all keys to the SPICE server even if they are part of the grab sequence Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 08:47:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 842354    
Bug Blocks: 782183, 840699    
Attachments:
Description Flags
right ctrl-alt-del works from windows 7 guest, locks screen directly.
none
left ctrl-alt-del does not work takes 20-50 attempts before windows 7 guest locks.
none
Updated left ctrl - alt - del with spice patch none

Description Grant Williamson 2012-06-21 12:23:00 UTC
Description of problem:
Using remote-viewer or virt-viewer with a Windows 7 KVM, left ctrl - alt - del key combination does now work. 
After 20-50 attempts it does.

Right ctrl - alt - del key combination works.

Key combination
ctrl-alt-del

Version-Release number of selected component (if applicable):
spice-gtk-0.11-11.el6

How reproducible:
Run RHEL 6.3 x86_64 as Host/Client
Install Windows 7 KVM as Guest
Connect to Guest using remote-viewer or virt-viewer
Left Ctrl Alt Del does not work.
Right Ctrl Alt Del does work.

Connect to guest using "spicec", left ctrl - alt - del works.

Comment 1 Grant Williamson 2012-06-21 12:23:47 UTC
Created attachment 593436 [details]
right ctrl-alt-del works from windows 7 guest, locks screen directly.

Comment 2 Grant Williamson 2012-06-21 12:24:32 UTC
Created attachment 593437 [details]
left ctrl-alt-del does not work takes 20-50 attempts before windows 7 guest locks.

Comment 4 Marc-Andre Lureau 2012-06-21 13:26:49 UTC
Can you try with this patch?

http://cgit.freedesktop.org/spice/spice-gtk/commit/?id=4e419a1223fa4a44c02e76fa4972db3d6518c839

Comment 5 Marc-Andre Lureau 2012-06-21 13:27:23 UTC
wrong pach, this one instead:

http://cgit.freedesktop.org/spice/spice-gtk/commit/?id=a18782415967fbc036608ccbba6005819ad7f58c

Comment 6 Grant Williamson 2012-06-21 14:28:38 UTC
Created attachment 593457 [details]
Updated left ctrl - alt - del with spice patch

Comment 7 Grant Williamson 2012-06-25 08:15:53 UTC
Marc I applied.

4e419a1223fa4a44c02e76fa4972db3d6518c839.patch
a18782415967fbc036608ccbba6005819ad7f58c.patch
dd6c260291e213ef1db8fad77516b702964ef90d.patch

This seems to work.

Comment 9 Christophe Fergeau 2012-09-07 13:46:53 UTC
This bug will get fixed at the same time as rebase bug #842354 then

Comment 13 errata-xmlrpc 2013-02-21 08:47:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0343.html