Tk Source Code

Check-in [5926b175]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix for [3da0592db4]: Filesystem dialogs conflict with auto_reset (under Linux)
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 5926b175cb1cc48b03428ec09492b9f946d41d4c11390155ae2205898b129ddf
User & Date: csaba 2026-11-09 20:42:01.599
References
2026-11-09
20:58 • Closed ticket [3da0592d]: Filesystem dialogs conflict with auto_reset (under Linux) plus 7 other changes artifact: 54ecf85c user: nemethi
Context
2026-11-09
21:45
Fix [76a5b8de7f]: Aqua: preserve interpreter passed to showPreferencesWhenIdle() check-in: 99858128 user: jan.nijtmans tags: trunk, main
20:44
Fix for [3da0592db4]: Filesystem dialogs conflict with auto_reset (under Linux) check-in: 835c26cd user: csaba tags: core-9-0-branch
20:42
Fix for [3da0592db4]: Filesystem dialogs conflict with auto_reset (under Linux) check-in: 5926b175 user: csaba tags: trunk, main
17:32
Tests textDisp-22.*, 23.* and 24.* used the size of the main window measured in textDisp-2.8, so they failed when run without it. Measure it in the common setup. check-in: 4b55868e user: serhiy.storchaka tags: trunk, main
2026-10-23
22:11
Fix [3da0592db4]: after [auto_reset], the Tk file dialogs failed with "invalid command name .__tk_filedialog.contents.icons" (X11), or with "Duplicate element ComboboxPopdownFrame.border" (Tk dialogs on Windows). auto_reset removes the TclOO classes of the icon list, which destroys the cached dialog's icon list, and the commands of tk.tcl, so tk.tcl and ttk.tcl get sourced again. Recreate the dialog when its icon list is gone, let megawidget.tcl be sourced again, and load the ttk themes only once. Test choosedir-6.1. closed check-in: a2611c44 user: serhiy.storchaka tags: dialogs-after-auto-reset
Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to library/choosedir.tcl.
Changes to library/megawidget.tcl.
Changes to library/tkfbox.tcl.
Changes to library/ttk/ttk.tcl.
Changes to tests/choosedir.test.