[1.1.1] Windows: Hotkey modifiers don't work correctly & F12 hotkey problem - fixed 1.1.1 nightly 2016-12-09
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
************ comment on fix
--- fixed: KeyModifier.WIN now is the same as KEY_WIN
--- not fixed: the usage of Key.KEYNAME is not allowed as modifier key (2nd parameter) with addHotKey() - use only the constants from class KeyModifier (the constants KEY_XXX are pre-imported in Python scripting and hence can be used without class name)
--- not fixed: Key.F12 alone or with SHIFT seems to be blocked in the standard (I will add a note to the docs)
-------
I've made some tests on last 1.1.1 (Win7-64) and revealed the following thing in using Env.addHotkey function:
#1. There is a little mess with key modifier using in addHotkey, for example:
# another example:
This needs to be standardized (an issue with obsolete constants). Also in removeHotkey function, I suppose.
#2.
This is passed but generally doen't work on Windows. The solution is to change system debugger hotkey in the registry: HKLM\SOFTWARE\
Also SHIFT+F12 hotkey can't be set without registry tweaking. But CTRL+F12 can be successfully set, I did it on my Windows 7 machine.
Changed in sikuli: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.1 |
description: | updated |
Changed in sikuli: | |
status: | In Progress → Fix Committed |
importance: | High → Critical |
summary: |
[1.1.1] Windows: Hotkey modifiers don't work correctly & F12 hotkey - problem + problem - fixed 1.1.1 nightly 2016-12-09 |