qemu mouse and keyboard grab is an accessibility problem

Bug #237635 reported by Henrik Nilsen Omma
2
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Medium
Unassigned
qemu-kvm (Ubuntu)
Fix Released
Medium
Dustin Kirkland 

Bug Description

Binary package hint: qemu

When you click in a qemu window it grabs the keyboard and mouse and instructs you to press ctrl+alt to release them. However this is not possible for users of Sticky Keys who will get stuck in the qemu instance.

The solution would be to make the release key configurable so that you can set it to a single key (e.g. Windows key, right ctrl, F10, etc.)

It is related to bug 236137 ('keyboard with dead keys don't work with kvm/qemu'), but the access issue can be fixed more easily than the general key code grab problem.

Related branches

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :
Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Here is a patch (kindly prepared by Lars Wirzenius) that simply sets the key to right-ctrl. This is probably not a workable general solution, but at least it points to the right place in the code :)

Changed in qemu:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Søren, could you have a look at this please? It would make ISO testing easier.

Changed in qemu:
assignee: nobody → soren
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 237635] Re: qemu mouse and keyboard grab is an accessibility problem

On Fri, Sep 19, 2008 at 10:43:43AM -0000, BUGabundo wrote:
> is https://bugs.launchpad.net/ubuntu/+bug/272065 a dupe of this bug?

No.

Matt Zimmerman (mdz)
Changed in qemu (Ubuntu):
assignee: Soren Hansen (soren) → nobody
Changed in qemu (Ubuntu):
assignee: nobody → Dustin Kirkland (kirkland)
affects: qemu (Ubuntu) → qemu-kvm (Ubuntu)
Changed in qemu-kvm (Ubuntu):
assignee: Dustin Kirkland (kirkland) → nobody
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Assigning this one to myself. Henrik provided a patch. Upstream says they'll take it if it's an option on the command line. I'll try to squeeze this into karmic.

:-Dustin

Changed in qemu-kvm (Ubuntu):
assignee: nobody → Dustin Kirkland (kirkland)
Changed in qemu-kvm (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I have a fix I'll upload against Karmic.

I just posted the patch on the qemu-devel mailing list. Hopefully they'll take the patch there.

Henrik, if you could verify it when you get a chance, that would be great.

Note that you'll need to add -ctrl-grab to your kvm and/or qemu command line. It might help to put in an alias or something in your bashrc if you use kvm frequently.

:-Dustin

Changed in qemu:
status: New → Triaged
importance: Undecided → Wishlist
importance: Wishlist → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qemu-kvm - 0.11.0~rc2-0ubuntu5

---------------
qemu-kvm (0.11.0~rc2-0ubuntu5) karmic; urgency=low

  * debian/patches/06_set_sdl_title.patch: set the sdl title properly
    when using -name, LP: #423076
  * debian/patches/07_right_ctrl_grab.patch: support right-ctrl grab
    for improved accessibility, LP: #237635
  * debian/08_fix_qemu-ifup.patch: fix positional argument problem in
    qemu-ifup script, LP: #237635
  * debian/install, debian/links: install qemu-ifup and qemu-ifdown to
    /usr/bin, and symlink them to the (somewhat silly) location where
    qemu expects to find an executable script, update the ifdown script
    to use the same logic in determining the bridge interface, LP: #430655

 -- Dustin Kirkland <email address hidden> Fri, 18 Sep 2009 10:59:44 -0500

Changed in qemu-kvm (Ubuntu):
status: In Progress → Fix Released
Changed in qemu:
status: Triaged → Fix Committed
milestone: none → 0.12.0
Aurelien Jarno (aurel32)
Changed in qemu:
status: Fix Committed → Fix Released
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.