Bug 1230602
| Summary: | Shortcuts missing from "Send key" menu when started using plugin | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Christophe Fergeau <cfergeau> | |
| Component: | virt-viewer | Assignee: | Virt Viewer Maint <virt-viewer-maint> | |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 7.2 | CC: | cfergeau, dblechte, gklein, jjongsma, juzhou, marcandre.lureau, mzhan, pgrunt, rbalakri, spice-qe-bugs, tjamrisk, tzheng, xiaodwan, yeylon | |
| Target Milestone: | rc | |||
| Target Release: | 7.2 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | virt-viewer-2.0-2.el7 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1055600 | |||
| : | 1290747 (view as bug list) | Environment: | ||
| Last Closed: | 2015-11-19 07:37:17 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: | 1290747 | |||
|
Description
Christophe Fergeau
2015-06-11 08:44: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.
(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). Hi Pavel Grunt, thanks for your quick reply, move this bug from ON_QA to VERIFIED. 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 |