TomSchimansky / CustomTkinter

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

ScrollableFrame really slow in a new Toplevel if old Toplevel was destroyed #2643

Open andreparo opened 6 days ago

andreparo commented 6 days ago

Steps:

  1. Open a Toplevel from a Mainwindow
  2. Destroy toplevel
  3. Create new Toplevel
  4. When calling customtkinter.CTkScrollableFrame(...) the execution stops for 4-15 seconds

Does not happen if instead of destroyng the first Toplevel, withdraw() is used.