15.03.2012 16:24, Martin Michlmayr wrote:
Package: qemu-kvm
Version: 1.0+dfsg-9

I just upgraded from qemu-kvm 0.14.0+dfsg-1~tls to 1.0+dfsg-9.
The new version seems to grab the focus even when it should not.

The documentation says that you have to press<Ctrl-Alt>  to "Toggle
mouse and keyboard grab".  This is how the old version worked.

In the new verion, moving the mouse pointer over the qemu-kvm window
will also grab the focus and I have to press Ctrl-Alt to release it.
Furthermore, pressing Alt-4 (which I use to switch my virtual screens
to the window where qemu-kvm is running) also results in qemu-kvm
grabbing the focus most of the time (but not always).

This looks like a regression to me.

I don't see why it is a regression.  This is exactly how it is supposed
to work, but indeed it is different from how it worked before 1.0.

> I noticed that this only happens when -usbdevice tablet is used.
> Removing this option makes it work with 1.0.  However, I had
> -usbdevice tablet enabled in 0.14.0 and didn't have this problem.
>
> Furthermore, I did some more tests with -usbdevice tablet set:
> When I start qemu-kvm and grub is running, this problem (kvm grabbing
> the focus) does not happen.  When the Linux kernel first boots, this
> problem does not happen, but after a few seconds it does.  When I then
> reboot to grub, kvm also grabs the focus in grub.

The idea is - when your guest understands usb tablet and enables the
corresponding (virtual) device, -- ie, it does not happen while in
grub or on linux text console, but does happen once some GUI gets
loaded and enables usb pointing device driver -- so, when the guest
recognizes the tablet _and_ host mouse cursor enters guest screen,
all control transferred to it, and mouse switches to guest coordinates.
Once mouse leaves the guest screen, it is not active anymore.

Without tablet, guest and host mices are completely separate, and
you have to press Ctrl+Alt to switch between the two.

With tablet, you switch by entering guest window and by leaving
guest window.

This is the whole point of usb tablet: to "integrate" host and guest
cursors.

If you don't like it, don't enable usb mouse, and you will have
the same behavour as before 1.0.

Where the regression is?

Thanks,

/mjt





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to