> …and I'd think it should definitely stop on unmap, there's no point in 
> keeping tabs on the animation at that point I don't think.

That would fix it in our case but GTK shouldn't do this even when the progress 
bar is kept displayed all the time.

>> @elextr BTW, do you use Wayland?

> No.

I think the CPU usage could be affected by the used theme - whether it has to 
draw rounded corners or not, some gradients, etc. When I tried to profile it, I 
could see some cairo operations (and lots of `poll()`s) in the profile.

Still I would suspect that `tick_cb()` from gtkprogressbar gets called all the 
time in your case too.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3902#issuecomment-2169193410
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3902/c2169193...@github.com>

Reply via email to