Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1339575

Summary: "ctrl+alt" still can release cursor after setting --hotkeys=release-cursor=ctrl+alt+a for vnc guest
Product: Red Hat Enterprise Linux 7 Reporter: Xiaodai Wang <xiaodwan>
Component: virt-viewerAssignee: Pavel Grunt <pgrunt>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: dblechte, juzhou, mxie, mzhan, pgrunt, rbalakri, rduda, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-viewer-2.0-8.el7 Doc Type: Bug Fix
Doc Text:
Cause: the default release sequence (ctrl+alt) was not disabled Consequence: both key sequences (the default and the hotkey's one) can be used to release the cursor Fix: disable the default key sequence when another sequence was specified using the --hotkeys option Result: Only the requested sequence is working for releasing the cursor
Story Points: ---
Clone Of:
: 1342013 1351574 (view as bug list) Environment:
Last Closed: 2016-11-04 01:20:50 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:    
Bug Blocks: 1342013, 1351574    

Description Xiaodai Wang 2016-05-25 11:16:18 UTC
Description of problem:
"ctrl+alt" still can release cursor after setting --hotkeys=release-cursor=ctrl+alt+a for vnc guest

Version-Release number of selected component (if applicable):
virt-viewer-2.0-7.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Prepare a running vnc guest.
2. Run "virt-viewer -c qemu:///system $guest --hotkeys=release-cursor=ctrl+alt+a".
3. Click the guest to make sure the cursor is grabbed and check the title of the guest has been changed to "(Press Ctrl+Alt+A to release pointer)"
4. Press "ctrl+alt".


Actual results:
The cursor is released after pressing "ctrl+alt".

Expected results:
The cursor should only be released by pressing "ctrl+alt+a".

Additional info:
This is only for vnc guests.

Comment 3 Pavel Grunt 2016-06-02 09:13:01 UTC
Fixed upstream:
bc838038590d2381d440916858a19f334a3ff377

Comment 5 Xiaodai Wang 2016-06-30 09:47:41 UTC
I verified it with virt-viewer-2.0-8.el7.x86_64 following the steps in #comment 0.

Now the cursor can only be released by pressing hotkey which setting in command line.

So move the bug from ON_QA to VERIFIED.

Comment 7 errata-xmlrpc 2016-11-04 01:20:50 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/RHBA-2016-2229.html