hardpixel / unite-shell

Unite is an extension that makes GNOME Shell look like Ubuntu Unity Shell.
GNU General Public License v3.0
906 stars 61 forks source link

Button is null #313

Closed 3ibod closed 1 year ago

3ibod commented 1 year ago

Describe the bug Installing manjaro and gnome, the error haunts me even before gnome was shipped with this plugin, probably since version 42

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Extensions'
  2. Click on 'Extensions'
  3. See error

Expected behavior See the plugin in action

Environment (please complete the following information):

Logs


-- Boot 21dc9f44b54e424cbc309631ee6b71d3 --
-- Boot 34f2e4b5b1264caca2702545588f6d88 --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
Nov 24 13:02:25 cumass gnome-shell[1128]: JS ERROR: Extension unite@hardpixel.eu: TypeError: buttons is null
                                          addButtons@/usr/share/gnome-shell/extensions/unite@hardpixel.eu/buttons.>
                                          _onLayoutChange@/usr/share/gnome-shell/extensions/unite@hardpixel.eu/pan>
                                          _onPositionChange@/usr/share/gnome-shell/extensions/unite@hardpixel.eu/p>
                                          activate@/usr/share/gnome-shell/extensions/unite@hardpixel.eu/panel.js:7>
                                          onChange@/usr/share/gnome-shell/extensions/unite@hardpixel.eu/handlers.j>
                                          add/feature._doActivate@/usr/share/gnome-shell/extensions/unite@hardpixe>
                                          activate/<@/usr/share/gnome-shell/extensions/unite@hardpixel.eu/handlers>
                                          activate@/usr/share/gnome-shell/extensions/unite@hardpixel.eu/handlers.j>
                                          activate@/usr/share/gnome-shell/extensions/unite@hardpixel.eu/panel.js:6>
                                          activate@/usr/share/gnome-shell/extensions/unite@hardpixel.eu/extension.>
                                          enable@/usr/share/gnome-shell/extensions/unite@hardpixel.eu/extension.js>
                                          _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:1>
                                          loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:385:26
                                          _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:633:>
                                          collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:28:28
                                          _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:612:19
                                          _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:6>
                                          _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:659:14
                                          init@resource:///org/gnome/shell/ui/extensionSystem.js:57:14
                                          _initializeUI@resource:///org/gnome/shell/ui/main.js:309:22
                                          start@resource:///org/gnome/shell/ui/main.js:186:5
                                          @resource:///org/gnome/shell/ui/init.js:6:17
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --
-- Boot 0d89d6c39f29474a884fb6efe9aee5aa --
-- Boot 6b3b6a675e194f65bd0f0fb932ffb13c --

```.

**Additional context**
Add any other context about the problem here.
larsblumberg commented 1 year ago

Same problem here on Pop_OS 22.10 the moment I enable the Unity extension.

3ibod commented 1 year ago

Still not work

jonian commented 1 year ago

@3ibod the issue is fixed in master branch but is not released on gnome extensions yet.