Dash to Dock still visible on lock screen under gnome-shell

Bug #1716982 reported by Jim Hodapp
94
This bug affects 20 people
Affects Status Importance Assigned to Milestone
Dash to dock
Fix Released
Unknown
gnome-shell-extension-ubuntu-dock (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Seemingly after getting the Ubuntu dock package for gnome-shell but already having been using Dash to Dock with gnome-shell under 17.10, I can still see the dock after locking the screen. I should not be able to see this nor interact with it at all with the screen locked.
---
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 17.10
InstallationDate: Installed on 2017-08-16 (28 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170814)
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair nvidia_uvm nvidia
Package: gnome-shell-extension-ubuntu-dock 0.4
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 4.12.0-13.14-generic 4.12.10
Tags: artful
Uname: Linux 4.12.0-13-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
Jim Hodapp (jhodapp) wrote :

Some package details of what's currently installed:

ii gnome-shell 3.25.91-0ubuntu amd64 graphical shell for the GNOME desktop
ii gnome-shell-extensio 0.4 all Ubuntu Dock for GNOME Shell
ii ubuntu-desktop 1.399 amd64 The Ubuntu desktop system

Dash to Dock gnome-shell extension installed via the web UI version 60

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Jim,

Can you clarify which dock is still visible? :)

Also, please run 'apport-collect 1716982' so we get more details.

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: New → Incomplete
Revision history for this message
Jim Hodapp (jhodapp) wrote : Dependencies.txt

apport information

tags: added: apport-collected artful
description: updated
Revision history for this message
Jim Hodapp (jhodapp) wrote : JournalErrors.txt

apport information

Revision history for this message
Jim Hodapp (jhodapp) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Jim Hodapp (jhodapp) wrote :

Hi Daniel, the dock that's still visible is the original Dash to Dock (version 60) that I installed via the GNOME extensions site.

Revision history for this message
François Glais (franglais125) wrote :

Most probably an error occurs when disabling Dash-to-Dock (which happens when the locking the session).

Could you provide (relevant) errors from

    sudo journalctl /usr/bin/gnome-shell

Revision history for this message
François Glais (franglais125) wrote :

I just looked in the error log you attached above and found:

> Sep 13 17:26:58 hostname gnome-shell[5080]: JS ERROR: TypeError: Main.legacyTray is undefined

This error aborts the disabling sequence of dash-to-dock. This was fixed some time ago[1], and the fix was included in v61. Can you update the extension[2] and verify that it is fixed?

[1] https://github.com/micheleg/dash-to-dock/commit/44ed947e87692935fbfe934acc0e9faca4ec5af3
[2] https://extensions.gnome.org/extension/307/dash-to-dock/

Revision history for this message
Jim Hodapp (jhodapp) wrote :

I can confirm that after upgrading to version 61 of Dash to Dock that this issue goes away. Thanks for looking into this.

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
importance: Undecided → High
status: Incomplete → Fix Released
Revision history for this message
Daeld (daeld-daeldia) wrote :

FWIW, i was using dash-to-dock with ubuntu-dock still installed
after today's update, the dash (ie not the modified dock) was visible from lock screen and I was able to interact with it (ie clicked on icons and when unlocked found associated programs open).

workaround:
apt-get purge gnome-shell-extension-ubuntu-dock
apt-get autoremove (not required but I like to just in case)
reboot

all back to normal

Revision history for this message
James Pack (james-packjr) wrote :

@Daeld's workaround worked for me on Ubuntu GNOME 17.10

Revision history for this message
Ernst Persson (ernstp) wrote :

Is it some global variable name conflict between the two extensions? "dockManager" perhaps?

Revision history for this message
awat (awat) wrote :

it appears again in ubuntu 18.04

Revision history for this message
Dylan Taylor (dylanmtaylor) wrote :

I can confirm. This is not fixed in 18.04

Revision history for this message
Marcus Grenängen (grenangen) wrote :

Same here, it's popped up again on my BETA 2 install that has all updates installed that has been available to this date. Tried @Daelds workaround but that does not work anymore, Dash to dock dock still visible on lock screen.

Revision history for this message
Alexandru Iacob (isalexandru) wrote :

Broken in 18.04

Revision history for this message
Miroslav Zaťko (mirec-z) wrote :

I can confirm. This is not fixed in 18.04

Revision history for this message
Segura (alb-segu) wrote :

Similar problem here. When I get back from the lock screen a new additional dock appears.
I have two monitors, and the dock pinned to one, the additional dock appears in the other monitor and uses a different style and settings.

The problem appears when using dash-to-dock and disabling ubuntu dock, via tweak tools. Using the gnome shell lg tool, the ubuntu dock extension indicates an error: "dockManager is null". Maybe ubuntu-dock doesn't understand that dash-to-dock is already running?

Restarting gnome shell removes the new dock, restoring behaviour.

Changed in dash-to-dock:
status: Unknown → New
Revision history for this message
LUCIO BRAZ (dvclos-deactivatedaccount) wrote :

Workaround:reinstall gnome-session, Ubuntu 18.04 fixed.

https://github.com/micheleg/dash-to-dock/issues/649#issuecomment-388209081

Changed in dash-to-dock:
status: New → 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.