Dock has very long load time when show-mounts is enabled

Bug #1874578 reported by Xanthopoulos Vassilis
124
This bug affects 29 people
Affects Status Importance Assigned to Milestone
Dash to dock
New
Unknown
gnome-shell-extension-dashtodock (Ubuntu)
Confirmed
Undecided
Unassigned
gnome-shell-extension-ubuntu-dock (Ubuntu)
Fix Released
Low
Unassigned
Impish
Fix Released
Low
Unassigned

Bug Description

[ Impact ]

Icons are not showing on loading when mount-points are showing

[ Test case ]

- Start a new session (ensure that the system has mounted devices)
- The launcher icons should show promptly without any delay

[ Regression potential ]

Mounted devices will have wrong or no icon.

----

I just upgraded from Ubuntu 18.04 to 20.04.

When I boot my system I have to wait at least 10 to 15 seconds for the application icons to load on dock. Meanwhile everything else seems to be working properly. I didn't experience this behavior in Ubuntu 18.04.

Also the dock doesn't trigger when I move my cursor to the left of the screen. (I have set the docker to Auto-Hide mode and it's position is on the left of my screen).
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOMEDistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2016-08-03 (1359 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Package: gnome-shell-extension-ubuntu-dock 67ubuntu20.04.5
PackageArchitecture: all
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Tags: focal third-party-packages wayland-session
Uname: Linux 5.4.0-26-generic x86_64
UpgradeStatus: Upgraded to focal on 2020-04-23 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo wireshark
_MarkForUpload: True

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:

  apport-collect 1874578

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

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

Could you also add your 'journalctl -b 0' log after getting the issue?

Revision history for this message
Xanthopoulos Vassilis (vilaras) wrote : Dependencies.txt

apport information

tags: added: apport-collected focal third-party-packages wayland-session
description: updated
Revision history for this message
Xanthopoulos Vassilis (vilaras) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Xanthopoulos Vassilis (vilaras) wrote : ProcEnviron.txt

apport information

Revision history for this message
Xanthopoulos Vassilis (vilaras) wrote : Re: dock has very long load time

Added the 'journalctl -b 0' log as suggested?

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: Incomplete → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The timeout is probably related to network mounts, and/or your theme:

Απρ 24 14:07:26 vassilis-ms-7680 gnome-shell[2564]: JS ERROR: TypeError: iconTheme is null
                                                       _getWorkingIconName@/<email address hidden>/locations.js:150:21
                                                       _onMountAdded@/<email address hidden>/locations.js:225:35
                                                       DashToDock_Removables/<@/<email address hidden>/locations.js:116:22

Revision history for this message
ooops (ooops) wrote :

I can confirm the bug. Happens also to me. Have attached my journalctl.

description: updated
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 :

What icon theme do you use?

Do you have remote share or disks mounted? if so could you try if unmounting them makes a difference?

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
ooops (ooops) wrote :

I have no disks mounted by default. And I use the default theme. I just created a new user for testing and it happens for that one too as soon as you switch to the wayland-session.

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

so it's happening in wayland only and not xorg?

Could you include the log of
$ gio mount -l

Revision history for this message
ooops (ooops) wrote :

It happens only for wayland. Just tried out again with the tester account. Attached is the output of gio and journalctl for that account. As you can see gio reports two SSD, a HDD, and a DVD but not other mount.

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: Incomplete → New
summary: - dock has very long load time
+ [wayland] dock has very long load time
Revision history for this message
Nicolas Damgaard Larsen (ndl101) wrote : Re: [wayland] dock has very long load time

Confirming this issue on an 19.10 to 20.04 upgrade (originally 18.04). Problem persisted after a dconf reset. Problem also oberserved on a fresh 20.04 with old profile. Problem also observed on fresh install in virtualbox with a fresh user profile. All were minimal installs if that matters which I highly doubt. Reproducible by running

'gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false'

and restarting gnome. Toggling it back to 'true' and restarting gnome clears the issue for me.

Running X11.

Revision history for this message
ooops (ooops) wrote :

I can confirm that after a

'gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false'

the icons appear immediately after login. Thanx Nicolas!

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
Mordi (mrdc76) wrote :

I also confirm that roting 'gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false' from false to true and back fixes this issue.

Revision history for this message
Joerg Baeuerle (schorsch81) wrote :

I also have the problem, that icons in the dock have a delay of 25 seconds between program start and dock update.

This is a fresh install of 20.04 LTS on a clean laptop with a wiped hard disk.

schorsch@jbook:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal

schorsch@jbook:~$ uname -a
Linux jbook 5.4.0-29-generic #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

The only thing I did after the new installation was installing the dash-to-panel Gnome extension. Once, I deactivated that extension and the Ubuntu Dock showed again, I noticed the delay. However, I cannot say for sure if the delay has been there from the beginning.

I completely removed the dash-to-panel extension using apt, but the Ubuntu Dock delay is still there.

Also, the 'gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false' thing did NOT work in my case. The dock still has the delay.

summary: - [wayland] dock has very long load time
+ [wayland] dock has very long load time when show-mounts is enabled
tags: added: performance
Revision history for this message
Jan Morten Rausch (scytale89) wrote : Re: [wayland] dock has very long load time when show-mounts is enabled

I can confirm this bug an completely vanilla 20.04 and 20.10 installs on two completely different machines.

Long startup for icons to appear at boot, non favourite apps will appear with delay and moving apps will also have a big delay to appear in the new order.

Revision history for this message
Nicolas Damgaard Larsen (ndl101) wrote :

To be fair, this should probably be prioritized higher.
a) the specific configuration is more common than you might think
b) there is a fundamental problem with this extension representing itself as a whole slew of different issues.

Revision history for this message
Chen Xin (varatoo) wrote :

I confirm this issue, too. I have a disk mounted automatically via /etc/fstab when booting, and the disk icon shows up on dock by default. After this, the dock loads very slowly. After I remove the entry from /etc/fstab, the issue is gone.

Changed in dash-to-dock:
status: Unknown → New
Changed in gnome-shell-extension-dashtodock (Ubuntu):
status: New → Confirmed
Revision history for this message
Tero Gusto (tero-gusto) wrote :

Using Ubuntu 20.04, I have a disk mounted automatically via /etc/fstab when booting. I tried with show-mounts enabled and disabled, and both are delayed.

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

OK, thanks. I have reopened your bug 1900907.

Revision history for this message
Tero Gusto (tero-gusto) wrote :

Thanks, I will add some more info in bug #1900907.

summary: - [wayland] dock has very long load time when show-mounts is enabled
+ Dock has very long load time when show-mounts is enabled
Revision history for this message
Petr Schuchmann (bigless) wrote :

Worth to say that in my case, even 'gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false' doesn't fix it. Also clicking on dotted button "Show aplications" doesn't do anything until I click on Activities in top bar once. Ubuntu 20.04 LTS (no custom extensions, kernel 5.11)

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

Petr, in that case this is the wrong bug for you and you should open a new bug.

Revision history for this message
exo (exoryzen) wrote :

Bonjour,
Si ca peux aider, sous Wayland je l'ai résolut avec:
# sudo apt remove --purge hydrapaper

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.7 KiB)

This bug was fixed in the package gnome-shell-extension-ubuntu-dock - 72~ubuntu1

---------------
gnome-shell-extension-ubuntu-dock (72~ubuntu1) jammy; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * Revert "extension: Disable starting in the overview"
  * locations: Do not manually dispose objects (LP: #1949352, LP: #1951599)
  * po/es.po: Remove duplicated entry for Quit translation
  * docking: Delay dash animation callback at actual completion
  * utils: Fix variable in error template string
  * appIcons: In case we have no window to activate, let's just present it
  * docking: Do not try to re-add a Meta.Later if one is already queued
  * docking: Optionally disable animation to overview on startup
  * dash: Track hover on separator item so that it can contribute to scrolling
  * dash: Remove the scroll view visibility idle if triggering actor is
    destroyed
  * docking: Handle monitoring of discrete GPU not to leak signals
  * appIcons: Random cleanups to use more relevant variable names
  * appIcons: Compare workspaces instead of their indexes
  * appIcons: Ensure we only consider as urgent the ones respecting our rules
  * appIcons: Use new-window action only when requested, avoiding duplication
  * appIcons: Fixed logic on handling preview click actions (LP: #1947445)
  * stylesheet: Use some better naming for start marging value
  * stylesheet: Use scss generation for overview-icon background
  * stylesheet: Set the dash-separator color in both horizontal and vertical
    mode
  * windowPreview: Try generating previews clones on meta later only if have
    valid size (LP: 1949572)
  * utils: Remove handlers in reversed order
  * Dash: Update appIcon geometry on parent geometry changes
  * docking: Reduce the space used by the window picker / app grid
  * cleanup: Use cached settings values instead of doing C calls
  * locations: Use shell domain to translate reused strings
  * locations: Use native GIcon as location Apps-icons (LP: #1874578)
  * locations: Use native Gio.FileMonitor rate limit instead of a custom idle
  * locations: Fix typo on FileManager app (un)wrapping functions
  * locations: Fix handling of location apps on isolated workspaces mode
  * locations: Also destroy all removable devices on Removables manager
    destruction
  * locations: Only emit changed signal if a monitored device has been removed
  * locations: Only update Trash icon on changes
  * locations: Remove unmounted locations by value
  * locations: Use native AppInfo's and Shell mount operations
  * metadata: Add support for gnome-shell 42
  * fileManager1API: Cleanup the code to get windows from location path
  * fileManager1API: Keep windows paths cached so we can monitor changes
  * utils: Add support for (un)blocking signals handlers
  * locations: Smart managing wrapped windows backed applications signal
    connections
  * locations: Use proxy properties to expose private items to public object
  * locations: Chain up to parent destroy() function if any
  * locations: Manage sources as part of DtdData
  * locations: Manage windows changes in base class
  * cleanup: Move shellAppCompare under Utils as it's a generic tool
  * locations: Keep...

Read more...

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: Confirmed → Fix Released
Changed in gnome-shell-extension-dashtodock (Ubuntu Impish):
status: New → Confirmed
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Impish):
importance: Undecided → Low
no longer affects: gnome-shell-extension-dashtodock (Ubuntu Impish)
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Impish):
status: New → In Progress
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Xanthopoulos, or anyone else affected,

Accepted gnome-shell-extension-ubuntu-dock into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/70~ubuntu3.21.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-impish to verification-done-impish. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-impish. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Impish):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-impish
Revision history for this message
Sebastien Bacher (seb128) wrote :

Using 70~ubuntu3.21.10.1 there is no visble delay and the icons are still right

tags: added: verification-done verification-done-impish
removed: verification-needed verification-needed-impish
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for gnome-shell-extension-ubuntu-dock has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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

This bug was fixed in the package gnome-shell-extension-ubuntu-dock - 70~ubuntu3.21.10.1

---------------
gnome-shell-extension-ubuntu-dock (70~ubuntu3.21.10.1) impish; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * locations: Do not manually dispose objects (LP: #1949352, #1951599)
  * windowPreview: Try generating previews clones on meta later only if have valid size
    (LP: #1949572)
  * locations: Use native GIcon as location Apps-icons (LP: #1874578)
  * debian: Update branch info for impish

  [ nename0 ]
  * Cleanup nautilus listeners (LP: #1949352)

  [ Pepijn Bogaard ]
  * appIcons: Fixed logic on handling preview click actions (LP: #1947445)

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 25 Jan 2022 01:08:43 +0100

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Impish):
status: Fix Committed → 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.