Tk Source Code

Check-in [aa35622f]
Login

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

Overview
Comment:Fix for [991849ffff]: canvas,text,ttk widgets: call scrollbar commands after window mapping (and not with 1x1 initial size)
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: aa35622f95105cf8b02f6a6ec667a312e13f57fb184541980e41495b265e6938
User & Date: csaba 2026-10-05 09:38:06.135
Original Comment: Fix for [991849ffff]: removal/optimization of scrollbar events?
References
2026-10-08
17:29 • Ticket [fb13231f] Messagebox can crash app on mac status still Open with 3 other changes artifact: 49c6355b user: serhiy.storchaka
2026-10-05
13:18 • Closed ticket [991849ff]: removal/optimization of scrollbar events? plus 10 other changes artifact: bd00d115 user: nemethi
Context
2026-10-05
12:29
Fix for [991849ffff]: canvas,text,ttk widgets: call scrollbar commands after window mapping (and not with 1x1 initial size) check-in: 9ec29de9 user: csaba tags: core-9-0-branch
09:59
changes.md: Bug [991849]: new text: "canvas,text,ttk widgets: call scrollbar commands after window mapping (and not with 1x1 initial size)" check-in: fd492feb user: oehhar tags: trunk, main
09:38
Fix for [991849ffff]: canvas,text,ttk widgets: call scrollbar commands after window mapping (and not with 1x1 initial size) check-in: aa35622f user: csaba tags: trunk, main
2026-10-04
21:18
Fix [b900dc7552]: compilation using installed Tcl fails if Tcl source is not accessible. check-in: 2e03afb4 user: jan.nijtmans tags: trunk, main
2026-09-28
18:49
Fix [991849]: removal/optimization of scrollbar events?

Canvas, text and ttk scrollable widgets called the scroll commands for an unmapped window, with the fractions for its size 1x1 before the first mapping. Postpone the call until the window is mapped, as the listbox does. closed check-in: 48830cec user: serhiy.storchaka tags: scroll-command-unmapped

Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to generic/tkCanvas.c.
Changes to generic/tkTextDisp.c.
Changes to generic/ttk/ttkScroll.c.
Changes to tests/canvas.test.
Changes to tests/listbox.test.
Changes to tests/text.test.
Changes to tests/ttk/treeview.test.