Tl;dr: How (Where can I get information) do we troubleshoot Tkinter at this system presentation layer? Surely the maintainers of Tkinter would have documented a guide somewhere.
The Tkinter Checkbutton widget does not update, when clicking on the checkbox, on this specific Kubuntu (KDE Plasma 5.18) machine configuration.
This issue did not occur on Windows 8.1, [VBox]LiveCD Kubuntu 20.04 (Plasma 5.18), [VBox]LiveCD Kubuntu 20.10 (Plasma 5.19), Kubuntu 20.04 (XFCE [Same machine]).
Tests with other GUI frameworks (Kivy, GTK, wxPython, Qt) works correctly.
Search results does not really provide guides or issues related to this specific.
My next move is to also ask advice on the python.org discuss platform.
![[Image: 102712370-6f69da80-42c9-11eb-864b-ec822072f94c.gif]](https://user-images.githubusercontent.com/33121021/102712370-6f69da80-42c9-11eb-864b-ec822072f94c.gif)
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-58-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i3 CPU M 350 @ 2.27GHz
Memory: 7,6 GiB of RAM
Python 3.8.5
Tcl/Tk version 8.6
The Tkinter Checkbutton widget does not update, when clicking on the checkbox, on this specific Kubuntu (KDE Plasma 5.18) machine configuration.
This issue did not occur on Windows 8.1, [VBox]LiveCD Kubuntu 20.04 (Plasma 5.18), [VBox]LiveCD Kubuntu 20.10 (Plasma 5.19), Kubuntu 20.04 (XFCE [Same machine]).
Tests with other GUI frameworks (Kivy, GTK, wxPython, Qt) works correctly.
Search results does not really provide guides or issues related to this specific.
My next move is to also ask advice on the python.org discuss platform.
![[Image: 102712370-6f69da80-42c9-11eb-864b-ec822072f94c.gif]](https://user-images.githubusercontent.com/33121021/102712370-6f69da80-42c9-11eb-864b-ec822072f94c.gif)
from tkinter import * class MyGUI: def __init__(self, window): self.var = IntVar() self.c = Checkbutton(window, text="Enable Tab", variable=self.var, command=self.cb) self.c.pack() def cb(self): print("self.var is", self.var.get()) if __name__ == "__main__": root = Tk() gui = MyGUI(root) root.mainloop()
Output:self.var is 1
self.var is 0
self.var is 1
self.var is 0
self.var is 1
self.var is 0
SYSTEM SPECS:Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-58-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i3 CPU M 350 @ 2.27GHz
Memory: 7,6 GiB of RAM
Python 3.8.5
Tcl/Tk version 8.6