Activity log for bug #1545428

Date Who What changed Old value New value Message
2016-02-14 10:26:58 RaiMan bug added bug
2016-02-14 10:27:07 RaiMan sikuli: status New In Progress
2016-02-14 10:27:11 RaiMan sikuli: importance Undecided Medium
2016-02-14 10:27:14 RaiMan sikuli: assignee RaiMan (raimund-hocke)
2016-02-14 10:27:18 RaiMan sikuli: milestone 1.1.1
2016-10-28 15:15:15 RaiMan sikuli: status In Progress Fix Committed
2016-10-28 15:15:20 RaiMan sikuli: milestone 1.1.1 2.0.0
2016-10-28 15:15:56 RaiMan summary [1.1.0] isLockOn does not change until typing from the keyboard [1.1.0] isLockOn does not change until typing from the keyboard --- will only be fixed in version 2
2016-10-28 15:22:16 RaiMan description I am sure this behavior by using the following code. When I click the OK button at the pop-up window, status does not change. When I type Enter-key at the pop-up window, status will change. (I tested on Windows7, Java 1.8.0, SikuliX1.1.0 .) while True: msg = "status:%s" % Env.isLockOn(Key.NUM_LOCK) popup(msg) type(Key.NUM_LOCK) ********** comments In the current shape of SikuliX, the problem cannot be solved. This is caused by a special Java situation in the context of Swing and AWT, which cannot be tackled in SikuliX currently without a greater effort. A possible solution, is to directly access the Windows API (USER32/GetKeyState), but this has to be checked. ---------------------------------------- I am sure this behavior by using the following code. When I click the OK button at the pop-up window, status does not change. When I type Enter-key at the pop-up window, status will change. (I tested on Windows7, Java 1.8.0, SikuliX1.1.0 .) while True:     msg = "status:%s" % Env.isLockOn(Key.NUM_LOCK)     popup(msg)     type(Key.NUM_LOCK)
2016-10-29 07:33:46 RaiMan summary [1.1.0] isLockOn does not change until typing from the keyboard --- will only be fixed in version 2 [1.1.0] isLockOn does not change until typing from the keyboard --- fixed 1.1.1 2016-10-31
2016-10-29 07:34:13 RaiMan description ********** comments In the current shape of SikuliX, the problem cannot be solved. This is caused by a special Java situation in the context of Swing and AWT, which cannot be tackled in SikuliX currently without a greater effort. A possible solution, is to directly access the Windows API (USER32/GetKeyState), but this has to be checked. ---------------------------------------- I am sure this behavior by using the following code. When I click the OK button at the pop-up window, status does not change. When I type Enter-key at the pop-up window, status will change. (I tested on Windows7, Java 1.8.0, SikuliX1.1.0 .) while True:     msg = "status:%s" % Env.isLockOn(Key.NUM_LOCK)     popup(msg)     type(Key.NUM_LOCK) I am sure this behavior by using the following code. When I click the OK button at the pop-up window, status does not change. When I type Enter-key at the pop-up window, status will change. (I tested on Windows7, Java 1.8.0, SikuliX1.1.0 .) while True:     msg = "status:%s" % Env.isLockOn(Key.NUM_LOCK)     popup(msg)     type(Key.NUM_LOCK)
2016-10-29 07:35:35 RaiMan sikuli: importance Medium Critical
2016-10-29 07:35:40 RaiMan sikuli: milestone 2.0.0 1.1.1