Spooky keyboard behaviour

This probably doesn't belong in the programming forum, but I'm interested in finding out if someone has had a similar problem. I have installed my app at a client site. The app is run on 9 machines. 7 of the 9 operate fine, but on two of the machines I have strange keyboard behaviour.
Ocasionally the app will stop erwsponding to the keyboard, but will still respond to the mouse and still paints ok. Restarting the app doesn't help. But, if the user opens MS Word, types a few chars and then restarts my app, it operates normally.
One of the machines is a laptop running WinXP home and the other is a Desktop running Win98.
I am using JRE 1.4.2_05 as the runtime and Swing for the UI components.
The only parts of my code I can think of that may interfere with keyboard processing are:
I have a KeyEventPostProcessor which checks for the escape key nad arrow keys
I also have an event processor which looks like this:
     private static final class EventProcessor extends EventQueue {
          public EventProcessor() {
          protected void dispatchEvent(final AWTEvent evt) {
               try {
                    super.dispatchEvent(evt);
               catch (Exception e) {
                    // Catch any uncaught AWT Exceptions
                    try {
                         MedEDI.showException(e);
                    catch (Exception ignored) {     
                    getInstance().shutdown();
     }I'm completely foxed as I cannot recreate this in my development environment. Has anyone else come across a similar issue?
Graeme

Some possibilities:
1. Dirt under the keysIt is only my app (the only java app on the system) that has this trouble, which makes it unlikely that dirt is causing the problem. At one stage I thought that it might be a USB keyboard or keyboard driver problem, but given that one of them is a laptop with XP and the other is a desktop with 98, this seems unlikely too. Especially seeing that the other 8 terminals are all the same hardware and setup as the desktop.
2. Badly-programmed spyware installedNever thought of that. Might not be the problem, but what the hey, it's worth a try. I'll have them check for spyware on Monday and I'll let you know how it turns out.
Graeme

Similar Messages

  • Weird keyboard behaviour in TTY

    Good evening,
    I just reinstalled Arch Linux on a VPS and I am experiencing some weird behaviour.
    I created the Arch Image on my local machine and when it was setup with the most basic features I did send it to the VPs company for them to run.
    When I connect to this new install with putty over SSH everything is going fine and my keyboard works.
    However when I connect via putty to the 'lights out' service of this VPS and thus reach some kind of TTY environment the keyboard behaviour is totally different! I do not mind that my arrows do not work, or that all the F keys are giving me weird characters. But the most annoying of all is that my Return key (or enter how you want to call it) does print the first character of the command I just typed and does a line break. It is incredibly weird and thus I made you guys a photo.
    As you can see when I type uptime then the U is displayed on a new line and nothing happens. If I hit return again then the system will say that the command U does not exists.
    However if you continue typing as you can see in the second example then in the end you do get what you want. As you can imagine this is not what should happen.
    /etc/vconsole.conf
    KEYMAP=uk
    FONT=Lat2-Terminus16
    FONT_MAP=
    I also tried to enable keymap in the hooks of mkinitcpio.conf but this did not make any difference. I am not sure if the keymap is the problem, if I load it manually it also does not make any difference to the TTY.
    Yet again, via SSH nothing is wrong and all works fine. However when I connect with putty to the 'lights out' service then it goes wrong.
    Does anybody have an idea what is going on?
    Edit:
    Added thumbnail image. Sorry Inxsible
    Last edited by ruurdkrekt (2013-04-11 20:39:13)

    jacobopantoja wrote:
    ruurdkrekt wrote:Good evening,
    When I connect to this new install with putty over SSH everything is going fine and my keyboard works.
    However when I connect via putty to the 'lights out' service of this VPS and thus reach some kind of TTY environment the keyboard behaviour is totally different!
    What I understand is that you are having no problems with SSH, but you are having with PuTTY. Is that right? If so, try playing with PuTTY's settings.
    I do use putty to connect to SSH and to the 'lights out'-service of the VPS the arch install is hosted. So in my opinion in both cases it should work the same. However the 'lights out'-service looks as if you are directly connected to the machine via a keyboard and monitor. You also will see all the boot information and the services being started. When it is done booting it will display the login view. I believe you call all of what I just explained a TTY, am I correct?
    So if I use putty to connect to these services how come the SSH version works but the 'lights out'-version does not?

  • [solved] laptop - weird keyboard behaviour

    Hello,
    since upgrading to kernel 3.2.1.1 (same with 3.2.1.2) I have a weird keyboard behaviour.
    I have to press ESC to leave this weird mode.
    This problem is similiar to
    https://bbs.archlinux.org/viewtopic.php?id=86026
    Do some people have the same problem?
    My laptop is Dell Vostro 1310.
    // ok... this never was a kernel software issue
    // my keyboards shift was just a bit... loosely
    Last edited by xinit (2012-04-26 19:09:04)

    same for me, for about one week, on 2 different systems. I'm using KDE4 but some other people reported this problem on Gnome too. It generally stops when I strike the key again a few times.
    It happened when I showed someone how cool Linux was, and then it opened 60 occurences of the same images I wanted to cut and paste...
    Last edited by farvardin (2009-12-03 20:22:14)

  • Bizarre keyboard behaviour after 4.2 upgrade

    Since upgrading to KDE 4.2 (from 4.1) as part of a system upgrade, my system has been practically unusable due to the bizarre keyboard behaviour within KDE.
    Right from the KDM login screen, most of the keys do not work as normal.  For most letters, the key has to be pressed twice in order to generate the letter.  However, I cannot type anything with a "u" because it is interpreted as a shortcut to undo everything I have just entered!  Letter "f" has to be typed 4 times.  If I type "h" once it appears; if I type it again it disappears.  Letter "l" produces a vertical division in the window.  I could go on....
    Since my password ends in "u" I even had to change the password in order to login to KDE because the "u" would delete the characters I'd already entered!  But once logged in the problem is just the same.
    I have tried setting a different keyboard layout within KDE but this made no difference.
    I have tried uninstalling and reinstalling KDE.
    The problem seems to be KDE related, because outside KDE, in a system console, the keyboard works absolutely normally.  And it doesn't seem to be related to the individual KDE user, since as I said, the problem is present as soon as the KDM login screen appears.
    Has anyone got any ideas please?

    Thanks for the suggestions.  Although they did not prove to be the answer, I have now overcome the problem.  I suspect it was a one-off caused by corrupted data, probably in the xorg installation rather than KDE.  I removed xorg then reinstalled it - some of the pkg files were corrupt and had to be replaced.  Then I had trouble starting the X server at all, and had to reinstall several library packages.  The system is running more normally now, though I think there are still some data corruptions in there and time will tell whether the installation is salvageable.

  • Screwy Keyboard Behaviour

    Last night I upgraded to Snow Leopard and have been getting this weird behaviour when I type. There is a long pause when the letters appear on the screen and letters get transposed.
    So when I type "keyboard," it comes out "ekyboard," for example
    . Or the period for the last sentence is down heree ven though I hit Return first.( another example preceding)
    Any ideas?
    Derek Boles

    Iforgot to upgrade my settings for the last post. Both the iMac and the MacBook re now running 01.6.2 .I've left the errors as they appear so you can see what I'm dealing with. hTis emssage was typed accurately. All the errors were not created by me.
    This has not been a problem on the McBook.
    Derek

  • Tecra 8000: Strange keyboard behaviour after reassembling

    Hi,
    after reassembling the single keys to my keyboard from Tecra 8000 the keys have a strange behaviour. For example if i press the key 2 the display shows '82' or 'q'. if i hold the key longer, the display shows '2222222222222....', the right sign for the key.
    Do you knwo, what i can do?
    i had to reassemble the key because my little niece took all the keys off.
    thanks for your answer,
    Butch

    Hi
    I agree with Daniel. There is some technical problem and only thing you can do is try to clean the contacts. If there is no success you should replace the keyboard. This unit is older one and I am pretty sure that you can find a cheap used keyboard.
    Bye

  • Keyboard behaviour on virtual console

    Hey guys i've got a little annoying problem here with my keyboard.
    Recently it behaves weird on virtual consoles. I have to press a key twice to make it work on several occasions, for example on a new promt after hitting enter or after pressing tab for tab-completion. It's some kind of an "deadkey-effect".
    That only happens on virtual consoles when either xfce4 or gnome is running. Running "plain" xserver or slim produces normal behaviour.
    Unfortunalety i can't really tell since when this is happening since i visit the vt's only rarely. Nevertheless it bugs me if i do.

    Hi there, I'm having what appears to be the same problem:
    When xfce4 is running, if I switch to a virtual terminal (tty1-6), then I need to type characters twice in order that they are echoed to the screen.  This only happens when xfce4 is running.  (The keyboard works fine in xfce).
    I have tried setting and un-setting a keyboard in xorg.conf with no luck.
    The only other thing I can think that of that might have caused this is that I have had an installation of qingy (and thus uvesafb).  But I made notes of my installation, and I'm quite sure I've cleaned properly after uninstalling uvesafb and qingy.  (The reason that I think it may be related is that I had the 'opposite' problem on qingy, where at login, every character I typed would be echoed twice to the qingy login screen).  Other than that, this is a pretty fresh install of Arch, so I'm a bit puzzled by what could be causing it.
    Any ideas of where to look next will be gratefully received.  Many thanks,
    Ian.

  • Strange Keyboard behaviour with Pressure on Body

    Any else experience this problem?
    Basically when I am typing and I lean with my palms on the body of the macbook (not overly hard) the keyboard starts acting really strange. Keys I press won't work, and other keys will just randly start being hit. If I lift my hands off the body of the macbook all returns to normal. Seems like a short of some sort. Is this a common problem or just on my macbook?

    Has no one an idea?

  • Keyboard behaviour

    I play with an old game D2X.
    This game need an american Keyboard. I am french so I have to switch from french to american, if not, the game does not recognise the keys 1->0 nor ",".
    Until OSX 10.4 it works very fine.
    But on OSX 10.5, if everything appears to look fine, there is a strange comportment of the keyboard: in the game the keyboard stick with a french keyboard!
    Nothing to do, swapping keyboard physicaly or by preference, even swapping french and english in the list in international preferences.
    So is any one who could help me ?
    Thanks

    Sounds like the keyboard itself may be damaged. This can happen from dirt, though more commonly from a liquid spill (cats with an attitude can wreak havoc on keyboards).
    Best way to test for that - disconnect that keyboard and connect one known to be good. If the problem disappears, the fault is almost certainly in the keyboard itself.

  • [solved] weird keyboard behaviour

    Hi,
    i do have a strange problem with my keyboard. Sometimes (i can't reproduce this) the keyboard hangs. For example: if i type an 'a' i get a lot of 'a's on my screen. This is not limited to letters, same happens when pressing the 'enter' or 'backspace' or multimedia-keys.
    The magic stops when pressing 'esc'.
    A college has the same problem, so i believe that my keyboard is not broken.
    kernel: Linux malcolm 2.6.30-ARCH
    xorg-server: 1.7.2-2
    I couldn't find anything related in the logs.
    Any ideas?
    Last edited by nblock (2009-12-14 18:36:33)

    same for me, for about one week, on 2 different systems. I'm using KDE4 but some other people reported this problem on Gnome too. It generally stops when I strike the key again a few times.
    It happened when I showed someone how cool Linux was, and then it opened 60 occurences of the same images I wanted to cut and paste...
    Last edited by farvardin (2009-12-03 20:22:14)

  • Weird keyboard behaviour in TO; field

    My keyboard behaves very weirdly when I try to enter a second address to the To: field. It will type multiple characters like:
    aararararararararararararararararararararararararar
    when I hit the letter a once followed by the delete key. I can not enter any second address by typing.
    The only way I can additional addresses by using the cc: field to enter the second address and then dragging the address to the To: field.
    Anybody else see this?

    Not exactly. I posted another (though similar) issue with the address and subject fields in another post: http://discussions.apple.com/thread.jspa?threadID=1248066&tstart=0
    So far I and the others that have experienced this problem have not found a viable solution, unfortunately.

  • Strange external mouse/keyboard behaviour

    I experience a weird behavior with the external mouse and keyboard when used with my laptop (Dell Studio 14z):
    1. When the laptop runs on battery and I plug in the kb/mouse everything works fine until I connect the AC cable, which causes a hard freeze (not even SSH access possible)
    2. When the laptop runs on AC and I connect the kb/mouse everything seems fine only as long as the laptop runs on external power. If I unplug the AC cable, the mouse and kb go dead until I plug it back in.
    As far as I can tell, there is nothing in the logs.
    Any pointers to how to resolve this a greatly appreciated!

    I am not sure whether this is the answer but do you have the acpid daemon running? If not install it and get it running and see if that makes any difference.

  • Strange Keyboard Behaviour: Function Keys F1-F10 not accessable

    I noticed couple a days ago that function Keys F1-F10 not accessable, neither with nor without fn.
    Nothing special has been made lately on PowerBook, some days ago tested Universal Access.
    What could keep F1-F10 disabled?
    BTW F11 and F12 are fully functional

    I'm noticing a possibly related conflict: I use Universal Access Sticky Keys all the time (they are just handy). But I noticed after a few days working with my new intel MacBook that when I had sticky keys on the keyboard would be mapped weird: The qwerty keys would be correct up to the num lock keys, and they would be numbers. So they are like this:
    qwerty456*[]
    asdfgh123-'
    zxcvbn0,.+
    After several days of removing preference panes and startup items with no success, I just started digging around in all the preferences I could think of that would effect the keyboard. I disabled the "use the f1-f12 keys" option and the keyboard behaved normally.
    So, if you engage sticky keys AND have "Use the F1-F12 keys . . ." engaged you get this odd behavior.
    However, I still have the function of the F-keys.
    Any ideas?

  • Strange keyboard behaviour with sdlmame

    Hi,
    I just installed sdlmame and qmc2. I can run games and generally my keyboard works at the very beginning of a game, but after a couple of seconds I have very limited control over my game character. For example I steer to the left for may be a second or so, then I can't steer right until I once again steer left. Soon it is getting so mixed up that the character is moving left when I'm steering right. Same problem for up and down.
    It doesn't depend on the game, happens with all keyboard controlled games.
    I'm using xfce4 and a keyboard with german layout, but I doubt this is the cause, other germans like to play too, and I haven't read any complains from them
    Any help is appreciated!
    Thanks,
    Alex

    Has no one an idea?

  • Strange Keyboard behaviour

    I have a strange Problem when using Mainstage. Everything is working fine except the F2 key on my keyboard. I can see, that my MacBook gets Midi Information about the Key pressed but I don't hear any sound. I do not have this problem with any of the other Keys. I do have this problem with every virtual Instrument I use. I also have tried out using another Keyboard or using a MIDI cable instead of USB.
    I don't understand how this problem can even exist. This problem also only exists in Mainstage. In Logic the same key, with the same keyboard works fine.
    If anyone had similar Problems and a Solution please help me.

    I think it might be caused because this key is already assigned to control another item on mainstage's layout, like a button o something else.
    If you try opening any of the default mainstage's templates, it should work fine.
    another possible cause: I have a fatar keyboard where a key always sends velocity zero; probably its velocity sensor is broken. this makes mainstage display a pressed key, but never sounds as it understands is being played extremely soft. if that was to be your case, on the midi data inspector display you'll see note-off events instead of velocity data.
    best

Maybe you are looking for

  • I am not able to get PO Value in MCE1, MCE3, MCE5 and MCE7

    Hi Gurus, Here i am having the probelm with these transactions MCE1, MCE3, MCE5, MCE7. In these t-codes we are not able to get Purchase Order Values...  Please help me out from this ... To get the PO Value what should i do .... there PO  values are s

  • JPanel receives no width or height, but only when run as part of applet

    Applet: http://mazz0.com/drawing/index.html JAR: http://mazz0.com/drawing/DrawingGame.jar Source: http://mazz0.com/drawing/060107/DrawingGame.java This java applet I have written works fine as a standalone application, but when I run it as an applet

  • Help on how to update credit card?

    My credit card  expiry needs updating. After three days of frustrating searches, I finally got my daughter, in another state, to log me on, but then all info in the web still doesn't tell me how to update. The web is bloody useless when seeking a sim

  • Command pattern in processEvent?

    hello I wonder if it is possible(anyone already done this?) to use a command pattern in processEvent function as it is widely used in actionPerformed method in conventional java applications. In recent jsf code samples in processEvent method I could

  • NTLM asking for log in

    I have installed mod_ntlm version 1.3 and it works except that when I first access an APEX application or the development environment it asks me to login to the server that APEX is running on even though I am logged into the network. Our domain serve