Sun-Valley-ttk-theme icon indicating copy to clipboard operation
Sun-Valley-ttk-theme copied to clipboard

Slow?

Open rdbende opened this issue 1 year ago • 7 comments

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 avatar Apr 28 '23 05:04 rdbende

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

rdbende avatar Apr 28 '23 05:04 rdbende

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

TotallyNotSethP avatar Jul 29 '24 01:07 TotallyNotSethP

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

rdbende avatar Jul 29 '24 08:07 rdbende

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.

Andrew-J-Larson avatar Aug 18 '24 02:08 Andrew-J-Larson

In what way? Does it make things faster?

rdbende avatar Aug 18 '24 07:08 rdbende

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.

Andrew-J-Larson avatar Aug 18 '24 09:08 Andrew-J-Larson

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.

rdbende avatar Aug 18 '24 09:08 rdbende