Closed smedir closed 3 months ago
@3v1n0 Can you review this, please? I think it's a good idea to merge it.
Please also see previous MR #2132
Sounds like this should close https://github.com/micheleg/dash-to-dock/issues/1444
@vanvugt I don't have permissions to merge here. Can you do it, please?
I was waiting for us to complete #2146 first, just in case this caused unnecessary conflicts.
Dockmanager can be null, and this spams the log if desktopIconsIntegration class is initialized and used.
Dec 11: JS ERROR: TypeError: DockManager.getDefault() is null get extension@file:///home//.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmai> _sendMarginsToExtension@file:///home//.local/share/gnome-shell/extensions/dash-to-dock@m> _sendMarginsToAll/@file:///home/*/.local/share/gnome-shell/extensions/dash-to-dock@micxg _sendMarginsToAll@file:///home//.local/share/gnome-shell/extensions/dash-to-dock@micxgx.> _changedMargins/this._timedMarginsID<@file:///home//.local/share/gnome-shell/extensions/> @resource:///org/gnome/shell/ui/init.js:21:20
desktopIconsIntegration class is initialized and called from the extension and really should not have any other dependencies other than the shell, it is meant to be used and can be used as is by any extension if called as is independently without modifications.