rdbende / Sun-Valley-ttk-theme

A gorgeous theme for Tkinter/ttk, based on the Sun Valley visual style ✨
https://pypi.org/project/sv-ttk
MIT License
1.87k stars 110 forks source link

Slow? #83

Open rdbende opened 1 year ago

rdbende commented 1 year ago

Many people say that sv-ttk is really slow on their system. I'm not experiencing any lag, but it might be a good idea to use gif for some widget images.

rdbende commented 1 year ago

Or it would be interesting to see how the SVG version performs on Windows. I wanna port this to SVG anyways.

TotallyNotSethP commented 1 month ago

Any new info on this? I really wanna use sv-ttk for my Windows app

rdbende commented 1 month ago

I'm not really working on this project any more, only some occasional commits. I also have no idea how it could be made any faster, other that telling people not to use Windows :P This theme is probably as fast as it gets, even if that is quite slow on Windows. However I can say that it is one of the fastest tkinter themes, and it is multiple times faster than customtkinter

Andrew-J-Larson commented 2 weeks ago

I've found that using certain versions of packages with it (e.g. pywinstyles) can affect the speed, that's maybe something to look into.

rdbende commented 2 weeks ago

In what way? Does it make things faster?

Andrew-J-Larson commented 2 weeks ago

Resizing the window becomes much slower, at least for that package (when using the Windows acrylic theming).

But that hooks into windows API's, so I'm not sure it's something you really can fix speed on.

rdbende commented 2 weeks ago

Yeah. I mean, if pywinstyles makes the window laggier, then it's probably an issue with that package, and not with sv-ttk. It could also be that those Windows APIs are only optimized for Microsoft's own GUI toolkits.