Red Hat Bugzilla – Bug 454627
virt-manager machine console loses focus with arrow key
Last modified: 2009-06-27 11:45:42 EDT
Description of problem:
The virtual machine console window does not fully grab keyboard input when the
mouse is over the vnc widget. I have 'Grab keyboard input' set to 'On mouse over'.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Double-click on activate virtual machine to see console.
2.Open a window on the virtual machine's console. Keep mouse inside console.
3.Type into the window, anywhere, then press the 'Up' arrow key.
virt-manager's 'Shutdown' button now has focus.
Keyboard input still grabbed by vnc widget.
Worked fine until today.
Downgrading gtk-vnc-python/gtk-vnc to 0.3.4-4.fc9 fixes it.
I believe this is caused by this changeset
user: Anthony Liguori <email@example.com>
date: Tue Mar 11 13:29:41 2008 -0500
Propagate key press events. This is needed for kvm-test.
This causes the key event to be forwarded onto the parent widget, and the
parent's parent & so on. Ultimately this gets processed by handler relating to
input focus, causing the shutdown button to get highlighted.
gtk-vnc-0.3.6-2.fc9 has been submitted as an update for Fedora 9.
I just installed gtk-vnc-0.3.7-1.fc9.x86_64 from koji and can confirm that the focus doesn't switch to the console toolbar anymore when pressing the "tab" or "up" keys. BUT now the console window also doesn't release the mouse pointer when pressing "ctrl+alt"!
gtk-vnc-0.3.7-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update gtk-vnc'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7907
gtk-vnc-0.3.7-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
Comment #5 still applies to this:
> BUT now the console window also doesn't release the
> mouse pointer when pressing "ctrl+alt"!
This is a pretty critical FAIL.
(In reply to comment #8)
> Comment #5 still applies to this:
> > BUT now the console window also doesn't release the
> > mouse pointer when pressing "ctrl+alt"!
> This is a pretty critical FAIL.
Yes, but it is fixed now. See bug 463729.
Please do *NOT* reopen bugs to report different problems. As Torsten says there is a separate bug tracking this problem & its resolution. It is completely unconnected to this existing bug.