[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Qemu GTK display mouse pointer visibility/position problem

From: Michael Tokarev
Subject: [Qemu-devel] Qemu GTK display mouse pointer visibility/position problem
Date: Wed, 20 Feb 2019 11:31:22 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Forwarding from Debian bug report #919057,

Apparently there's some prob with qemu 3.1 GTK frontend and mouse pointer
visibility.  Especially this part:

I have similar problems as the original reporter, specifically, after
upgrading to qemu 3.1 from stretch [from qemu 2.8 -- mjt], mouse pointer
is invisible in guest systems iff the pointer is grabbed,
with -display gtk and qxl is used.

When using -vga std, both linux and windows guests show a mouse pointer.
likewise, with -vga qxl and/or additional -device qxl, a mouse pointer is
shown *iff* the input isn't grabbed.

The behaviour is perfectly repeatable here: if I press ctrl-alt-g, mouse
pointer becomes invisible, ctrl-alt-g again, pointer becomes visible

Note that the mouse otherwise behaves normally, i.e. with -device
usb-tablet it is where the X11 pointer is, and it is "fully usable" in the
guest, if you ignore the fact that you have to work blind :)

This happens regardless of -device usb-tablet.

I have tried this with both ubuntu 17.10 and windows 10 + qxl-dod driver
(virtio 0.141 and 0.164), and the behaviour is consistent, so I think
this is a bug in the gtk+ interface of qemu when qxl is used (or when a
hardware pointer is used, as I guess -vga std does not emulate a hardware

Basically, it seems that the gtk+ interface simply doesn't show the
hardware pointer when input is grabbed, for whatever reason.

Interestingly enough, when I change the shape of the pointer under both
ubuntu and windows 10 guests, the shape is reflected by qemu (as long
as input isn't grabbed, orf course), so the gtk interface is able to
corretcly access the hardware pointer graphics form the guest.

Googling around, I saw recommendations to use -show-cursor - I have no
clue what it does, it didn't have any effect, either.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]