Ubuntu – Ubuntu 18.10: visual artifacts (black bar) in dock if extend-height is disabled


I am using the default Ubuntu dock with bottom placement and org.gnome.shell.extensions.dash-to-dock extend-height set to false. With Ubuntu 18.10 this produces a noticeable visual glitch, note the black empty spaces at the edges of the dock:

click to open a screenshot

I am getting this both on an upgraded system and on a clean install inside a VM. This was working fine in Ubuntu 18.04. Also happens if the theme is set to something else than Yaru (the default theme in Ubuntu 18.10). Reboot does not help. Dock looks OK if extend-height is enabled.

Any ideas on how to fix this?

Best Answer

It looks like a bug related to adaptive/dynamic opacity: https://github.com/micheleg/dash-to-dock/issues/814

To work around this temporarily, you can set the opacity to fixed:

  1. Open Terminal and run

    gsettings set org.gnome.shell.extensions.dash-to-dock transparency-mode 'FIXED'
  2. Reboot or re-login.
Related Question