2012-04-19 05:06:03 |
Jayanti Srivastava |
bug |
|
|
added bug |
2012-04-19 10:31:58 |
RaiMan |
summary |
unexpected behavior of env.isLockOn() |
unexpected behavior of env.isLockOn() --- Java problem |
|
2012-04-19 12:19:54 |
RaiMan |
sikuli: status |
New |
Confirmed |
|
2012-04-19 12:29:57 |
RaiMan |
description |
Hi,
I am using sikuli X-1.0rc3, windows xp 32 bit
and trying to get the current state of CAPS LOCK key - using isLockOn().
But surprisingly it does not seem to work - at least as I expected.
It works correctly for the first time - but the second call returns whatever was returned by it for the first time.
For example, if caps lock is on, then first isLockOn() returns True, but thereafter if the capslock state changes to off, then still isLockOn() returns True.
for this I used the following code, in sikuli ide
print str(Env.isLockOn(Key.CAPS_LOCK))
keyDown(Key.CAPS_LOCK)
keyUp(Key.CAPS_LOCK)
print str(Env.isLockOn(Key.CAPS_LOCK))
kindly let me know if we are using isLockOn() incorrectly, or is this a bug ? |
**** strange behavior on Mac Lion too:
The states are reported correctly, but have no influence at all neither for Robot actions nor the outside world.
--------------------------------------------
Hi,
I am using sikuli X-1.0rc3, windows xp 32 bit
and trying to get the current state of CAPS LOCK key - using isLockOn().
But surprisingly it does not seem to work - at least as I expected.
It works correctly for the first time - but the second call returns whatever was returned by it for the first time.
For example, if caps lock is on, then first isLockOn() returns True, but thereafter if the capslock state changes to off, then still isLockOn() returns True.
for this I used the following code, in sikuli ide
print str(Env.isLockOn(Key.CAPS_LOCK))
keyDown(Key.CAPS_LOCK)
keyUp(Key.CAPS_LOCK)
print str(Env.isLockOn(Key.CAPS_LOCK))
kindly let me know if we are using isLockOn() incorrectly, or is this a bug ? |
|
2012-04-19 13:09:46 |
vikramsjn |
bug |
|
|
added subscriber vikramsjn |
2012-11-02 11:53:19 |
RaiMan |
sikuli: status |
Confirmed |
In Progress |
|
2012-11-02 11:53:23 |
RaiMan |
sikuli: assignee |
|
RaiMan (raimund-hocke) |
|
2012-11-02 15:57:00 |
RaiMan |
tags |
|
fkt-type |
|
2013-02-21 14:42:05 |
RaiMan |
sikuli: importance |
Undecided |
Low |
|
2013-02-21 15:07:21 |
RaiMan |
sikuli: importance |
Low |
Medium |
|
2013-09-11 08:44:07 |
RaiMan |
sikuli: milestone |
|
1.1.0 |
|
2013-09-11 08:50:56 |
RaiMan |
description |
**** strange behavior on Mac Lion too:
The states are reported correctly, but have no influence at all neither for Robot actions nor the outside world.
--------------------------------------------
Hi,
I am using sikuli X-1.0rc3, windows xp 32 bit
and trying to get the current state of CAPS LOCK key - using isLockOn().
But surprisingly it does not seem to work - at least as I expected.
It works correctly for the first time - but the second call returns whatever was returned by it for the first time.
For example, if caps lock is on, then first isLockOn() returns True, but thereafter if the capslock state changes to off, then still isLockOn() returns True.
for this I used the following code, in sikuli ide
print str(Env.isLockOn(Key.CAPS_LOCK))
keyDown(Key.CAPS_LOCK)
keyUp(Key.CAPS_LOCK)
print str(Env.isLockOn(Key.CAPS_LOCK))
kindly let me know if we are using isLockOn() incorrectly, or is this a bug ? |
**** strange behavior on Mac Lion too:
The states are reported correctly, but have no influence at all neither for Robot actions nor the outside world.
--------------------------------------------
might be related to bug 894312
--------------------------------------------
Hi,
I am using sikuli X-1.0rc3, windows xp 32 bit
and trying to get the current state of CAPS LOCK key - using isLockOn().
But surprisingly it does not seem to work - at least as I expected.
It works correctly for the first time - but the second call returns whatever was returned by it for the first time.
For example, if caps lock is on, then first isLockOn() returns True, but thereafter if the capslock state changes to off, then still isLockOn() returns True.
for this I used the following code, in sikuli ide
print str(Env.isLockOn(Key.CAPS_LOCK))
keyDown(Key.CAPS_LOCK)
keyUp(Key.CAPS_LOCK)
print str(Env.isLockOn(Key.CAPS_LOCK))
kindly let me know if we are using isLockOn() incorrectly, or is this a bug ? |
|