Bug 99714

Summary: Keys are not send when using x11-forwarded client from Wayland
Product: Spice Reporter: Pavel Grunt <pavelgrunt>
Component: spice-gtkAssignee: Spice Bug List <spice-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: lowest CC: adee.edu, jt
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Pavel Grunt 2017-02-08 17:29:56 UTC
Created as clone of https://bugzilla.redhat.com/show_bug.cgi?id=1413814

Steps to Reproduce:
1. From Wayland machine connect to Xorg client using SSH
2. run a spice client
3. keyboard stroke not recognised

Debug:
(remote-viewer:3481): vnc-keymap-WARNING **: Unknown keycode mapping '(unnamed)'.
Please report to gtk-vnc-list@gnome.org
including the following information:

  - Operating system
  - GDK build
  - X11 Server
  - xprop -root
  - xdpyinfo

...
(remote-viewer:3481): GSpice-DEBUG: spice-widget.c:1526 key_event press: keycode: 38  state: 16  group 0 modifier 0

(remote-viewer:3481): GSpice-CRITICAL **: send_key: assertion 'scancode != 0' failed
(remote-viewer:3481): GSpice-DEBUG: spice-widget.c:1526 key_event release: keycode: 38  state: 16  group 0 modifier 0

(remote-viewer:3481): GSpice-CRITICAL **: send_key: assertion 'scancode != 0' failed
Comment 1 Pavel Grunt 2017-02-27 13:48:59 UTC
More simple reproducer is running in the wayland env:
GDK_BACKEND=x11 remote-viewer

https://lists.freedesktop.org/archives/spice-devel/2017-February/036043.html
Comment 2 GitLab Migration User 2018-06-03 10:21:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/spice/spice-gtk/issues/28.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.