qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu GTK display mouse pointer visibility/position problem
@ 2019-02-20  8:31 Michael Tokarev
  2019-02-21 14:18 ` Gerd Hoffmann
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Tokarev @ 2019-02-20  8:31 UTC (permalink / raw)
  To: qemu-devel qemu-devel; +Cc: Gerd Hoffmann

Forwarding from Debian bug report #919057,
http://bugs.debian.org/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
again.

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
pointer).

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.
----



Thanks,

/mjt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-21 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-20  8:31 [Qemu-devel] Qemu GTK display mouse pointer visibility/position problem Michael Tokarev
2019-02-21 14:18 ` Gerd Hoffmann

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).