| Ticket UUID: | 7bea423c6474394afd9262a09b90388c2ba7fbe | |||
| Title: | :On OSX only, ttk::scrollbar is missing -style option on configure | |||
| Type: | Bug | Version: | ||
| Submitter: | anonymous | Created on: | 2017-12-14 01:24:28 | |
| Subsystem: | 88. Themed Tk | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Severe | |
| Status: | Pending | Last Modified: | 2026-09-25 10:30:15 | |
| Resolution: | Fixed | Closed By: | nobody | |
| Closed on: | ||||
| Description: |
On OSX, the following does not work: ttk::scrollbar .s .s configure -style | |||
| User Comments: |
serhiy.storchaka added on 2026-09-25 10:30:15:
Fixed in 8.6.10: chrstphrchvz added on 2022-10-02 06:39:24: ttk::scrollbar has since been made its own widget on Aqua. If -background is set with ttk::style configure it causes no appearance changes for the Aqua theme, although the setting is remembered (which I suspect is the correct behavior, as it is consistent with what happens when setting any unrecognized/bogus option) rather than discarded as the reporter requested. Can this ticket be closed? bll added on 2017-12-14 14:06:23: I currently have code such as:
if { $theme ne "aqua" } {
ttk::style configure Horizontal.TScrollbar -background $bdjbg
}
so I consider this a bug.
Ideally, when using the aqua theme, the style command(s) should be
completely ignored for the ttk::scrollbar.
.s configure -style
would return an empty string.
Any ttk::style setting on a scrollbar would be silently ignored.
And documented as such, of course.
That would be my preference.
fvogel added on 2017-12-14 07:17:06: Isn't there a need to document this is not supported on macOS? bll added on 2017-12-14 02:31:20: Definitely not supported. Any use of the style command on a aqua themed scrollbar will revert the scrollbar to a non-aqua scrollbar. kevin_walzer added on 2017-12-14 02:21:50: This option, to my knowledge, has never been supported on macOS. The ttk scrollbar is just an alias for the native one, which is not configurable in any way. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki