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

Graphical Interface Flickering When Restoring Window from Minimized State #2664

Open
arrifat346afs opened this issue Dec 21, 2024 · 4 comments

Comments

@arrifat346afs
Copy link

I'm experiencing a persistent issue with my CustomTkinter application. Whenever I restore the application window from a minimized state, the graphical interface exhibits noticeable flickering. The UI elements appear to reload, and there's excessive flickering, resembling a glitch in the graphical interface.``

Screen.Recording.2024-12-21.162049.mp4
@dipeshSam
Copy link

dipeshSam commented Dec 21, 2024

@arrifat346afs
Similar to #2617. It's a bug or problem in customtkinter cause of heavy widgets and slow speed. To fix it, you could have a Welcome Screen or a Loading Frame over the main window.

Regards.

@arrifat346afs
Copy link
Author

Does this mean every time the user minimizes the window, they have to reload the frame or welcome screen? Because it's a background process, and the user will check if the process is complete, they will minimize the window multiple times. Therefore, adding a welcome screen and loading frame over the main window doesn't seem right.

@dipeshSam
Copy link

@arrifat346afs Then you could try the following:

  • Try to reduce number of widgets.
  • Use Tkinter bare widgets implementing on_appearance() and/or on_scaling() methods encompassed by customtkinter's ThemeManager and ScalingTracker.

The only solution we are left with.

@arrifat346afs
Copy link
Author

Thanks for the info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants