RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 626975 - Blinking keyb leds in spice client causes capslock to turn on / off all the time in other windows
Summary: Blinking keyb leds in spice client causes capslock to turn on / off all the t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-client
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Hans de Goede
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 671383
TreeView+ depends on / blocked
 
Reported: 2010-08-24 19:10 UTC by Hans de Goede
Modified: 2011-06-15 14:46 UTC (History)
7 users (show)

Fixed In Version: spice-client-0.7.2-1.el6
Doc Type: Bug Fix
Doc Text:
For content author, I think users did not see this bug, but it was discovered during development. The Problem: Upon (linux) guest panic, a spice-client connected to the VM caused client's keyboard leds to blink and capslock to turn on/off continuously, in non-spice-client windows too. The Fix: Blocking keyboard modifier events when spice-client windows is not in-focus. That means when the user focuses out of spice-client window (focus on a different window), blinks stop blinking and caps-lock does not turn on/off.
Clone Of:
Environment:
Last Closed: 2011-05-19 13:14:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0583 0 normal SHIPPED_LIVE libcacard and spice-client bug and enhancement update 2011-05-19 09:37:34 UTC

Description Hans de Goede 2010-08-24 19:10:14 UTC
Steps to Reproduce:
1. Run linux kernel in guest make it panic (no initrd cannot find root for example)
2. Connect spice client to the vm with the blinking keyb leds from the kernel panic
3. Switch to another window and try to type something, notice how every few ohter letters the letters change from caps to lowercase or vica versa.

Comment 2 Marc-Andre Lureau 2010-11-02 00:30:04 UTC
I have a trivial workaround for that bug, just blocking modifier events when focus_out(). It could be done differently.

http://gitorious.org/~elmarco/spice/elmarco-spice/commit/ae776586b96400070214d85ad073db49bb6925ef

I'll post it on the mailing list for review.

Additionally, should we restore keyboard modifiers when going out of focus? I think we should, given that Spice currently offers a full remote desktop client which feels like a separate machine. However, if the remote windows would be managed by the client, and the root window hidden, then this behavior would be bad.

Comment 4 Alon Levy 2011-01-17 16:43:02 UTC
Marc's patch is now in upstream, commit:

 84c0156 client inputs: stop blinking keyboard when out of focus

Comment 5 Hans de Goede 2011-01-25 13:52:19 UTC
A new spice-client-0.7.2-1.el6 fixing this has been build, moving to modified.

Comment 7 Lubos Kocman 2011-03-09 13:00:46 UTC
Verified on spice-client-0.8.0-1.el6.x86_64.

Comment 8 Uri Lublin 2011-05-09 06:30:02 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
For content author, I think users did not see this bug, but it was discovered during development.

The Problem:
Upon (linux) guest panic, a spice-client connected to the VM caused client's keyboard leds to blink and capslock to turn on/off continuously, in non-spice-client windows too.

The Fix:
Blocking keyboard modifier events when
spice-client windows is not in-focus.
That means when the user focuses out of spice-client window (focus on a different window), blinks stop blinking and caps-lock does not turn on/off.

Comment 9 errata-xmlrpc 2011-05-19 13:14:51 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0583.html


Note You need to log in before you can comment on or make changes to this bug.