Comment 3 for bug 1503550

Revision history for this message
Glowing Crystalline Entity (glowingcrystallineentity) wrote : Re: type() types multiple chars with capital

This is still happening for me, with the 1.1.0 release.

A simple (Python) test function as:

def testFun3():
    init()

    MyAppRegion.type("v", Key.SHIFT)

    time.sleep(3)

... causes the app to behave as if both a V and a v have been sent. If I manually type V and v, the app does the same thing. But if I type just V, or V and V in quick succession -- the app behaves as I'd expect.

Possibly of relevance, the essential part of the init() is:

        MyApp = App("xxx.exe")

        MyApp.focus()
        time.sleep(0.1)
        MyAppRegion = MyApp.focusedWindow()

The app has exactly one window.