[1.1.4] Numpad keys not working together with keyDown(Key.ALT) --- workaround: use type(u"ö") instead

Bug #1824694 reported by Bharatendu SOUMIL
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Medium
RaiMan

Bug Description

------------------------------------------ workaround ;-)

The type on Windows is completely revised, so it now accepts any unicode sequence.

usage:
type(u"äöüß@§")

will type the given characters as expected.
-------------------------------------------------------------

Steps to reproduce:
1. Install SikuliX 1.1.4
2. Try the following lines to type the "ü" character :
    keyDown(Key.ALT)
    type(Key.NUM1)
    type(Key.NUM2)
    type(Key.NUM9)
    keyUp(Key.ALT)
code compiles perfectly well but you wont see the "ü" as desired. This code worked perfectly fine with older versions....The NUM keys work perfectly fine if used individually like type(Key.NUM1), but not together with the keyDown function

3. Tested with Windows 10 machine using Sikul1X1.1.4

description: updated
Revision history for this message
RaiMan (raimund-hocke) wrote :

The type on Windows is completely revised, so it now accepts any unicode sequence.

usage:
type(u"äöüß@§")

will type the given characters as expected.

It is not yet documented, since it is only available for Windows and not for Mac.

So your workaround should no longer be needed, but should still be useable in case.

summary: - Numpad keys not working together with keyDown(Key.ALT)
+ [1.1.4] Numpad keys not working together with keyDown(Key.ALT) ---
+ workaround: use type(u"ö") instead
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.4
description: updated
Revision history for this message
Bharatendu SOUMIL (soumil-bharatendu) wrote :

Sweet :) ...does work with type(u"ö")

Revision history for this message
Bharatendu SOUMIL (soumil-bharatendu) wrote :

Also cheers for fixing special chars like "@",".",":"...work perfectly fine on German keyboards with type() :), so I don't have to rely on paste() anymore :D

RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Fix Released
milestone: 1.1.4 → 2.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.