-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
AttributeError: CTkToolTip object has no attribute 'block_update_dimensions_event' #20
Comments
I have this issue too. |
if you just want to fixt it, even if its not a good fix. Adding this code to the class CTkToolTip will work:
|
A further comment on this. |
Yeah I'm pretty sure that's the case, I had quite a lot of issues with CTK when dealing with several screen at different scalings. I ended up dity fixing it by dividing the screen size by the screen scaling depending on the screen the program appears on. And I'm pretty sure this comes from the same root problem |
I have an reproducable error occuring when moving my ctk window on another screen with a different resolution.
This happens as soon as I hover over the widget with the tooltip (when the app has moved to the 2nd screen).
I can reproduce it with the example code given in the README.
It seems that tkinter has an automatic update dimensions event if the resolution of the screen is changing which is not defined for the ToolTip
I started the App on 1920x 1080 screen and moved it to 2560 x 1440.
I am using Windows 11 and CTkToolTip v0.8
The text was updated successfully, but these errors were encountered: