Dock appears in GNOME lock screen when monitor powers off (and screen lock is disabled)

Bug #1724070 reported by Jesse
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-shell-extension-ubuntu-dock (Ubuntu)
Expired
High
Unassigned

Bug Description

BEHAVIOR
There's no place to upload a photo, but I can provide one upon request. I turned screen lock off in the Privacy section of System Settings. Now, when the monitor powers off, and I wiggle the mouse or press a keyboard key to awaken Ubuntu 17.10, it shows the lock screen, but the Ubuntu dock was present on the left side. (Unsure if this happened when my monitor powered off when Activities Overview was active or not).

EXPECTED BEHAVIOR
For the Ubuntu dock to not be showing in the lock screen at all.

BUG DISCOVERED USING
Ubuntu 17.10 beta 2
GNOME 3.26.1 (ubuntu-modified shell)
Nvidia 384.90 proprietary driver (single monitor)
X.org 1.19.5
Linux kernel 4.13.0-16-generic

Jesse (jessedubord)
summary: - Dock appears in GNOME lock screen when monitor powers off
+ Dock appears in GNOME lock screen when monitor powers off (and screen
+ lock is disabled)
Revision history for this message
François Glais (franglais125) wrote :

This sounds like the dock encountered an error and couldn't disable properly upon locking the session. Can you provide the output of "sudo journalctl /usr/bin/gnome-shell" when you see this behavior?

Revision history for this message
Jesse (jessedubord) wrote :
Download full text (98.0 KiB)

Here's the output of the command you asked me. Hopefully this will help:
-- Logs begin at Mon 2017-10-16 07:58:53 PDT, end at Mon 2017-10-16 14:07:07 PDT. --
Oct 16 07:58:56 Primus gnome-shell[1253]: Can't initialize KMS backend: could not find drm kms device
Oct 16 07:59:13 Primus gnome-shell[1311]: JS WARNING: [resource:///org/gnome/shell/ui/main.js 315]: reference to undefined property "MetaStage"
Oct 16 07:59:13 Primus gnome-shell[1311]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 221]: reference to undefined property "MetaWindowGroup"
Oct 16 07:59:13 Primus gnome-shell[1311]: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefined property "MetaDBusDisplayConfigSkeleton"
Oct 16 07:59:14 Primus gnome-shell[1311]: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 38]: reference to undefined property "CallyActor"
Oct 16 07:59:14 Primus gnome-shell[1311]: JS WARNING: [resource:///org/gnome/gjs/modules/tweener/tweener.js 540]: reference to undefined property "isSpecialProperty"
Oct 16 07:59:14 Primus gnome-shell[1311]: Error looking up permission: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files
Oct 16 07:59:14 Primus org.gnome.Shell.desktop[1311]: Window manager warning: "XF86RFKill" is not a valid accelerator
Oct 16 07:59:15 Primus gnome-shell[1311]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 29]: reference to undefined property "MetaWindowX11"
Oct 16 08:03:08 Primus gnome-shell[1877]: JS WARNING: [resource:///org/gnome/shell/ui/main.js 315]: reference to undefined property "MetaStage"
Oct 16 08:03:08 Primus gnome-shell[1877]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 221]: reference to undefined property "MetaWindowGroup"
Oct 16 08:03:08 Primus gnome-shell[1877]: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefined property "MetaDBusDisplayConfigSkeleton"
Oct 16 08:03:08 Primus gnome-shell[1877]: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 38]: reference to undefined property "CallyActor"
Oct 16 08:03:09 Primus gnome-shell[1877]: JS WARNING: [resource:///org/gnome/gjs/modules/tweener/tweener.js 540]: reference to undefined property "isSpecialProperty"
Oct 16 08:03:09 Primus gnome-shell[1877]: JS WARNING: [/home/<email address hidden>/extension.js 45]: reference to undefined property "text"
Oct 16 08:03:09 Primus gnome-shell[1877]: [pixel-saver]: 'appmenu' is not a valid button.
Oct 16 08:03:09 Primus gnome-shell[1877]: Some code accessed the property 'ICON_FILE' on the module 'keys'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Oct 16 08:03:09 Primus gnome-shell[1877]: Some code accessed the property 'FIRST_ENABLE' on the module 'keys'. That property was defined with 'let' or 'const' inside the module. T...

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

1. I can find at least an ubuntu-dock error:
Extension "<email address hidden>" had error: TypeError: dockManager is null

I thought this was already fixed. Can you check if you have updates available?

2. Several of your extensions have errors as well. This could be interfering somewhere with the locking process. Can you try disabling all other extensions to see if it's reproducible?

Thanks!

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

I checked, and don't have any updates available -- everything is current.

However, I've since been unable to re-produce the issue on the PC that was initially experiencing it, and can't produce the issue on any other PC's. So... maybe problem solved?

Revision history for this message
Ads20000 (ads20000) wrote :

I get the dock showing on the lock screen.

Oct 27 02:45:03 adam-ThinkPad-T430 gnome-shell[2353]: [AppIndicatorSupport-DEBUG] Registering StatusNotifierItem :1.68/org/ayatana/NotificationItem/_modules_kdeconnect_devices_10de7ac5275662e6
Oct 27 02:45:03 adam-ThinkPad-T430 gnome-shell[2353]: [AppIndicatorSupport-DEBUG] Registering StatusNotifierItem :1.123/org/ayatana/NotificationItem/software_update_available

This is after updating to gnome-shell-extension-ubuntu-dock 0.7.1, logging out, logging in, toggling Dash to Dock on and off, to get Ubuntu Dock working again as per https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/1726935

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

Thanks Jesse for the further information you provided. It looks like it's problem solved for you.

Ads20000 (and anyone else that has a similar problem): although the symptom is the same (the dock showing on the lock screen), the root cause can be due to a myriad of problems. The reason is that the code that has to disable the dock doesn't get executed, it gets interrupted due to some error at some point.

Hence, in order to assess what the problem is, we really need to take a look at the logs.

Whenever you get this problem again, can you please provide the output of: "sudo journalctl /usr/bin/gnome-shell" ?

You can look at the log as new errors occur by adding "-f" to the command above.

Revision history for this message
Ads20000 (ads20000) wrote :

Thanks for the comment Francois, I now can't reproduce the issue with the process I described before...

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
Ads20000 (ads20000) wrote :

Francois I get this issue on Ubuntu 18.10 and the output of `journalctl -f` when experiencing the bug is here: https://paste.ubuntu.com/p/Y3MxnXzqXq/ , though this is now effectively a duplicate of bug 1769383 (which is more active).

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.