Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a2ead7adf92344c217da8f8bdfe0ec3b96e4e732b7b7a8a0d1bd25e1a65f5b8d
Ticket: 1943546fffffffffffffffffffffffffffffffff
Strangely failing [puts]
User & Date: serhiy.storchaka on 2026-10-18 12:58:57
Changes

  1. icomment:
    This is a Tk text widget bug: <tt>display lineend</tt> can land inside a multi-byte character, so <nowiki>[.t get]</nowiki> returns the lone first byte of "รค" and <nowiki>[puts]</nowiki> fails. Moved to the Tk tracker as [https://core.tcl-lang.org/tk/tktview/18f35ed566|18f35ed566], with a smaller reproducer. The script attached here no longer fails with the current branches, since Tk [https://core.tcl-lang.org/tk/tktview/7d8d10e4a9|7d8d10e4a9] lays out an unmapped text widget at its requested size, but the bug itself remains.
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"