Red Hat Bugzilla – Bug 1258023
[gnome-boxes] dead key when German layout is chosen
Last modified: 2017-06-06 05:59:25 EDT
Created attachment 1068073 [details]
Screenshot of German keyboard layout
Description of problem:
When running Fedora in a virtual machine by means of gnome-boxes and a German keyboard layout is chosen, the key providing the less, greater, and vertical stroke signs (located in the lower left part of the keyboard shown in the attachment) is disabled.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run Fedora 21/22/23 in a virtual machine under Fedora 22.
2. Press the key with less, greater, and vertical stroke signs in a virtual console or in some X application.
The less, greater, or vertical stroke sign which has been pressed is printed.
No other disabled key has been found to this date.
Issue also affects the current Fedora 23 branched tree including gnome-boxes-3.17.91-1.fc23.
Do you have the same issue with remote-viewer?
Start your VM in gnome-boxes, then from a terminal
$ killall gnome-boxes
$ virsh list
-> should show you some running VM name
$ virsh domdisplay $vmname
($vmname is the name from the previous step)
$ remote-viewer spice://localhost:xxxx
(xxxx comes from the output of the 'domdisplay' command)
If you don't have remote-viewer installed, it comes with the virt-viewer package.
A current Fedora 23 system exhibits the issue for both of gnome-boxes and remote-viewer.
What is 'xev' output (in your host/client OS, not guest) for that key?
For the host system xev returns:
KeyRelease event, serial 36, synthetic NO, window 0x1a00001,
root 0x4b1, subw 0x1a00002, time 28594619, (42,45), root:(92,159),
state 0x0, keycode 94 (keysym 0x3c, less), same_screen YES,
XLookupString gives 1 bytes: (3c) "<"
XFilterEvent returns: False
In the VM no response to pressing said key as expected.
Related to the USB keyboard boxes adds to its VMs. If I remove it, the key works.
(virsh edit $vmname; remove the '<input type='keyboard' bus='usb'/>' line, shutdown/restart the VM).
The issue is absent from Fedora 21, thus it was new in the 3.16.x tree.
Issue applies to all of Fedora 22, 23, and 24 (rawhide).
Moving this one to QEMU too, bug #1274970 was filed for f23
*** Bug 1274970 has been marked as a duplicate of this bug. ***
Issue appears to be fixed (at least) in the Fedora 24 branch including qemu-2.6.0-0.1.rc1.fc24.
I tried to identify a commit in qemu that might have fixed it, but I couldn't find anything :/ so just closing against f24 but if someone identifies the commit we can reopen and ill backport to stable branches
I am facing this bug when using a PT-BR keyboard layout in a virtualised Windows 10, under Fedora 25. The forward slash is not working. Should I open a new report?
(In reply to Douglas from comment #13)
> I am facing this bug when using a PT-BR keyboard layout in a virtualised
> Windows 10, under Fedora 25. The forward slash is not working. Should I open
> a new report?
Removing the USB keyboard from the VM helps? (as described in https://bugzilla.redhat.com/show_bug.cgi?id=1258023#c6 )