Closing KVM window requires clicking the X twice

Bug #693020 reported by Mackenzie Morgan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu-kvm (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

<landley1> kvm in 10.04 LTS has a bug: you have to click X to close twice.
<landley1> The first click is ignored.
<landley1> If I launch it, click on the window to give it focus, and hit alt-escape to exit the grab, then it needs two clicks to kill it. (even if I switch focus to something else and come back.)
<landley1> And if I click on it to give it focus, alt-escape to exit grab, click X once, and then give it focus and escape the grab again, I'm back to needing two clicks on X to kiill it.

10.04
amd64

Tags: sdl
description: updated
affects: virt-viewer (Ubuntu) → qemu-kvm (Ubuntu)
description: updated
Revision history for this message
Rob Landley (rob-landley) wrote :

More details: this is xubuntu x86-64.

If I just launch kvm and immediately kill it, it exits with one click on the X. But if I clock on the display area to let KVM do a mouse grab and then alt-escape out of the mouse grab, afterwards the KVM window ignores the first click on the X. (Even if I switch focus to another window and switch focus back in between doing so, the first click on the X is always ignored after KVM's done a mouse grab.)

In fact, if I grab-and-escape, the click the X once, and then grab and escape again, it's back to ignoring the first click on the X and thus needing two clicks on the X to kill the window.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better.

Unfortunately I won't be able to try to reproduce this this week or next. If you are able to reproduce this in a standard ubuntu 10.04 LTS with classic desktop, that would be helpful information. Otherwise, I will try to reproduce in xubuntu 10.04.

Chuck Short (zulcss)
Changed in qemu-kvm (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Changed in qemu-kvm (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Just reproduced the same behavior in kvm natty.

More interesting:

enable focus-follows-click in metacity.

click on the kvm display area to grab the mouse, hit ctrl-alt to release, then go click on another window: you have to click twice to focus it!

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

(Note this is with metacity in 'classic desktop')

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

(Same with qemu in unity/compiz)

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Using vnc+gvncviewer, the same thing does NOT happen. So presumably this is a bug either in ui/sdl.c, or in the SDL libraries.

tags: added: sdl
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.