Bug 1458730

Summary: Caps Lock can't be disabled in guest GUI login interface sometimes when graphic mode is spice
Product: Red Hat Enterprise Linux 7 Reporter: mxie <mxie>
Component: spice-gtkAssignee: Default Assignee for SPICE Bugs <rh-spice-bugs>
Status: CLOSED ERRATA QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.4CC: cfergeau, fziglio, juzhou, kuwei, mxie, mzhan, pgrunt, rbalakri, tlavigne, tpelka, tzheng, xiaodwan
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: spice-gtk-0.33-6.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 15:06:41 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:
Attachments:
Description Flags
spice-debug.log none

Description mxie@redhat.com 2017-06-05 10:56:09 UTC
Created attachment 1285015 [details]
spice-debug.log

Description of problem:
Caps Lock can't be disabled in guest GUI login interface sometimes when graphic mode is spice

Version-Release number of selected component (if applicable):
spice-gtk3-0.33-4.el7.x86_64


How reproducible:
90%

Steps to Reproduce:
1.Prepare a linux guest which has graphic mode spice
 <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='spice' autoport='yes'>
      <listen type='address'/>
      <image compression='off'/>
    </graphics>
2.Power on the guest and try to log into guest with root account at GUI, 
3.Open the Caps Lock in keyboard,input the character in teriminal and the character is uppercase 
4.Disable Caps Lock in keyboard and input the character, but character is still uppercase 
5.Switch the guest into tty1 and Caps Lock keyboard works well



Actual results:
As above description

Expected results:
Caps Lock works well in guest when graphic mode is spice

Additional info:
1.Can't reproduce the problem when guest graphic mode is vnc
2.Can't reproduce the problem with spice-gtk3.x86_64 0:0.33-3.el7 , so it is a regression bug

Comment 3 Pavel Grunt 2017-06-05 13:26:42 UTC
it is not regression from 0.33-3, but from rhel7.3 version of spice-gtk.

Reverting commit 73cd553fb0fbd213b64d72f8b4289ed8a17fc6c0 fixes the issue for me

Comment 8 errata-xmlrpc 2017-08-01 15:06:41 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.

https://access.redhat.com/errata/RHBA-2017:1849