Bug 1169286 - Incorrect shift key behaviour
Summary: Incorrect shift key behaviour
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: mingw-virt-viewer
Version: 3.5.0
Hardware: x86_64
OS: Windows
medium
medium
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Pavel Grunt
QA Contact: SPICE QE bug list
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-01 09:14 UTC by Tim Speetjens
Modified: 2019-09-12 08:09 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the shift keys behaved incorrectly on Windows machines accessed with virt-viewer. When both shift keys were pressed at the same time and then released, Windows sent only one release key event, causing the SPICE client to think the other shift key is still pressed, and the guest to input capital letters. This has been fixed so GDK sends an extra release event so that both shift keys are released, and guest input is as expected.
Clone Of:
Environment:
Last Closed: 2016-03-09 20:04:41 UTC
oVirt Team: Spice
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:0377 0 normal SHIPPED_LIVE rhevm-spice-client bug fix and enhancement update 2016-03-10 00:39:05 UTC

Description Tim Speetjens 2014-12-01 09:14:02 UTC
Description of problem:
Shift key behaviour is incorrect when pressing both left and right shift key together.

Version-Release number of selected component (if applicable):
mingw virt-viewer 0.6.0

How reproducible:
Open a virt-viewer console from a windows workstation (to ex. a RHEL guest)

Steps to Reproduce:
1. Press and hold left shift
2. Type a few letters: these are in caps
3. Press and hold right shift
4. Release left shift
5. Type a few letters: these are in caps
6. Release right shift
7. Type a few letters : these are also in caps, despite not holding down any shift key

Actual results:
As described in step 7: characters are in uppercase, when no shift key is pressed

Expected results:
Characters should be in lowercase

Additional info:
This issue exists in the mingw version of the viewer, but is not present on the gtk version.

Comment 1 Tim Speetjens 2014-12-01 09:16:44 UTC
Also, the same can be observed when doing the same, but exchanging left and right shift keys:

1. Press and hold right shift
2. Type a few letters: these are in caps
3. Press and hold left shift
4. Release right shift
5. Type a few letters: these are in caps
6. Release left shift
7. Type a few letters : these are also in caps, despite not holding down any shift key

Comment 2 Marc-Andre Lureau 2014-12-01 09:32:46 UTC
upstream bug 77259. imho, prio/severity could be low.

Comment 3 Yaniv Lavi 2015-07-08 09:56:55 UTC
What is the status of this issue?

Comment 4 Fabiano Fidêncio 2015-07-08 10:52:52 UTC
(In reply to Yaniv Dary from comment #3)
> What is the status of this issue?

We depend on a upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=751721
If it gets accepted there, the patch will be backported for the mingw-gtk package and included in the next build.

Comment 8 errata-xmlrpc 2016-03-09 20:04: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://rhn.redhat.com/errata/RHEA-2016-0377.html


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