Closed loxK closed 3 years ago
Hi @loxK, thanks for the report. Have you tried with the master branch? Also is this on wayland, xorg or both?
I didn't try master and it is on xorg
More information. It works on boot but then crashes when waking up the screen. Restarting Gnome Shell doesn't help, uninstalling, reinstalling doesn't either.
This is maybe related ? https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/228
Try replacing in handlers.js
file in registerHandler
function:
// Replace this line
const key = `${object}[${name}]`
// With these
const uid = Math.random().toString(36).substr(2, 9)
const key = `${uid}-${name}`
Please report back if the issue is fixed.
Made the change, rebooted, locked the screen and the extension is still active on login in. It seems fixed. Thks!
Damn it crashed again and I don't find any occurrence of 'unite' in the shell logs ..., But I was able to uninstall/reinstall and activate it again this time.
I have applied the fix but it still crashes sometimes:
JS ERROR: Extension unite@hardpixel.eu: Error: Argument 'instance' (type interface) may not be null
disconnect@/home/lox/.local/share/gnome-shell/extensions/unite@hardpixel.eu/handlers.js:77:7
disconnectAll@/home/lox/.local/share/gnome-shell/extensions/unite@hardpixel.eu/handlers.js:89:7
destroy@/home/lox/.local/share/gnome-shell/extensions/unite@hardpixel.eu/window.js:451:7
destroy@/home/lox/.local/share/gnome-shell/extensions/unite@hardpixel.eu/extension.js:31:7
disable@/home/lox/.local/share/gnome-shell/extensions/unite@hardpixel.eu/extension.js:44:3
gnome-software[12733]: unite_hardpixel.eu has error: Error: Argument 'instance' (type interface) may not be null
It happens when the screen goes black, not on session lock/unlock
This may be related, or not ... You tell me https://bugzilla.gnome.org/show_bug.cgi?id=781760
Closing as I can't reproduce this issue. If it is still present please open a new issue with fresh logs.
I get this error: