TomSchimansky / CustomTkinter

A modern and customizable python UI-library based on Tkinter
MIT License
11.08k stars 1.05k forks source link

Weird dpi scaling messages #599

Open crankedguy opened 1 year ago

crankedguy commented 1 year ago

Hi,

after closing an app written with CustomTkinter, a vere easy app, there are sometimes dpi scaling error messages, though not always. Like these, from 2 different runs, so this seems to be something dynamically generated

invalid command name "2166016445632check_dpi_scaling"
    while executing
"2166016445632check_dpi_scaling"
    ("after" script)

or

invalid command name "2282063737792check_dpi_scaling"
    while executing
"2282063737792check_dpi_scaling"
    ("after" script)
gcailly commented 1 year ago

Could this discussion help ? https://github.com/TomSchimansky/CustomTkinter/discussions/607

crankedguy commented 1 year ago

@gcailly I will have a look at it by the time, thanks. I had to ditch CustomTkinter for the project because the other bug https://github.com/TomSchimansky/CustomTkinter/issues/600 weighs in way too heavy and there was no response to it. With tkinter this worked out of the box.