#1213 Auto-Type produces incorrect characters in 2.25, works in 2.24

KeePass_2.x
closed
nobody
None
5
2014-03-05
2014-02-11
No

I use Auto-Type to log in to desktop applications, for example Steam. Using 2.24, I can fill out the user name and password for the Steam login just fine (using Ctrl-Alt-A). When I upgrade to 2.25, the same process produces maybe half of my username (the other characters are deleted). So for example, if my username was "Horkonaut", it would type out "Hknt".

Under my Auto-Type Options (using 2.24), I have the following checked:
An entry matches if its title is contained in the target window title
Prepend special initialization sequence for Internet Explorer windows
Send Alt keypress when only the Alt modifier is active
Ensure same keyboard layouts during auto-type

I am not sure if this option has any significance but I do have the "Use native library for faster key transformations" option checked.

Discussion

  • Carl Erikson

    Carl Erikson - 2014-02-11

    I forgot to mention that I am running KeePass on 64-bit Windows 7.

     
  • wellread1

    wellread1 - 2014-02-11

    TCATO can cause these kinds of problems. Is the TCATO option turned on in this entry?

    Auto-timing has changed between KeePass 2.24 & 2.25. Have you tried adding a {DELAY=x} where X=ms? Try {DELAY=150} to start.

     
  • Carl Erikson

    Carl Erikson - 2014-02-11

    TCATO is turned on for this entry. I added {DELAY=150} to the start of the "override default sequence" and what happened was that "Hknt" was typed out really slowly when it should have been typing "Horkonaut". So the delay did not help.

     
  • wellread1

    wellread1 - 2014-02-11

    Turn TCATO off.

     
  • Carl Erikson

    Carl Erikson - 2014-02-11

    I turned TCATO off and it works without setting the DELAY parameter. So something was broken on TCATO between 2.24 and 2.25. I've never had this problem before and I use that feature by default on every Auto-Type entry.

     
  • Carl Erikson

    Carl Erikson - 2014-02-11

    I guess it could be that Steam's login panel changed too. Will do some other testing.

     
  • Carl Erikson

    Carl Erikson - 2014-02-11

    Well I've tried a few other TCATO entries and they all appear to work. The only one that works on 2.24 and not in 2.25 is my Steam entry. I have just disabled TCATO for that entry. But something must have changed with the TCATO code between 2.24 and 2.25 (it is the same Steam login panel for both KeePass versions). Since this only affects one entry in my list, it seems too minor to bother with. Please ignore.

     
  • Dominik Reichl

    Dominik Reichl - 2014-03-01
    • status: open --> closed
     
  • Dominik Reichl

    Dominik Reichl - 2014-03-01

    In general, TCATO does work (which can e.g. be verified using Notepad).

    It's certainly possible that the Steam login window is special (e.g. not accepting clipboard pastes from KeePass 2.25) and requires to not use TCATO.

    Best regards,
    Dominik

     
  • Dominik Reichl

    Dominik Reichl - 2014-03-04

    I've analyzed this issue in detail now. The problem is caused by a broken time-dependent message processing of Steam. I've now added some specific delays, which makes auto-type (with TCATO) work most of the time in Steam. However, let me emphasize that this may fail sometimes; the issue can only be resolved fully by the Steam developers. By the way, KeePass 2.24 also was affected by this problem, but due to lower efficiency of the auto-type engine the problem didn't manifest as often as in 2.25.

    Here's the latest KeePass development snapshot for testing:
    http://keepass.info/filepool/KeePass_140304b.zip

    Thanks and best regards,
    Dominik

     
  • Dominik Reichl

    Dominik Reichl - 2014-03-05

    New development snapshot, which more reliably releases any key modifiers of the global auto-type hot key within the Steam window:
    http://keepass.info/filepool/KeePass_140305.zip

    Best regards,
    Dominik

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks