Message408416
What makes IDLE different from other desktop apps is that is it written in Python, uses the tkinter wrapping of cross-platform tcl/tk, and allows users to customize nearly all hotkey shortcuts. But tk only allows Ascii chars, with modifiers, for hotkeys. This issue would be much easier if IDLE had a fixed set of bindings, or even a fixed set for each major platform.
Issue 46052 is a duplicate of this. In experiments reported there, using the Win10 Russian IME, I determined that the event.char for a Ctrl + letter-key combination is the corresponding Ascii control character, even when switched to Russian. The difference is that event.keysym is '??' instead of an ascii letter and event.keysym_num is the unicode ordinal of the russian letter instead of the ascii letter. So ('c', 99) becomes ('??', 1089). I propose on #46052 to solve these issues by undoing this change and generating the event that would have happened in ENG mode. |
|
Date |
User |
Action |
Args |
2021-12-13 01:20:32 | terry.reedy | set | recipients:
+ terry.reedy, serhiy.storchaka, louielu, Constantine Ketskalo |
2021-12-13 01:20:32 | terry.reedy | set | messageid: <1639358432.94.0.0470085507546.issue31244@roundup.psfhosted.org> |
2021-12-13 01:20:32 | terry.reedy | link | issue31244 messages |
2021-12-13 01:20:32 | terry.reedy | create | |
|