Bug 1170509

Summary: Keyboard not working when using virt-viewer in Gnome with Wayland
Product: [Fedora] Fedora Reporter: Johan Vervloet <bulk>
Component: gtk-vncAssignee: Daniel Berrangé <berrange>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: berrange, cfergeau, crobinso, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 21:12:06 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:

Description Johan Vervloet 2014-12-04 08:17:19 UTC
Description of problem:

I have a Windows 8.1 guest (KVM) on my Fedora 21 host. When I run a 'Gnome on Wayland' session, and I connect to my virtual machine with virt-viewer, it ignores the keys I am typing. The console shows this error message:

(virt-viewer:3478): GSpice-CRITICAL **: send_key: assertion 'scancode != 0' failed

It does work with Xorg instead of wayland.

Version-Release number of selected component (if applicable):

* virt-viewer-1.0-2.fc21.x86_64
* libwayland-server-1.6.0-1.fc21.x86_64
* libwayland-client-1.6.0-1.fc21.x86_64

How reproducible:


Steps to Reproduce:
1. connect to virtual machine with virt-viewer
2. try typing things

Actual results:

nothing happens

Expected results:

see characters and moving cursor

Comment 1 Daniel Berrangé 2014-12-04 09:37:34 UTC
Yep, this is a bug in gtk-vnc. It needs to be extended to understand the scancode mapping that Wayland uses. If we're lucky it will be using plain evdev scancodes, if we're unlucky .....

Comment 2 Fedora End Of Life 2015-11-04 14:48:20 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Cole Robinson 2015-11-04 21:12:06 UTC
Pretty sure this is fixed in the latest fedora releases, there's several gtk-vnc commits that reference wayland keymap fixes