Subject: | Function keys inserting unusual characters |
From https://rt.cpan.org/Ticket/Display.html?id=125460#txn-1795910 :
On Fri Jul 13 16:39:37 2018, CAC wrote:
This happens under macOS aqua but not under X11. This can be observed from the widgetTclpTk "Basic editable text" demo. But since the same issue is observed in the pure Tcl/Tk "Basic editable text" widget demo as well (using Tcl/Tk 8.6.8, which is the latest version available), this is likely an upstream Tcl/Tk bug.
On Fri Jul 13 16:39:37 2018, CAC wrote:
Another odd behavior I observed in your test program is that pressing function keys other than F1, F2, F3, or F4 caused strange characters to be inserted.
Specifically, the code point (0xF708 + [the number of the function key]) is what gets inserted, e.g. \N{U+F708} for F5 and \N{U+F716} for F19.
These are "private use area" characters, so they only appear as boxes (either empty or with a '?' inside).
Specifically, the code point (0xF708 + [the number of the function key]) is what gets inserted, e.g. \N{U+F708} for F5 and \N{U+F716} for F19.
These are "private use area" characters, so they only appear as boxes (either empty or with a '?' inside).
This happens under macOS aqua but not under X11. This can be observed from the widgetTclpTk "Basic editable text" demo. But since the same issue is observed in the pure Tcl/Tk "Basic editable text" widget demo as well (using Tcl/Tk 8.6.8, which is the latest version available), this is likely an upstream Tcl/Tk bug.