Num lock turned on: KEY_SHIFT and function keys will not work

Bug #610804 reported by sotn3m
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

Machine: Windows Xp/Windows 7
Sikuli 0.10.1

When "Num lock" is turned on, KEY_SHIFT is not working with function keys.

This:
type(Key.END, KEY_SHIFT)
will not work.
keyDown/keyUp neither.

Tags: fkt-type
RaiMan (raimund-hocke)
summary: - When Num lock is turned on, KEY_SHIFT and function keys will not work
+ 0.10.1 Num lock turned on: KEY_SHIFT and function keys will not work
Revision history for this message
Asti (ddaavviidd) wrote : Re: 0.10.1 Num lock turned on: KEY_SHIFT and function keys will not work

I believe this has to do with SIkuli actually using the numerical part of the keyboard when sending these commands.
Key.RIGHT is actually(using a keyboard pressed with fingers) Shift+NUM6.

When doing(in Sikuli):
type(Key.END, KEY_SHIFT)

...this happens:
SHIFT+NUM1 which is actually only End instead of Shift+End.

Something like this is the issue since I have solved a problem with using IBM iSeries acces and replacing the numerical arrow keys inside the iSeries keyboard map with [mark down] [mark up] etc.

Revision history for this message
Tsung-Hsiang Chang (vgod) wrote :

It's JAVA's bug. We can't fix it.

Changed in sikuli:
status: New → Won't Fix
Revision history for this message
Rodrigo Araripe (rodrigoararipe) wrote :

I have confirmed that it's due to the use of the numkeys. If I run type(Key.HOME) with Num Lock off, the Android emulator switches orientation, instead of going to the Home screen.

Revision history for this message
Shane Kalpage (shane-snsys) wrote : AUTO: Shane Kalpage is out of the office. (returning 03/01/2012)

I am out of the office until 03/01/2012.

I will respond to your message when I return. If your inquiry is urgent
please contact the SN main line

Note: This is an automated response to your message "[Bug 610804] Re:
0.10.1 Num lock turned on: KEY_SHIFT and function keys will not work"
sent on 29/12/2011 15:28:51.

This is the only notification you will receive while this person is away.

RaiMan (raimund-hocke)
summary: - 0.10.1 Num lock turned on: KEY_SHIFT and function keys will not work
+ Num lock turned on: KEY_SHIFT and function keys will not work
Changed in sikuli:
status: Won't Fix → Confirmed
status: Confirmed → In Progress
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → x1.0
RaiMan (raimund-hocke)
tags: added: fkt-type
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Undecided → Medium
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: x1.0 → x1.1
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.