Bug 207949 - lost keystrokes on virtual machine console
Summary: lost keystrokes on virtual machine console
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-25 15:21 UTC by Angus Thomas
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-09-27 15:49:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Angus Thomas 2006-09-25 15:21:37 UTC
Description of problem:
I have two X sessions running. Ctrl-Alt-F7 gives me the local gnome desktop.
Ctrl-Alt-F8 is another gnome desktop, exported from a woodcrest machine via
xdmcp. When switching between them, I find that the keyboard input to the
virt-manager's virtual machine console on the woodcrest breaks in various ways.
For example, it responds as if the Alt key was constantly pressed.

Version-Release number of selected component (if applicable):
virt-manager-0.2.2-1.fc6

How reproducible:
Always

Steps to Reproduce:
1.Run two concurrent X sessions
2.Use keyboard shortcuts to switch between them
3.
  
Actual results:
Keyboard input to the virtual machine console is knackered

Expected results:
keyboard input should work as it does on a normal terminal, for example

Additional info:

Comment 1 Daniel Berrangé 2006-09-25 15:27:01 UTC
We send VNC key events when getting  KeyPress/KeyRelease from X. So in this case
we're sending a KeyPress for the Alt & Ctrl keys, but since the final Fx key
switches to another local host console, the VNC server never gets sent the
KeyRelease events for Alt & Ctrl. So when switching back to the original host
console, the VNC server has Alt & Ctrl 'stuck' on. Looks like we need to 'reset'
key state when getting a LeaveNotify event


Comment 2 Daniel Berrangé 2006-09-27 15:49:26 UTC
This issue is fixed in virt-manager-0.2.3-1.fc6 which will appear in rawhide
within the next day.


Note You need to log in before you can comment on or make changes to this bug.