Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Some keys are missing when using fr-ca keyboard layout with VNC display
Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.9.0-1.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Boot a rhel7.4 guest with cli:
/usr/libexec/qemu-kvm -name virtio-vga -m 2G -machine pc,accel=kvm\
-cpu Skylake-Client\
-smp 1 \
-serial unix:/tmp/console1,server,nowait \
-monitor stdio \
-device virtio-vga,id=vga1 \
-drive file=rhel74-0417.qcow2.2,if=none,id=drive-scsi-disk0,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0,addr=04 -device scsi-hd,drive=drive-scsi-disk0,bus=scsi0.0,scsi-id=0,lun=0,id=scsi-disk0,bootindex=1 \
-netdev tap,id=idinWyYp,vhost=on -device virtio-net-pci,mac=42:ce:a9:d2:4d:d8,id=idlbq7eA,netdev=idinWyYp \
-qmp tcp:0:4445,server,nowait \
-k fr-ca \
-vnc :0 \
2. Change guest keyboard layout to French(Canada)
3. Open a terminal in guest and type - and +(from my english layout hw keyboard)
Actual results:
Nothing present in guest terminal and qemu prompt:
Warning: no scancode found for keysym 45
Warning: no scancode found for keysym 61
Expected results:
A ) and - present(in french canada kayboard layout, type - in us will have a ) and type + will have a -)
Additional info:
No such issue happen when using spice display
> A ) and - present(in french canada kayboard layout, type - in us will have a
> ) and type + will have a -)
/me is confused. What keys you are talking about?
According to gnome keymap utility en-us and fr-ca keyboards have "+" and "-" at the very same location ...
Created attachment 1296200[details]
key pressed
Sorry for the late response :(
Hmm, refer to keyboard layout(I open it from "show keyboard layout").
Attach a screenshot to show which keys I pressed, you can see these two keys(now I think only press the key left can present the problem...)
On a rhel7.4 host with real usb keyboard(an english kayout keyboard), change Input Sources to French(Canada), open a terminal, make sure input source is fr(this can be found on the top right corner). First press the key left that indicated from my screenshot from hw keyboard and then press the key right. The terminal will show "-="
Back to the guest launched by the reported qemu cli and same test as I did for host, nothing present in guest terminal and only messages prompt from hmp:
Warning: no scancode found for keysym 45
Warning: no scancode found for keysym 61
Switch vnc to spice, the behavior is same as host, terminal will show "-="
spice cli:
/usr/libexec/qemu-kvm -name virtio-vga -m 2G -machine pc,accel=kvm\
-cpu Skylake-Client\
-smp 1 \
-serial unix:/tmp/console1,server,nowait \
-monitor stdio \
-device VGA,id=vga1 \
-drive file=rhel74-0501.qcow2,if=none,id=drive-scsi-disk0,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0,addr=04 -device scsi-hd,drive=drive-scsi-disk0,bus=scsi0.0,scsi-id=0
,lun=0,id=scsi-disk0,bootindex=1 \
-netdev tap,id=idinWyYp,vhost=on -device virtio-net-pci,mac=42:ce:a9:d2:4d:d8,id=idlbq7eA,netdev=idinWyYp \
-k fr-ca \
-spice port=5900,disable-ticketing,agent-mouse=on \
-device virtio-serial-pci,id=virtio-serial1 \
-chardev spicevmc,id=charchannel0,name=vdagent \
Maybe this can explain the issue?
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://access.redhat.com/errata/RHSA-2018:1104
Description of problem: Some keys are missing when using fr-ca keyboard layout with VNC display Version-Release number of selected component (if applicable): qemu-kvm-rhev-2.9.0-1.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.Boot a rhel7.4 guest with cli: /usr/libexec/qemu-kvm -name virtio-vga -m 2G -machine pc,accel=kvm\ -cpu Skylake-Client\ -smp 1 \ -serial unix:/tmp/console1,server,nowait \ -monitor stdio \ -device virtio-vga,id=vga1 \ -drive file=rhel74-0417.qcow2.2,if=none,id=drive-scsi-disk0,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0,addr=04 -device scsi-hd,drive=drive-scsi-disk0,bus=scsi0.0,scsi-id=0,lun=0,id=scsi-disk0,bootindex=1 \ -netdev tap,id=idinWyYp,vhost=on -device virtio-net-pci,mac=42:ce:a9:d2:4d:d8,id=idlbq7eA,netdev=idinWyYp \ -qmp tcp:0:4445,server,nowait \ -k fr-ca \ -vnc :0 \ 2. Change guest keyboard layout to French(Canada) 3. Open a terminal in guest and type - and +(from my english layout hw keyboard) Actual results: Nothing present in guest terminal and qemu prompt: Warning: no scancode found for keysym 45 Warning: no scancode found for keysym 61 Expected results: A ) and - present(in french canada kayboard layout, type - in us will have a ) and type + will have a -) Additional info: No such issue happen when using spice display