Saadmairaj / tkmacosx

Tkmacosx is a Python library extension to the Tkinter module. Change background and foreground colors of a Button, Use ColorVar to change colors of multiple widgets just like StringVar, and much more.

Home Page:https://pypi.org/project/tkmacosx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some major bugs I noticed while using tkmacosx buttons!

Akascape opened this issue · comments

I noticed some bugs while using tkmacosx buttons in mac.

  1. When we change the tkinter window or put the window in the background, the buttons (bg colors) disappear. But it appears again only after selecting the window.

  2. When we change the button 'state' to DISABLED, it makes the whole button color to black.
    Instead it should have a slight grey transparent layout.

  3. Major bug:
    After placing the button, when we change the text of button by button.configure, then the button increases in size and the text is also displaced upward (this happens if width or height parameters were given in the main button code)
    (Please try to fix it)

  4. When we select the button, the focus layout around it do not change immediately even after releasing the mouse. Any extra parameter should be added to fix it.

(I am using python 3.10)

Hi Akascape, thanks for reporting these bugs.
Will try to fix them with the next release

Hi Akascape, thanks for reporting these bugs.
Will try to fix them with the next release

Thanks for your response, I hope you will fix these bugs (specially bug #1 and #3).
I am currently building a project with this module so I hope that this module will get updated soon. 😁

Hi, I've checked and fixed points 1 and 2 in tkmacosx-1.0.5 , however

  1. We can set disabledforground and disbaledbackground colors
    point1

  2. Till now this was an intended behaviour but this has been changed to look better

  3. I tried to replicate it on my system but it works just fine no matter how I change the text of the button, maybe you can share more details on your case
    point3

  4. it works fine as well, maybe share some button configures or gif

I don't know but there were some issues with my mac, moreover I have not upgraded my mac from a very long time. Maybe thats the case,
but I have somewhat fixed those bugs using other methods.
Btw thanks a lot for your response.

my popup button disappeared while using tkmacosx