Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some major bugs I noticed while using tkmacosx buttons! #39

Closed
Akascape opened this issue May 1, 2022 · 5 comments
Closed

Some major bugs I noticed while using tkmacosx buttons! #39

Akascape opened this issue May 1, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Akascape
Copy link

Akascape commented May 1, 2022

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)

@Akascape Akascape added the bug Something isn't working label May 1, 2022
@Saadmairaj
Copy link
Owner

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

@Akascape
Copy link
Author

Akascape commented May 2, 2022

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. 😁

@Saadmairaj
Copy link
Owner

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

@Akascape
Copy link
Author

Akascape commented May 28, 2022

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.

@SidyKing
Copy link

my popup button disappeared while using tkmacosx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants