axxapy / gnome-ui-tune

Tunes overview UI of the gnome 40 a bit
GNU General Public License v3.0
102 stars 10 forks source link

2x thumbnail size causes animation stutter #34

Closed eobet closed 1 year ago

eobet commented 1 year ago

After a reboot (may be other triggers as well), zooming out to see all workspaces for the first time causes a stutter right at the end of the animation. It's as if the zoom wants to go all the way, but then jumps back at the last moment due to the increased size... then it won't happen again until you put the computer to sleep or reboot.

Anyone else seeing that?

Zatan16 commented 1 year ago

Maybe post a video, that may help others visualize/understand it better.

Zatan16 commented 1 year ago

Here is the video I recorded: Screencast from 2023-09-18 20-24-54.webm

Zatan16 commented 1 year ago

I may have a potential fix. The issue is that the search bar takes 500 ms before disappearing and causing the animation to stutter. It is because of Dash to Dock. If Dash to Dock and this extension try to load at the same time, it will break the overview so this extension adds a 500 ms delay. We can try decreasing it to 50ms and it still works. It was supposed to be 50 ms as written in the comments before the piece of code.

axxapy commented 1 year ago

Should be fixed in the latest release (only for gnome 45)