New submission from misianne <rote...@gmail.com>:
The return value for ttk.style().map('Treeview') is wrong for the 'background' value in the 'alt' theme: tuple are missing. Tcl alt Treeview map: -foreground {disabled #a3a3a3 {!disabled !selected} black selected #ffffff} -background {disabled #d9d9d9 {!disabled !selected} #ffffff selected #4a6984} tkinter alt Treeview map: { 'foreground': [('disabled', '#a3a3a3'), ('!disabled', '!selected', 'black'), ('selected', '#ffffff')], 'background': ['disabled', '#d9d9d9', '!disabled !selected', '#ffffff', 'selected', '#4a6984'] } It should be: 'background': [('disabled', '#d9d9d9'), ('!disabled !selected', '#ffffff'), ('selected', '#4a6984')] ---------- components: Tkinter messages: 386930 nosy: misianne priority: normal severity: normal status: open title: tkinter style map return value in alt theme type: behavior versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43217> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com