[Bug 282006] x11-toolkits/tk90: backspace in text widget crashes interpreter

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Oct 2024 14:50:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282006

--- Comment #2 from Joachim Moskalewski <tonne03@jmos.net> ---
Here's the mentioned patch: https://core.tcl-lang.org/tk/info/7a599109d4fc8ea5

I've deinstalled the tcl90 and tk90 package (no other Tcl/Tk package
installed), and compiled the source to test the patch; Doesn't make a
difference. (And in another test I also tried the more popular gmake instead of
FreeBSDs make…)

And it's not just the text widget - the basic input field "ttk::entry" f.e.
also fails.

I tried to start more tests: On Debian I even can't open any Tk window: While
with 8.6 a simple "package require Tk" works, on 9.0 - if wish or tclsh -
loading Tk fails with 'couldn't connect to display ":1"'.
And "bind <Leave>" fires up before a new window is drawn, so if you say
"destroy .window" inside a Leave-event (f.e. "selfmade (context) menus") you'll
never get your window :( At least the Unix version of Tcl/Tk 9 IMO seems to be
more alpha than a production release.

BTW, the package description of Tk 9.0 names itself 8.7 ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.