Menu

#41 Keys repeat without a way to stop

v2.1 - Windows
closed-works-for-me
x128 (24)
2010-05-22
2009-01-12
Sean Huxter
No

When I'm typing in the BASIC entry mode on the C128 (40 or 80 columns) sometimes during typing, a key will begin repeating, and will not stop. Nothing I do stops it. I end up having to shut it down and restart.

This is particularly bad when typing in BASIC programs, and a key begins repeating before I had a chance to save. I lose my work.

I have found this in the C128 emulator. It may happen in others. Not sure.

Discussion

  • Nobody/Anonymous

    Can't reproduce here. Please be descriptive, try to reproduce the error and
    write the exact steps.

     
  • Sean Huxter

    Sean Huxter - 2009-01-26

    The repro steps are as specified. I'm typing in the BASIC space of the C128 emulator (v2.0) and suddenly, for no reason, the last key I type begins repeating, and there's no way to stop it.

    I can also reproduce this in GEOS 128, in geoWrite. But the difference is, GEOS must handle text input differently, because typing another key stops it. At least the back-space key stops it. But I believe the problem is still happening, because even though it's not typing in test in geoWrite128, when I quit to the desktop, the key appears to still be repeating.

    (Why do I suspect this? Because once, I got stuck on the 3 key, and 333333333 kept repeating on my geoWrite document. Hitting backspace stopped it. But when I saved my document and went to the Desktop, it kept going to page 3, (because 3 is the hot-key to go to page 3 of the desktop.)

    I will try to be more specifid... I type rather quickly, I'm a touch-typist, and sometimes I mash together keys, typing so fast, one key may not be fully up when the next is depressed. It never causes a problem on any PC I've used, but recently, while developing a small program in BASIC, it happened over a dozen times, each time forcing me to shut VICE down and start it again, sometimes losing work because I couldn't stop the key repeat.

    There is nothing more specific I can say about this bug. I can't give you a magical sequence to force it to repro. Sorry.

     
  • Spiro Trikaliotis

    Hello Sean,

    thank you for your report.

    I could reproduce the behaviour as follows: Start the emulator (x64, x128), press SPACE and *while* *keeping* *holding* it down, move to another Window with Alt+Tab or the mouse. You will see that the SPACE bar is still active in the emulator.

    Note that you can stop this, though, by pressing SPACE again.

    (If switching on autorepeat for all keys, this can be reproduced with other keys, too)

    I just checked in a patch in the current trunk (Revision 20082) that should fix this problem. When you move away from the emulator Window, all pressed keys are restored.

    If you can compile the trunk yourself, give it a try. If not, just write me a mail, and I will generate a binary for you.

    Please tell us if this fixes the bug for you.

    Hope that helps,
    Spiro

     
  • Spiro Trikaliotis

    • assigned_to: nobody --> strik
    • status: open --> pending-fixed
     
  • Sean Huxter

    Sean Huxter - 2009-01-31

    Thanks, Strik.

    The problem is, none of this was happening when I got it to happen.

    The simple repro for me was running X128.exe, and typing load"*",8

    I type very close together, so it's likely that more than one key was pressed down at any given time. But on occasion (not every time, because I type at different speeds) it will begin to repeat the last key it registered, and nothing can stop it. Not pressing other keys, nothing.

    The other bug I filed (the emulator crashing when attaching a disk .d* file) seems related. I completely re-installed the latest version, and got the key repeat thing, and when I shut the program down and started it again, I got the same crashing error.

    Just like the first time this happened.

    The elaborate repro you found may still be an issue, but it is not my issue, at least not directly. Still, fixing that may prevent MY problem too.

    Thanks.

     
  • Sean Huxter

    Sean Huxter - 2009-01-31
    • status: pending-fixed --> open-fixed
     
  • Spiro Trikaliotis

    Hello Sean,

    I generated a special version of VICE. Get it from
    http://www.trikaliotis.net/Download/vice/vice-2.1.3-kbd.zip. Unpack it and
    put the file x128-2.1.3-kbd.exe into the directory where x128.exe resides.
    Now, try to reproduce this behaviour with that x128. Once you got it, send
    me the vice.log file.

    I hope to get enough information to find out about the problem.

    Regards,
    Spiro

     
  • Nobody/Anonymous

    This did not help reproduce the problem, as the debug version was too slow to allow the same kind of keyboard input. There was a key lag issue that meant I could not type the way I was typing when the issue arose in the first place.

    On the plus side, while this happened a LOT after you sent me the ZIP file and I tested it, it has NOT happened in quite some time.

    It could be that I've changed the way I type to try to prevent it, (not typing too fast) or perhaps a fresh .ini file helped. Not sure.

     
  • Spiro Trikaliotis

    • status: open-fixed --> pending-works-for-me
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-works-for-me --> closed-works-for-me
     

Log in to post a comment.

MongoDB Logo MongoDB