Bug 1017663 - Send key Ctrl+Alt+Del and Ctrl+Alt+Fxx
Summary: Send key Ctrl+Alt+Del and Ctrl+Alt+Fxx
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: mingw-virt-viewer
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.4.0
Assignee: Marc-Andre Lureau
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-10 10:02 UTC by Vaclav Ehrlich
Modified: 2016-10-04 04:02 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-11 23:29:17 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rfc patch (5.25 KB, patch)
2013-10-29 20:20 UTC, Marc-Andre Lureau
marcandre.lureau: review-
Details | Diff

Description Vaclav Ehrlich 2013-10-10 10:02:52 UTC
Description of problem:
If key (Ctrl+Alt+End or Ctrl+Alt+Fxx) is send via keyboard or via menu Send key, nothing happens in guest.
Key combo is captured by xev in guest, but proper action is not launched.

PrintScreen works fine.

Version-Release number of selected component (if applicable):
mingv-virt-viewer 0.5.66.el6_6
spice-vdagent-0.14.0-2

How reproducible:
Always

Steps to Reproduce:
1.Connect to guest
2.Try to press combination of ctrl+alt+fxx (f1-f12) or ctrl+alt+end

Actual results:
Nothing happens on guest,
XEV on guest shows pressed buttons

Expected results:
Action according to key combination is performed.

Additional info:
Client WinXP 32b
Guest RHEL 6.5
Host RHEL 6.5

Comment 1 Marc-Andre Lureau 2013-10-29 20:20:25 UTC
Created attachment 817175 [details]
rfc patch

Comment 2 Marc-Andre Lureau 2013-10-29 20:22:24 UTC
Comment on attachment 817175 [details]
rfc patch

wrong patch...

Comment 3 Marc-Andre Lureau 2013-10-29 20:27:55 UTC
fwiw, I am unable to reproduce using vv or controller connection.

With controller, c-a-end is not enabled unless secure-attention hotkey is set. (see also bug 1023447)

Can you specify how you launch the client?

Comment 4 Vaclav Ehrlich 2013-11-11 16:32:13 UTC
I've connected directly from windows command line.

Comment 5 Marc-Andre Lureau 2013-11-12 21:57:11 UTC
(In reply to Vaclav Ehrlich from comment #4)
> I've connected directly from windows command line.

can you give the full command line? did you set --hotkeys? If not, then there is no global key binding. This means that the pointer needs to be outside of the remote display arrea for the gtk accelerator to be active.

Comment 6 Vaclav Ehrlich 2013-11-27 13:57:17 UTC
I don't use --hotkeys

Client:
    sudo /usr/libexec/qemu-kvm -m 1024 -name winXP -drive file=~/winXP.img,media=disk -vga qxl -spice port=3000,addr=10.34.131.226,disable-ticketing -device virtio-serial  -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -readconfig ./ich9-ehci-uhci.cfg -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,debug=3 -soundhw ac97 -monitor stdio
     
Guest:
    sudo /usr/libexec/qemu-kvm -m 1024 -name rhel65 -drive file=~/rhel65.img,media=disk -vga qxl -spice port=3001,disable-ticketing -device virtio-serial  -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -readconfig ./ich9-ehci-uhci.cfg -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,debug=3 -monitor stdio
     
Connect to client:
    remote-viewer spice://10.34.131.226?port=3000
     
From client connect to guest:
    remote-viewer.exe spice://10.34.131.226?port=3001

Comment 7 Vaclav Ehrlich 2013-11-28 14:10:59 UTC
Well it works, but you have to press and hold for 3 to 5 seconds the combination of Ctrl+Alt+Fxx.

Comment 8 David Blechter 2013-12-08 21:05:43 UTC
mnoving to 3.4 as no blocker flag proposed and we are at RC phase. 

(In reply to Vaclav Ehrlich from comment #7)
> Well it works, but you have to press and hold for 3 to 5 seconds the
> combination of Ctrl+Alt+Fxx.
Canm you provide more details? What is working now?

Comment 9 Marc-Andre Lureau 2014-03-11 23:29:17 UTC
can't reproduce, closing by lack of info.

Feel free to reopen if you have further details

Comment 10 Vaclav Ehrlich 2014-03-27 10:01:03 UTC
I'll try it in 3.4
What info you will need ?


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