ePrivacy and GPDR Cookie Consent by Cookie ConsentDock Flickering In Gnome - Doobries Domain

Dock Flickering In Gnome

— 2 minute read

I'm using Pop!_OS on my current machine, and have the Gnome desktop enabled.

I'm always on the lookout for good tweaks and one that I like is Dash To Dock that turns the standard Dashboard along the left hand side of the screen into a dock, similar to on MacOS. I really like this extension as it fits my workflow better to have a dock on my screen that automatically hides when a window covers it. You can add your favourite applications to it and also add the application launcher.

Dash To Dock

I'm currently running Gnome version 3.38.3 and there's a small bug that makes the application launcher flicker when its opened.

Fortunately, there is a simple fix described here.

On my machine, this meant editing the ~\.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/docking.js file and editing the if (animate) { clause at line 1896 to read:

if (animate) {
  Main.overview.viewSelector._activePage = Main.overview.viewSelector._appsPage;
  Meta.later_add(Meta.LaterType.BEFORE_REDRAW, () => {
     grid.opacity = 255;
     grid.animateSpring(IconGrid.AnimationDirection.IN, this.mainDock.dash.showAppsButton);

Until the fix is officially merged into the extension, this is a small workaround, but works perfectly.

Credits permalink

Photo by Craig McLachlan on Unsplash