Tk Source Code

View Ticket
Login
Ticket UUID: 1884975
Title: Bindings not created for a TK app on linux
Type: Bug Version: obsolete: 8.5.0
Submitter: sgeard Created on: 2008-02-02 00:59:51
Subsystem: 01. Bindings Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Open Last Modified: 2026-09-19 09:27:37
Resolution: None Closed By:
    Closed on:
Description:
If you build and run the attached program (tkw.cxx) on Linux with version 8.5.0 then the number of bindings displayed for the listbox is incorrectly 0.

The same program builds and runs correctly on version 8.5.0 on WinXP and 8.4.16 on Linux. The script tkw.tcl runs correctly when run as a script.

Files:
Makefile - edit for your setup
tkw.cxx  - simple C++ program
tkw.tcl  - the test script
User Comments: serhiy.storchaka added on 2026-09-19 09:27:37:

Cannot reproduce with the attached program built against current Tk (threads are always enabled now): bind Listbox returns 42 bindings.


sgeard added on 2008-02-10 01:44:29:
Logged In: YES 
user_id=1798719
Originator: YES

I have done some more investigating. It seems to be a problem with thread-enabled build. I tried the attached program once with the default configuration for tcl and tk, and once with --enable-threads set for both: only the latter shows this problem.

Hope that helps.

sgeard added on 2008-02-02 07:59:52:

File Added - 264713: tkw.tgz

Attachments: