Bug 2020872 - Cannot send keys to Windows 10 virtual machine from keyboard menu
Summary: Cannot send keys to Windows 10 virtual machine from keyboard menu
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-viewer
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-06 17:24 UTC by Tom Horsley
Modified: 2021-12-07 02:06 UTC (History)
7 users (show)

Fixed In Version: virt-viewer-11.0-1.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 02:06:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
virtual machine definition from virsh dumpxml (5.61 KB, text/plain)
2021-11-06 17:24 UTC, Tom Horsley
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Gitlab virt-viewer virt-viewer issues 58 0 None None None 2021-11-09 17:57:46 UTC

Description Tom Horsley 2021-11-06 17:24:19 UTC
Created attachment 1840469 [details]
virtual machine definition from virsh dumpxml

Description of problem:

On fedora 34, virt-viewer had a "Send Key" menu which allowed me to send keystrokes such as "Ctrl-Alt-Del" to the Windows 10 virtual machine I have. This worked fine on f34.

On fedora 35, the nice text menus disappeared, but trying meaningless icons at random on the menu bar finally found the one with the list of keystrokes to send, but every entry is grayed out and clicking has no effect.

Hopefully if this isn't an actual error, when this bug gets closed someone will mention how to fix it :-).


Version-Release number of selected component (if applicable):
virt-viewer-10.0-4.fc35.x86_64


How reproducible:
100% of the time with my Windows 10 virtual machine. I also just started an ubuntu virtual machine and it acts the same way, all entries disabled in menu.

Steps to Reproduce:
1.start virtual machine in virt viewer
2.bring down send key menu
3.see all entries disabled

Actual results:
can't seed keys

Expected results:
able to send keys

Additional info:

Comment 1 Tom Horsley 2021-11-06 20:04:48 UTC
I note that if I open the virtual machine from the virt-manager app, the Send Key menu does work, but the separate virt-viewer doesn't work.

Comment 2 Tom Horsley 2021-11-07 00:13:12 UTC
The fedora34 partition I'm no longer running still exists on my system, and if I try this script, I get a Send Key menu that works:

LD_LIBRARY_PATH=/fedora34/usr/lib64:/fedora34/lib64
/fedora34/usr/bin/virt-viewer "$@"

The more things I try, the more this looks like a real bug and not some mysterious user error.

Comment 3 W. de Heiden 2021-11-11 14:42:19 UTC
Confirmed; last week I updated to F35, the "virtual keyboard" doesn't work anymore.

Comment 4 Daniel Berrangé 2021-11-11 14:45:26 UTC
Yes, there's some screw ups with the key menu that are fixed in upstream virt-viewer we need to backport.

Comment 5 Fedora Update System 2021-11-30 12:22:55 UTC
FEDORA-2021-6a57b43952 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-6a57b43952

Comment 6 Fedora Update System 2021-12-01 01:36:54 UTC
FEDORA-2021-6a57b43952 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-6a57b43952`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-6a57b43952

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 W. de Heiden 2021-12-01 11:17:22 UTC
I just gave it a test: sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-6a57b43952

Looks good, "virtual keyboard"  works!

Comment 8 Fedora Update System 2021-12-07 02:06:08 UTC
FEDORA-2021-6a57b43952 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


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