| Ticket UUID: | b086bb1d616b9316e5a5e0d6e0476f9c66d88a0d | |||
| Title: | ttk::style command moves ttk::panedwindow sashes | |||
| Type: | Bug | Version: | 9.0.3, 8.6.17 | |
| Submitter: | jal_frezie | Created on: | 2026-06-22 12:50:04 | |
| Subsystem: | 88. Themed Tk | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Closed | Last Modified: | 2026-09-23 08:33:29 | |
| Resolution: | Fixed | Closed By: | nemethi | |
| Closed on: | 2026-09-22 19:32:15 | |||
| Description: |
Add a ttk::notebook with multiple tabs, and one of those tabs shows a ttk::panedwindow divided vertically into two panes,each one showing another ttk::panedwindow divided into two horizontally. Now select another tab, so the panedwindows are hidden, and execute any ttk::style configure, map or layout command, e.g., ttk::style configure Toolbutton -relief raised When you go back to the tab with the panedwindows, the sash dividing vertically has moved to the top of the window. This has been verified on Windows, MacOS and Linux with TclTk v8 and v9 | |||
| User Comments: |
serhiy.storchaka added on 2026-09-23 08:33:29:
Merged into core-8-6-branch by commit [0b59d9cd8c]. nemethi (claiming to be Csaba Nemethi) added on 2026-09-22 19:32:15: Many thanks, Serhiy! Merged into main by commit [7f352b01] and into core-9-0-branch by commit [843ddd2f]. Closing the ticket. serhiy.storchaka added on 2026-09-19 14:25:59: A pane in a hidden tab is unmapped, so its geometry request was taken as the initial request of a pane not shown yet, overwriting the sash position; the style command just makes every widget re-request its size (changing a label text in the hidden tab has the same effect). Fixed in [880f8c8d59] (branch ttk-paned-hidden-request). jal_frezie added on 2026-06-22 13:49:56: Hi Harald, yes that is exactly the issue, thanks. oehhar added on 2026-06-22 13:31:44: Hi Jasper, thanks for the demo, great. What I did with Tk9.0.4 on MS-Windows:
ttk::style configure Toolbutton -relief raised
Is this the issue? Thanks for all, Harald | |||
Attachments:
- bugdemo0.tcl [download] added by jal_frezie on 2026-06-22 12:53:24. [details]
