Skip Menu |

This queue is for tickets about the Tcl-pTk CPAN distribution.

Report information
The Basics
Id: 125844
Status: resolved
Priority: 0/
Queue: Tcl-pTk

People
Owner: Nobody in particular
Requestors: CAC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



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:
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).

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.

A workaround was applied upstream for 8.6.10; the underlying issue should be completely resolved by 8.6.11.