* [Qemu-devel] GTK UI keycodes broken under Wayland
@ 2016-12-01 7:24 Stefan Hajnoczi
2016-12-01 8:32 ` Thomas Huth
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2016-12-01 7:24 UTC (permalink / raw)
To: qemu-devel; +Cc: Daniel P. Berrange, Gerd Hoffmann
I recently upgraded to Fedora 25 which runs Wayland by default.
The GTK UI is now sending unknown keycodes to the guests. Although
alphanumeric keys work, the cursor keys are broken.
There is X11-specific code for keycode mapping in ui/gtk.c. Perhaps
something is needed to make that work under Wayland?
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] GTK UI keycodes broken under Wayland
2016-12-01 7:24 [Qemu-devel] GTK UI keycodes broken under Wayland Stefan Hajnoczi
@ 2016-12-01 8:32 ` Thomas Huth
2016-12-01 9:35 ` Daniel P. Berrange
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Huth @ 2016-12-01 8:32 UTC (permalink / raw)
To: Stefan Hajnoczi, qemu-devel; +Cc: Gerd Hoffmann, sm8ax1
On 01.12.2016 08:24, Stefan Hajnoczi wrote:
> I recently upgraded to Fedora 25 which runs Wayland by default.
>
> The GTK UI is now sending unknown keycodes to the guests. Although
> alphanumeric keys work, the cursor keys are broken.
>
> There is X11-specific code for keycode mapping in ui/gtk.c. Perhaps
> something is needed to make that work under Wayland?
There is certainly something missing for Wayland. Somebody already
reported this issue here and posted a "quick and dirty" patch:
https://bugs.launchpad.net/qemu/+bug/1578192
Thomas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] GTK UI keycodes broken under Wayland
2016-12-01 8:32 ` Thomas Huth
@ 2016-12-01 9:35 ` Daniel P. Berrange
2016-12-01 10:55 ` Stefan Hajnoczi
0 siblings, 1 reply; 4+ messages in thread
From: Daniel P. Berrange @ 2016-12-01 9:35 UTC (permalink / raw)
To: Thomas Huth; +Cc: Stefan Hajnoczi, qemu-devel, Gerd Hoffmann, sm8ax1
On Thu, Dec 01, 2016 at 09:32:34AM +0100, Thomas Huth wrote:
> On 01.12.2016 08:24, Stefan Hajnoczi wrote:
> > I recently upgraded to Fedora 25 which runs Wayland by default.
> >
> > The GTK UI is now sending unknown keycodes to the guests. Although
> > alphanumeric keys work, the cursor keys are broken.
> >
> > There is X11-specific code for keycode mapping in ui/gtk.c. Perhaps
> > something is needed to make that work under Wayland?
>
> There is certainly something missing for Wayland. Somebody already
> reported this issue here and posted a "quick and dirty" patch:
>
> https://bugs.launchpad.net/qemu/+bug/1578192
That patch doesn't seem to apply for me and does more than is
needed. I've just sent a simpler patch that ought to fix it,
though I've not personally tested it, so would appreciate
feedback from Stefan that his test VM keyboard works now.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] GTK UI keycodes broken under Wayland
2016-12-01 9:35 ` Daniel P. Berrange
@ 2016-12-01 10:55 ` Stefan Hajnoczi
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2016-12-01 10:55 UTC (permalink / raw)
To: Daniel P. Berrange; +Cc: Thomas Huth, qemu-devel, Gerd Hoffmann, sm8ax1
On Thu, Dec 1, 2016 at 9:35 AM, Daniel P. Berrange <berrange@redhat.com> wrote:
> On Thu, Dec 01, 2016 at 09:32:34AM +0100, Thomas Huth wrote:
>> On 01.12.2016 08:24, Stefan Hajnoczi wrote:
>> > I recently upgraded to Fedora 25 which runs Wayland by default.
>> >
>> > The GTK UI is now sending unknown keycodes to the guests. Although
>> > alphanumeric keys work, the cursor keys are broken.
>> >
>> > There is X11-specific code for keycode mapping in ui/gtk.c. Perhaps
>> > something is needed to make that work under Wayland?
>>
>> There is certainly something missing for Wayland. Somebody already
>> reported this issue here and posted a "quick and dirty" patch:
>>
>> https://bugs.launchpad.net/qemu/+bug/1578192
>
> That patch doesn't seem to apply for me and does more than is
> needed. I've just sent a simpler patch that ought to fix it,
> though I've not personally tested it, so would appreciate
> feedback from Stefan that his test VM keyboard works now.
Cool, thank you! I will test it.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-12-01 10:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-01 7:24 [Qemu-devel] GTK UI keycodes broken under Wayland Stefan Hajnoczi
2016-12-01 8:32 ` Thomas Huth
2016-12-01 9:35 ` Daniel P. Berrange
2016-12-01 10:55 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).