[1.1.0] type() types multiple chars with capital

Bug #1503550 reported by Glowing Crystalline Entity on 2015-10-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Undecided
RaiMan

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…)

RaiMan (raimund-hocke) wrote :

Thanks for the hint, but I did not have any problem with the final version of 1.1.0, which is out now.

Ok, I'll check when I update, thanks.

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.

(but, btw, I can live with this. Getting OCR working is *much* higher priority!!! ;-) )

RaiMan (raimund-hocke) wrote :

Sorry, but I cannot reproduce this behavior with different apps:

example:
# chrome is running
App("chrome").focus()
win = App.focusedWindow()
wait(1)
type("l", Key.CTRL)
type("v", Key.SHIFT)
wait(3) # time to watch ;-)

What I see as result is one uppercase v

Changed in sikuli:
status: New → Opinion
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
summary: - type() types multiple chars with capital
+ [1.1.0] type() types multiple chars with capital

I wonder if, like the other report, it's something that's not seen with chrome, but more with full-screen graphics apps? I'm running a full-screen graphics app in "windowed" mode.

Bas (basbash) wrote :

Hello,
I'm quite a newbe but love Sikuli so far!

I have the same problem, all my typing appears in lower case in the app I'm testing.
(or in capitals when caps lock is on)

http://www2.saplinglearning.com/help/when-i-try-type-letters-i-only-get-numbers-capital-letters-or-lowercase-letters
Tried all settings here too
(well, not yet reinstalled flash plugin)

any of the tricks as above didn't do the trick for me.
Am using Sikuli 1.1.1 on mac, but typing in a windows app via parallels

Any advise welcome!
big thanks

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers