TomSchimansky / CustomTkinter

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

MAC OS Sonoma. Fixed:Buttons cannot be always pressed. #2180

Open SynergyUSAllc opened 8 months ago

SynergyUSAllc commented 8 months ago

I am using CustomTkinter Ver 5.2.1

In MAC OS Sonoma - 14.2.1 (23C71) Using python 3.11.6 Button cannot be always be pressed. There is a random pattern, some times they are able to be pressed sometimes not.

Code worked as intended in Windows 10/11 and Ubuntu 20.4 and 22.4 Also MAC OS BigSur and Ventura and even Maverics for me at least, worked fine.

My solution was to update tcl/tk from 8.6.12 to 8.6.13

"Homebrew provides the stable version 8.6.13 of Tcl/Tk, which is compatible with various macOS versions including Sonoma, Ventura, Monterey, and Big Sur on both Apple Silicon and Intel architectures"

I used this command on my MAC OS Sonoma: brew install tcl-tk

Just wanted to post it so to save time for the next developer who comes across this issue.

TomSchimansky commented 8 months ago

Thanks a lot for mentioning this!

x4080 commented 1 month ago

Hi, I have problem like this (button can only 'clicked' if pressing button while moving the mouse), but running brew install tcl-tk not solving the problem yet (i was getting version 8.6.14) @SynergyUSAllc do you have other changes that make it work ? Thanks

Edit : never mind, I resintall the latest customtkinter and it works Edit2 : and not working again, it seems the way to make it work is to click the window title first then it will work