micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.89k stars 460 forks source link

Dock shows on lockscreen on Ubuntu 17.10 #641

Closed 1989gironimo closed 5 years ago

1989gironimo commented 6 years ago

Referring to this bugreport: https://github.com/micheleg/dash-to-dock/issues/569#issuecomment-343710348 - It's pretty much the same but in August that was already fixed.

It's not always the case but most of the time the dock is visible on the left bottom side if the lockscreen is active.

franglais125 commented 6 years ago

Could you check sudo journalctl /usr/bin/gnome-shell and post the output whenever this happens?

ernstp commented 6 years ago

Could it be a conflict with ubuntu-dock? They're using the same variable name? I have both extensions installed but Ubuntu Dock disabled. Or supposed to be disabled.

nov 15 13:30:03 semall0566 gnome-shell[5623]: JS WARNING: [/home/ernsjo/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/utils.js 34]: reference to undefined property Symbol.toPrimitive nov 15 13:30:03 semall0566 gnome-shell[5623]: JS WARNING: [/usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/appIcons.js 1361]: unreachable code after return statement nov 15 13:30:03 semall0566 gnome-shell[5623]: JS WARNING: [/usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/extension.js 44]: assignment to undeclared variable runningExtensions nov 15 13:30:28 semall0566 gnome-shell[5623]: Extension "ubuntu-dock@ubuntu.com" had error: TypeError: dockManager is null

ernstp commented 6 years ago

Yeah, uninstalling gnome-shell-extension-ubuntu-dock solved the issue for me.

leoperbo commented 6 years ago

But uninstalling gnome-shell-extension-ubuntu-dock removes ubuntu-desktop and this could bring problems with system updates.

I have been playing with this issue and with the Gnome favorites bar showing in activities view and found a workaround for both:

  1. Install Dash to Dock.
  2. Make all your customization.
  3. Remove Dash to Dock (from https://extensions.gnome.org/local/).
  4. Logout and login.

Although Dash to Dock was removed, the customization (position, size, behaviour, appearance) persist on Ubuntu Dock and the issues (dock shows on lockscreen and favorites shows on activities view) are not present any more.

Notes: with this method, the only thing that you lost from Dash to Dock is the "Dash to Dock settings" menu from the applications icon, and of course, the Dash to Dock settings entry in Gnome Tweak Tool. I haven't tried yet, but I think that if you make a change from Dock entry in Ubuntu settings, may be some customization realized with Dash to Dock settings will be lost.

1989gironimo commented 6 years ago

Have done that (like the posts before) unintentionally and cannot reproduce that error anymore. If it's coming back, I'll report.

1989gironimo commented 6 years ago

Ok - had it now. Had to copy the command from thunderbird, so there may be unnecessary stuff related to that:

Nov 19 11:27:51 robot gnome-shell[2245]: Failed to apply DRM plane transform 0: Keine Berechtigung Nov 19 11:27:51 robot org.gnome.Shell.desktop[2245]: Window manager warning: Failed to set power save mode for output LVDS-1: Keine Berechtigung Nov 19 11:27:51 robot gnome-shell[2766]: WARNING: addSignalMethods is replacing existing [0x55b29fc65440 Gjs_ShowAppsIcon.dash-item-container] conn Nov 19 11:27:51 robot gnome-shell[2766]: WARNING: addSignalMethods is replacing existing [0x55b29fc65440 Gjs_ShowAppsIcon.dash-item-container] disc Nov 19 11:27:51 robot gnome-shell[2766]: WARNING: addSignalMethods is replacing existing [0x55b29fc65440 Gjs_ShowAppsIcon.dash-item-container] emit Nov 19 11:27:53 robot gnome-shell[2245]: nma_mobile_providers_database_lookup_cdma_sid: assertion 'sid > 0' failed Nov 19 11:27:53 robot gnome-shell[2766]: nma_mobile_providers_database_lookup_cdma_sid: assertion 'sid > 0' failed Nov 19 11:29:50 robot gnome-shell[2766]: Max Id:12 Nov 19 11:29:50 robot gnome-shell[2766]: HDMI / DisplayPort 3 (Eingebautes Tongerät) Nov 19 11:29:50 robot gnome-shell[2766]: Added: 1:HDMI / DisplayPort 3:hdmi-output-2 Nov 19 11:29:50 robot gnome-shell[2766]: Removed: 1 Nov 19 11:29:50 robot gnome-shell[2766]: HDMI / DisplayPort 2 (Eingebautes Tongerät) Nov 19 11:29:50 robot gnome-shell[2766]: Added: 2:HDMI / DisplayPort 2:hdmi-output-1 Nov 19 11:29:50 robot gnome-shell[2766]: Removed: 2 Nov 19 11:29:50 robot gnome-shell[2766]: HDMI / DisplayPort (Eingebautes Tongerät) Nov 19 11:29:50 robot gnome-shell[2766]: Added: 3:HDMI / DisplayPort:hdmi-output-0 Nov 19 11:29:50 robot gnome-shell[2766]: Removed: 3 Nov 19 11:29:50 robot gnome-shell[2766]: Kopfhörer (Eingebautes Tongerät) Nov 19 11:29:50 robot gnome-shell[2766]: Added: 4:Kopfhörer:analog-output-headphones Nov 19 11:29:50 robot gnome-shell[2766]: Removed: 4 Nov 19 11:29:50 robot gnome-shell[2766]: Lautsprecher (Eingebautes Tongerät) Nov 19 11:29:50 robot gnome-shell[2766]: Added: 5:Lautsprecher:analog-output-speaker Nov 19 11:29:50 robot gnome-shell[2766]: Activated: 5 Nov 19 11:29:50 robot gnome-shell[2766]: Line-Ausgang (Eingebautes Tongerät) Nov 19 11:29:50 robot gnome-shell[2766]: Added: 6:Line-Ausgang:analog-output-lineout Nov 19 11:29:50 robot gnome-shell[2766]: Removed: 6 Nov 19 11:29:50 robot gnome-shell[2766]: Max Id:13 Nov 19 11:29:50 robot gnome-shell[2766]: Eingang (Eingebautes Tongerät) Nov 19 11:29:50 robot gnome-shell[2766]: Added: 7:Eingang:analog-input-linein Nov 19 11:29:50 robot gnome-shell[2766]: Removed: 7 Nov 19 11:29:50 robot gnome-shell[2766]: Mikrofon (Eingebautes Tongerät) Nov 19 11:29:50 robot gnome-shell[2766]: Added: 8:Mikrofon:analog-input-mic Nov 19 11:29:50 robot gnome-shell[2766]: Removed: 8 Nov 19 11:29:50 robot gnome-shell[2766]: Internes Mikrofon (Eingebautes Tongerät) Nov 19 11:29:50 robot gnome-shell[2766]: Added: 9:Internes Mikrofon:analog-input-internal-mic Nov 19 11:29:50 robot gnome-shell[2766]: Activated: 9 Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-hotkey-1". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-hotkey-2". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-hotkey-3". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-hotkey-4". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-hotkey-5". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-hotkey-6". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-hotkey-7". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-hotkey-8". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-hotkey-9". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-hotkey-10". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-shift-hotkey-1". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-shift-hotkey-2". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-shift-hotkey-3". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-shift-hotkey-4". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-shift-hotkey-5". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-shift-hotkey-6". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-shift-hotkey-7". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-shift-hotkey-8". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-shift-hotkey-9". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-shift-hotkey-10". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-ctrl-hotkey-1". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-ctrl-hotkey-2". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-ctrl-hotkey-3". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-ctrl-hotkey-4". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-ctrl-hotkey-5". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-ctrl-hotkey-6". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-ctrl-hotkey-7". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-ctrl-hotkey-8". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-ctrl-hotkey-9". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "app-ctrl-hotkey-10". Nov 19 11:29:50 robot org.gnome.Shell.desktop[2766]: Window manager warning: Trying to re-add keybinding "shortcut". Nov 19 11:29:50 robot gnome-shell[2766]: [AppIndicatorSupport-DEBUG] Registering StatusNotifierItem :1.110/org/ayatana/NotificationItem/software_up Nov 19 11:29:50 robot gnome-shell[2766]: [AppIndicatorSupport-DEBUG] Registering StatusNotifierItem :1.72/org/ayatana/NotificationItem/_modules_kde Nov 19 11:29:51 robot org.gnome.Shell.desktop[2766]: libinput error: libinput bug: timer: offset negative (-276593) Nov 19 11:29:55 robot gnome-shell[2766]: [pixel-saver]: Can't find original state for Mozilla Thunderbird with id 0x2200010 Nov 19 11:29:55 robot gnome-shell[2766]: [pixel-saver]: Can't find original state for Sicherheits-Ausnahmeregel hinzufügen with id 0x220003c Nov 19 11:29:56 robot gnome-shell[2766]: [pixel-saver]: Can't find original state for Sicherheits-Ausnahmeregel hinzufügen with id 0x220004a Nov 19 11:29:56 robot gnome-shell[2766]: [pixel-saver]: Can't find original state for Sicherheits-Ausnahmeregel hinzufügen with id 0x220005f Nov 19 11:29:57 robot gnome-shell[2766]: [pixel-saver]: Can't find original state for Sicherheits-Ausnahmeregel hinzufügen with id 0x220006e Nov 19 11:30:15 robot gnome-shell[2766]: [pixel-saver]: Could not find XID for window with title Terminal Nov 19 11:30:15 robot gnome-shell[2766]: [pixel-saver]: Could not find XID for window with title t42h6@robot: ~ Nov 19 11:30:15 robot gnome-shell[2766]: [pixel-saver]: Could not find XID for window with title t42h6@robot: ~ Nov 19 11:30:15 robot gnome-shell[2766]: [pixel-saver]: Finding XID for window t42h6@robot: ~ failed Nov 19 11:30:16 robot gnome-shell[2766]: [pixel-saver]: Could not find XID for window with title null Nov 19 11:30:16 robot gnome-shell[2766]: [pixel-saver]: Could not find XID for window with title null Nov 19 11:30:16 robot gnome-shell[2766]: [pixel-saver]: Could not find XID for window with title null Nov 19 11:30:16 robot gnome-shell[2766]: [pixel-saver]: Could not find XID for window with title null Nov 19 11:30:16 robot gnome-shell[2766]: [pixel-saver]: Could not find XID for window with title null Nov 19 11:30:16 robot gnome-shell[2766]: [pixel-saver]: Finding XID for window null failed Nov 19 11:30:16 robot gnome-shell[2766]: [pixel-saver]: Could not find XID for window with title null Nov 19 11:30:16 robot gnome-shell[2766]: [pixel-saver]: Finding XID for window null failed

tprasadtp commented 6 years ago

@1989gironimo I also had the same issue, but when I switched to "Stock Gnome" session and disabled ubuntu dock there, the issue vanished. I think its because of conflicts with ubuntu dock extension. When error occurs, Looking glass says that extension ubuntu-dock has some errors and sudo journalctl /usr/bin/gnome-shell | grep ubuntu-dock gives following

gnome-shell[3063]: JS WARNING: [/usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/appIcons.js 1361]: unreachable code after return statement
gnome-shell[3063]: JS WARNING: [/usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/extension.js 44]: assignment to undeclared variable runningExtensions

Ubuntu devs have modified it not to display right click option and it somehow errors out the lines from appIcons.js ( source tarball )seems to be causing the error.

showAppsIcon.popupMenu = function() {
    /* disable settings on right-click as only Dash to Dock will display extended settings */
        return;
      showAppsIcon._removeMenuTimeout();
      showAppsIcon.actor.fake_release();

I think the problem is with Ubuntu dock extension not default dash to dock one. I am no expert in this so excuse me if anything I have said is not correct.

GijsVermarien commented 6 years ago

I also have this error, such a shame as this dash to dock looks amazing. My result for the settings:

animate-show-apps=true
show-apps-at-top=false
extend-height=false
preferred-monitor=0
intellihide-mode='FOCUS_APPLICATION_WINDOWS'
show-show-apps-button=true
multi-monitor=true
apply-custom-theme=true
dock-position='BOTTOM'
custom-theme-shrink=false
icon-size-fixed=false
dash-max-icon-size=32
isolate-workspaces=false

looking glass, doesn't return any errors.

Nebrit commented 6 years ago

please @micheleg solve this problem in the next version please.

naisanza commented 6 years ago

Seeing the same thing as well on a fresh install

dock to dash

mossad-zika commented 6 years ago

Guys, you should uninstall gnome-shell-extension-ubuntu-dock from system, after that - no bugs

oy495649630 commented 6 years ago

I came across such a problem when customizing my dock with 'dash to dock'. Before that I installed gnome tweaks and in extension column I found switches for several managing extensions including 'dash to dock'. Just switching it off solved my problem. Wish that could help for someone!

Ads20000 commented 6 years ago

Anyone still affected by this issue with the Ubuntu Dock please mark yourself as affected by the Ubuntu bug! :) Also, here's the journalctl -f output on my system when I lock the screen and reproduce the bug!

merlijn-sebrechts commented 5 years ago

For me it happens in 18.10 every time after I wake my computer from sleep mode. It did not happen in 18.04 for me.

robzon commented 5 years ago

I experience the same issue on Ubuntu 18.10.

micheleg commented 5 years ago

This #848 could fix this issue.

rocky7x commented 5 years ago

Maybe it will fix it for Ubuntu dock, but not for other distros, that suffer the same problems, but do not have Ubuntu dock installed, just normal dash to dock.

eightfivelabs commented 4 years ago

I also experience this. Is there any info I can provide to help solve?

Ads20000 commented 4 years ago

@shutchinson If you're using the default Ubuntu dock rather than Dash to Dock then yes, please run ubuntu-bug gnome-shell-extension-ubuntu-dock and it will provide all the information the Ubuntu developers need to fix the issue (also briefly describe the issue)

If you've manually installed then I don't know, we'd need a Dash to Dock developer to chip in.