micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.86k stars 462 forks source link

Dash to Dock causing choppy overview animation #184

Open Mancooo opened 9 years ago

Mancooo commented 9 years ago

Hi,

I love this extension but I have one small issue. The overview animation is choppy (losing fps) when dash to dock is running. When I turn off dash to dock, the animation is smooth, when turned on the overview animation is slightly choppy.

Edit: I found out the choppy animation has to do with the option expand to fill to entire side (like the unity bar of Ubuntu). When that option is turned on, animations become choppy somehow, if that option is turned off the animations become normal again (smooth that is).

Can this bug be solved somehow?

micheleg commented 9 years ago

Hi,

Exactly which animations become choppy? Could you check if

  1. The animations are still not smooth with all other extensions disabled.
  2. The animations are not smooth regardless of the dock settings ( fixed and autohide)
  3. If you could run '''gnome-shell --replace''' in a terminal and look for errors related. Be aware that closing that terminal will kill the gnome-shell, so save your current workspace.

Few other useful information:

Thank you, Michele

Mancooo commented 9 years ago

When I have a window open (it doesn't matter how much and which programs) and go activate the overview by going to the hot corner (activities button), the zooming out of the windows (and thus showing all open windows) become choppy. Somehow the wavey animation of the hot corner messes with the extension.

This only happens if Dash to Dock is expanded just like the unitybar of Ubuntu. If the dock is not expanded, the animations are smooth.

  1. I checked with all extensions off except Dash to Dock --> the overview animation is still choppy
  2. The settings of Dash to Dock don't matter, if the dock is extended across the whole leftside, the overview (zooming out of the windows) becomes choppy.
  3. There is no error message when running "gnome-shell --replace"

I don't know if this bug was there with Fedora 21, I now use Fedora 22, the problem is there since maybe 2 weeks or so.

I use the integrated GPU of my i3 4330 Haswell refresh. All animations are super smooth without Dask to Dock running.

Thanks for you effort and hard work!

micheleg commented 9 years ago

I've tried on my setup (old intel grahic as well) in both gnome 3.14 and gnome 3.16, and I don't see any choppy animation, or at least I don't see any difference between extended and not extended mode. As I can't reproduce the bug and I don't have an idea of why the extended mode should make any difference (although this is a good starting point to look for the source of the problem), It could help if you could check if the problem also appeared in the older version. You can download older version for gnome-3.16 here: http://micheleg.github.io/dash-to-dock/releases.html

Mancooo commented 9 years ago

I just installed version 42 (first version to be compatible with Gnome 3.16) and in that version that particular animation is not choppy!

The choppy behaviour starts with version 43 and up.

I also noticed that there is no choppy animation if I go to overview (activities) by pressing the Super key. It only happens when I trigger the hot corner with my mouse and that wavey animation starts, at that point every window that gets zoomed and, has a slightly choppy animation (lower fps), I see that some frames are skipping.

Maybe because that wave animation is causing some trouble with the extended dock. I can clearly see the difference between extended an non-extended mode.

Mancooo commented 9 years ago

I just found out that the choppy animation only happens when the dock is extended of the left or top side of the screen. When the dock is extended on the right or downside, all animations are smooth.

So, I think it really has something to do with the wavey animation of the hot corner (activities button) conflicting with the extended dock. That explains why there is no choppy behaviour when the dock is on the LEFT side and triggering the animation with the super key. It only happens when the wavey animation is triggered by the mouse movement.

I hope this helps.

micheleg commented 9 years ago

Thanks for the additional information.

hilman-k8n commented 5 years ago

I though it's my hdd. Even when i'm using ssd this still happens. Sometimes my cursor freezing

I disabled this extension and now works smoothly