Bug 171924 - keyboard input is messed up in vnc connection
Summary: keyboard input is messed up in vnc connection
Status: CONFIRMED
Alias: None
Product: krdc
Classification: Applications
Component: VNC (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on: 162723
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-30 21:55 UTC by Christian Kapeller
Modified: 2012-01-25 09:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Kapeller 2008-09-30 21:55:18 UTC
Version:           4.1.1 (KDE 4.1.1) (using 4.1.1 (KDE 4.1.1), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-21-generic

I connect to ubuntu server vm running in kvm, using the kvm vnc server.

Each time I switch to another application or resize the krdc window. The console won't accept my keyboard input until in press META + character.

After that procedure keyboard input works normally
Comment 1 Urs Wolfer 2008-09-30 22:30:33 UTC
Do you think this is a duplicate of bug 170180?
Comment 2 Christian Kapeller 2008-10-01 13:15:06 UTC
I can reproduce the behaviour mentioned in bug 170180, with the difference, that it is not the CTRL key which is stuck on my system, but the META key. I can de-mess the input by just pressing META. (As opposed to the before mentioned META + character).

If the fix you commited also solves the "META/CTRL is stuck after resize/application switch" then this bugreport can be considered as duplicate of bug 170180.
Comment 3 Urs Wolfer 2008-10-01 22:39:46 UTC
I think it's a different issue then.
Comment 4 Urs Wolfer 2008-10-26 14:37:42 UTC
Can you still reproduce with a recent version?
Comment 5 Christian Kapeller 2009-02-04 11:44:47 UTC
Yes, I can produce this in krdc 4.2.00, from ubuntu's intrepid ppa packages,
albeit currently with a openbsd vm using virt-manager on the host machine, and connecting via vnc://127.0.0.1:5900. The phenomenon is the same though.

If you think the setup matters I can try it with my old setup again.
Comment 6 Malte S. Stretz 2011-03-30 16:43:23 UTC
Seems like some control key gets stuck when you connect to the VNC Server shipped with Mac OS X 10.6 and switch windows.  Sounds like the problem described above.  Happens in KDE 4.6.1.
Comment 7 Urs Wolfer 2012-01-04 20:19:27 UTC
Can you still reproduce it with a recent version of KRDC and libvncserver? libvncserver fixed some issues with MacOSx recently.
Comment 8 Malte S. Stretz 2012-01-11 13:35:06 UTC
How recent should recent be?  I can reproduce this with
  libvncserver0 0.9.7-3ubuntu1
  krdc 4:4.7.4-0ubuntu0.1~ppa1

I can now also reproduce this with Window Server 2008 R2 via RDP.  I tend to have a stuck key, often Meta but sometimes Alt or Ctrl, when I switch back to the remote screen.  I think this happens eg. when I switch back to KRDC via Alt+Tab or close my Yakuake screen with Meta+Space.
Comment 9 Urs Wolfer 2012-01-11 19:47:23 UTC
libvncserver 0.9.8 should contain OSx fixes.
Comment 10 Malte S. Stretz 2012-01-25 09:30:44 UTC
I manually installed
  libvncserver0 0.9.8.2-2ubuntu1
from oneric and will watch if this still happens.

But as I wrote in comment 8, it also happens with RDP connections so I doubt it is a libvncserver or Mac OS X related bug but a bug somewhere in KRDC itself.