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 1230602 - Shortcuts missing from "Send key" menu when started using plugin
Summary: Shortcuts missing from "Send key" menu when started using plugin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-viewer
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 7.2
Assignee: Virt Viewer Maint
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1290747
TreeView+ depends on / blocked
 
Reported: 2015-06-11 08:44 UTC by Christophe Fergeau
Modified: 2015-12-11 10:22 UTC (History)
14 users (show)

Fixed In Version: virt-viewer-2.0-2.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1055600
: 1290747 (view as bug list)
Environment:
Last Closed: 2015-11-19 07:37:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2211 0 normal SHIPPED_LIVE virt-viewer, spice-gtk, and libgovirt bug fix and enhancement update 2015-11-19 08:27:40 UTC

Description Christophe Fergeau 2015-06-11 08:44:35 UTC
Also impacts remote-viewer started from spice-xpi.


+++ This bug was initially created as a clone of Bug #1055600 +++

Description of problem:

Shortcuts that are set using the activex plugin are not automatically set in Send key menu on the first open display.


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

How reproducible:
Always 

Steps to Reproduce:
1. Connect to guest from windows client using activex plugin

Expected results:
The Send key combinations for shortcuts (such as Shift+F11) should be added to the menu as they are when started using file

Additional info:
Sorry, missed this as activex was not working properly with IE11 at the time of testing...

--- Additional comment from Marc-Andre Lureau on 2014-01-20 10:35:41 EST ---

damn, I was sure I verified that bug in last build... hopefully it is working with upstream... anyway, it should easy to figure out again.

--- Additional comment from Christophe Fergeau on 2015-06-11 04:43:20 EDT ---

Patch sent to the ML: https://www.redhat.com/archives/virt-tools-list/2015-June/msg00135.html

Comment 3 zhoujunqin 2015-08-19 09:17:35 UTC
I try to reproduce and verify this bug on following way, so Christophe Fergeau please help me check whether it's enough or not, thanks in advance.

I can reproduce this issue with package:
virt-viewer-2.0-1.el7.x86_64

Steps:
1. Prepare a running guest on rhevm server, such as name is 'juzhou-rhel6'.

2. Download guest file "console.vv" to check hotkeys settings.

2.1 Right-click on this guest and select "Console Options" item, then select Console Invocation as "Native client".

2.2. Click the guest and select "Console" item, then save the console file "console.vv" to local machine.

2.3. Open file console.vv check the value for some hotkeys settings:
# cat console.vv
...
toggle-fullscreen=shift+f11
release-cursor=shift+f12
secure-attention=ctrl+alt+end
...

3. Right-click on this guest and select "Console Options" item, then select Console Invocation as "Browser Plugin", then click the guest again and select "Console" item

4. Check hotkeys setting in "Send Key" menu.

Result: There is no extra shortcuts (Such as Shift+F11, Shift+F12, Ctrl+Alt+End) listing under "Send Key" menu in Display 1, but after open second display(Display 2), you can see such extra shortcuts listing under "Send Key" menu of Display2.

Then try to verify this issue with new build:
virt-viewer-2.0-6.el7.x86_64

Steps as above.

Result after step4:
4.1 
We can see shortcuts listed under "Send Key" menu in Display 1 as setting in console.vv file:
Shift+F11-->works, can switch guest window between fullscreen and window mode
Shift+F12-->works, can released cursor
Ctrl+Alt+End-->works.

These shortcuts work well when i send from keyboard.

4.2
Sends shortcuts from send key menu list, such as "Shift+F11", in fact guest cannot to toggle fullscreen, in this rhel guest, i can use xev to check if the key combination reaches the guest:
...
KeyPress event, serial 33, synthetic NO, window 0x4800001,
    root 0x107, subw 0x0, time 6766175, (-2,-64), root:(0,13),
    state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x4800001,
    root 0x107, subw 0x0, time 6766175, (-2,-64), root:(0,13),
    state 0x11, keycode 95 (keysym 0xffc8, F11), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x4800001,
    root 0x107, subw 0x0, time 6766175, (-2,-64), root:(0,13),
    state 0x11, keycode 95 (keysym 0xffc8, F11), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x4800001,
    root 0x107, subw 0x0, time 6766175, (-2,-64), root:(0,13),
    state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
...

4.3 We can also see these shortcuts in second display.

Comment 4 Pavel Grunt 2015-08-19 09:49:34 UTC
(In reply to zhoujunqin from comment #3)
> Result after step4:
> 4.1 
> We can see shortcuts listed under "Send Key" menu in Display 1 as setting in
> console.vv file:
> Shift+F11-->works, can switch guest window between fullscreen and window mode
> Shift+F12-->works, can released cursor
> Ctrl+Alt+End-->works.
> 
> These shortcuts work well when i send from keyboard.
> 
> 4.2
> Sends shortcuts from send key menu list, such as "Shift+F11", in fact guest
> cannot to toggle fullscreen, in this rhel guest, i can use xev to check if
> the key combination reaches the guest:
> ...
> KeyPress event, serial 33, synthetic NO, window 0x4800001,
>     root 0x107, subw 0x0, time 6766175, (-2,-64), root:(0,13),
>     state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
>     XLookupString gives 0 bytes: 
>     XmbLookupString gives 0 bytes: 
>     XFilterEvent returns: False
> 
> KeyPress event, serial 33, synthetic NO, window 0x4800001,
>     root 0x107, subw 0x0, time 6766175, (-2,-64), root:(0,13),
>     state 0x11, keycode 95 (keysym 0xffc8, F11), same_screen YES,
>     XLookupString gives 0 bytes: 
>     XmbLookupString gives 0 bytes: 
>     XFilterEvent returns: False
> 
> KeyRelease event, serial 33, synthetic NO, window 0x4800001,
>     root 0x107, subw 0x0, time 6766175, (-2,-64), root:(0,13),
>     state 0x11, keycode 95 (keysym 0xffc8, F11), same_screen YES,
>     XLookupString gives 0 bytes: 
>     XFilterEvent returns: False
> 
> KeyRelease event, serial 33, synthetic NO, window 0x4800001,
>     root 0x107, subw 0x0, time 6766175, (-2,-64), root:(0,13),
>     state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
>     XLookupString gives 0 bytes: 
>     XFilterEvent returns: False
> ...
> 
> 4.3 We can also see these shortcuts in second display.

This is correct behaviour. If you press Shift+F11 virt-viewer receives the key combination and its window goes fullscreen. If you send the key combination using the "Send key" menu, only the guest receives the combination (virt-viewer doesn't receive the combination, so it cannot go fullscreen).

Comment 5 zhoujunqin 2015-08-24 03:06:52 UTC
Hi  Pavel Grunt,
thanks for your quick reply, move this bug from ON_QA to VERIFIED.

Comment 7 errata-xmlrpc 2015-11-19 07:37:17 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-2015-2211.html


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