#80 Leading period for Tcl/Tk pathnames should not be required


examples/c/x01c -dev tk

gives the error message

bad window path name "examples/c/x01c"


./examples/c/x01c -dev tk

works fine.

According to Andrew Ross

"This is fallout from my recent changes to the way window titles are
handled. The tk bit worked before due to a fudge. This does not sit well
with centralising the window title. "


  • Andrew Ross

    Andrew Ross - 2010-01-14
    • status: open --> closed-fixed
  • Andrew Ross

    Andrew Ross - 2010-01-14

    This bug is now fixed. The problem is that tk widget names have strict rules which require an initial period. The tk driver now correctly prepends this for all names,

    There are some issues with the implementation. Tk does not allow a period, a space or an initial upper case letter in the name. periods and spaces are converted to underscores and any initial upper case letter is converted to lower case. This is different to all other drivers, but is a tk "feature" as far as I can tell.


Log in to post a comment.