Ubuntu Dock gets replaced with a standard GNOME one after a while

Bug #1795703 reported by Kostiantyn Rybnikov
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gnome-shell-extension-ubuntu-dock (Ubuntu)
Fix Released
High
Marco Trevisan (Treviño)

Bug Description

I don't reboot my desktop and don't hibernate it, it just works for multiple days in a row without a reboot. I only turn off the monitor when I go out.

Sometimes, after a while, when I turn on the monitor, Ubuntu's Dock is no longer there and what I get is the GNOME Dock which is hidden and can be seen by pressing "Super" (which shows all windows as well). This is annoying.

Not sure if related, but here's what I've found in the journalctl logs: https://gist.github.com/k-bx/3a11b3ae34531a0dd2eb9cdaac97cf6c

> JS ERROR: TypeError: this._workspaceIsolation is undefined

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-shell-extension-ubuntu-dock 0.9.1ubuntu18.04.1
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 2 19:32:07 2018
InstallationDate: Installed on 2018-08-30 (32 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitecture: all
SourcePackage: gnome-shell-extension-ubuntu-dock
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kostiantyn Rybnikov (k-bx) wrote :
Revision history for this message
Kostiantyn Rybnikov (k-bx) wrote :

I think this doesn't happen anymore, didn't check logs but the dock is there for more than 7 days now. Yay! :)

Revision history for this message
Kostiantyn Rybnikov (k-bx) wrote :

I don't see a button to close it, so anyone who does -- feel free to.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the update, it's weird if it got away without a real fix, maybe it's transient. Setting as incomplete for now, please provide the informations if you hit the issue again, thx

Changed in gnome-shell (Ubuntu):
importance: Undecided → High
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
importance: Undecided → High
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: New → Incomplete
Revision history for this message
Kostiantyn Rybnikov (k-bx) wrote :

Ok, so it happened again, but it took 15 days this time :)

Attaching journalctl -x -n1000

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-shell-extension-ubuntu-dock (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-shell (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-shell (Ubuntu):
status: Incomplete → Expired
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: Expired → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the log has this warning, unsure if that's what makes the dock unload though?

JS WARNING: [/<email address hidden>/docking.js 1778]: reference to undefined property "_workspaceIsolation"

Revision history for this message
Kostiantyn Rybnikov (k-bx) wrote :

Yeah. Also, once again, this didn't happen in quite some time and with big uptimes. I wouldn't bother until many more people confirm.

no longer affects: gnome-shell (Ubuntu)
Revision history for this message
Eugene Kuznetsov (ekuznetsov) wrote :
Download full text (3.8 KiB)

Same problem here (I think).

Stock Ubuntu 18.04.1 LTS
gnome-shell-extension-ubuntu-dock version 0.9.1ubuntu18.04.1

The dock has disappeared overnight (pretty sure that it's not related to any updates, since auto-updates are off and /var/log/apt/history.log does not show any installs/upgrades more recent than January 14.) I still have a gray bar with the time on top and the word "Activities" in the top left corner. It shows up if I click on "Activities" or press the Windows key on the keyboard, then disappears again.

Options in the "Dock" tab in Ubuntu settings (Auto-hide, Position on screen) have no effect.

Unlike the original reporter, my system was rebooted about 24 hours ago.

Reviewing the event journal, I see the following appear last evening:

Jan 28 21:21:56 aidev-System-Product-Name gnome-shell[3405]: JS WARNING: [/<email address hidden>/docking.js 1778]: reference to undefined property "_workspaceIsolation"
(...)
Jan 28 21:22:25 aidev-System-Product-Name gnome-shell[3405]: g_array_unref: assertion 'array' failed
Jan 28 21:22:25 aidev-System-Product-Name upowerd[2154]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.2/0003:046D:C52B.0139/0003:046D:200A.013B
Jan 28 21:22:25 aidev-System-Product-Name upowerd[2154]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.2/0003:046D:C52B.0139
Jan 28 21:22:25 aidev-System-Product-Name upowerd[2154]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.2
Jan 28 21:22:25 aidev-System-Product-Name upowerd[2154]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3
Jan 28 21:22:29 aidev-System-Product-Name /usr/lib/gdm3/gdm-x-session[3271]: (--) NVIDIA(GPU-0): DFP-0: disconnected
(...)
Jan 28 21:22:29 aidev-System-Product-Name /usr/lib/gdm3/gdm-x-session[3271]: (--) NVIDIA(GPU-0): DFP-6: disconnected
Jan 28 21:22:29 aidev-System-Product-Name /usr/lib/gdm3/gdm-x-session[3271]: (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
Jan 28 21:22:29 aidev-System-Product-Name /usr/lib/gdm3/gdm-x-session[3271]: (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
Jan 28 21:22:29 aidev-System-Product-Name /usr/lib/gdm3/gdm-x-session[3271]: (--) NVIDIA(GPU-0):
Jan 28 21:22:29 aidev-System-Product-Name gnome-shell[3405]: JS ERROR: TypeError: this._workspaceIsolation is undefined
                                                             DockManager<._deleteDocks@/<email address hidden>/docking.js:1778:9
                                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                             DockManager<._toggle@/<email address hidden>/docking.js:1662:9
                                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22

(I think the dock was still up after 21:22, but I'm not positive.)

There are lots of other recurrent Gnome-related errors in the log, which may or may not be related. These include:

Jan 29 12:30:20 aidev-System-P...

Read more...

Revision history for this message
Kostiantyn Rybnikov (k-bx) wrote :

Ok, happened again :( After such a long time, I was hoping it's gone. Sorry for spamming.

Revision history for this message
Yeou Sunn (yeousunn-fac) wrote :

Have same issue with same error message.
For now every time it happens, I run `Alt+f2` and run `r` command.

Revision history for this message
Kostiantyn Rybnikov (k-bx) wrote :

It's happening very frequently for me again. I decided to wait for 20.04 basically, meanwhile the "fix" i've found is to go to https://extensions.gnome.org/extension/307/dash-to-dock/ and uninstall-install the extension, it would bring the dock back without a need to reboot.

Revision history for this message
nathanlee2@gmail.com (nathanlee2) wrote :

This seems to only happen to me after a period of inactivity, as i've only seen the dock disappear after logging back in from the lock screen. I can't reproduce it, other than to say it happens about once every week or two.

My go-to solution was to log out and log in again, though I can confirm that Yeou Sunn's workaround of "alt+f2" and "r" works. I'll be doing that for now until a fix is found.

Revision history for this message
draxil (draxil) wrote :

I get this quite regularly, thanks to the participants of this for the work around, very useful. But this is definitely still a problem.

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell-extension-ubuntu-dock - 67ubuntu20.04.3

---------------
gnome-shell-extension-ubuntu-dock (67ubuntu20.04.3) focal; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * docking: Don't use non-existent Utils.DisplayWrapper.getWorkspaceManager()
  * dash: Use clutter alignment to ensure we properly arrange the dash
  * metadata: Set extension compatible with shell 3.36 only
  * dash: Sync some more to the upstream cleanups
  * docking: Properly replace default dash in all modes (LP: #1795703,
    LP: #1865865)
  * docking: Delay hide requests if we're currently showing
  * docking: Don't sync overview's iconSize anymore
  * docking: Reset old dash changes if something changes it (LP: #1795703)
  * docking: Cleanup the docks destruction code
  * docking: Use parent vfunc results to get slider container sizes
  * docking: Add mainDock property to DockManager and use it
  * docking: Don't pass allDocks to every child
  * docking: Ignore key-repeat
  * fileManager1API: Use a cancellable to stop proxy creation on destruction
  * dash: Cleanup preferred width/height vfuncs reusing upstream code
  * dash: Get content box from the themeNode
  * dash: Some code cleanups to match Upstream code better
  * appIcons: Redirect events from the showAppIcon toggleButton to the parent
  * general: Don't use Gtk enum definitions for St widgets
  * docking: Apply the height/width dash constraint after adding to main uiGroup
  * docking: Delay toggling to group multiple requests
  * docking: Consider theming when computing the sliderContainer space
  * docking: Reimplement Clutter.BindConstraint to bind to Maximum size only
  * docking: Replace the dashSpacer instance in default controls
  * docking: Make sure we don't send the overview offscreen in extended mode
    (LP: #1834967)
  * launcherAPI: Actually keep track of the unity bus ID and replace it
    (LP: #1756837)

  [ Michele Gaio ]
  * Fix bug with xscreensaver.

  [ Jordan Christiansen ]
  * Update the screenshot to Gnome 3.34

 -- Marco Trevisan (Treviño) <email address hidden> Wed, 18 Mar 2020 03:22:28 +0100

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.