← Back to team overview

sikuli-driver team mailing list archive

[Bug 1503550] 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.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1503550

Title:
  type() types multiple chars with capital

Status in Sikuli:
  New

Bug description:
  This is the 2015-09-25 daily.

  I need to type a capital "V".  I've tried both:

  type("V")

  and:

  type("v", Key.SHIFT)

  In both cases, my app behaves as if I've typed *both* capital and
  lower case "v".

  The only relevant debug is:

  [debug] TYPE "V"
  [debug] Region: TYPE "V"

  Or:

  [debug] ( Shift ) TYPE "v"
  [debug] Region: ( Shift ) TYPE "v"

   (not blocking for me, just fyi…)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1503550/+subscriptions


References