openbar icon indicating copy to clipboard operation
openbar copied to clipboard

[BUG]: ReferenceError: clearBtn is not defined and fullscreen change is delayed

Open besodaniele opened this issue 2 months ago • 2 comments

Describe the bug After updating to gnome 49 the change of the topbar at maximize is delayed or does not work, an error is given in tweaks manager and the extensions doesn't seem to startup correctly, even though I can change settings

Relevant Specs:

  • Open Bar version: 44
  • Gnome version: 49
  • OS/Distribution: EndeavourOs Linux 6.16.10-arch1-1

Error Stack Trace JS ERROR: ReferenceError: clearBtn is not defined applyMenuStyles@file:///home/daniele/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:396:45 updatePanelStyle@file:///home/daniele/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:673:18 enable/<@file:///home/daniele/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:1418:18 createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:776:46 reloadStyle@file:///home/daniele/.local/share/gnome-shell/extensions/openbar@neuromorph/stylesheets.js:3877:24 asyncenable@file:///home/daniele/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:1528:21 _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:266:38 JS ERROR: ReferenceError: clearBtn is not defined applyMenuStyles@file:///home/daniele/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:396:45 updatePanelStyle@file:///home/daniele/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:673:18 connect/<.id<@file:///home/daniele/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:55:73 _addToPanelBox@resource:///org/gnome/shell/ui/panel.js:716:13 addToStatusArea@resource:///org/gnome/shell/ui/panel.js:741:14 Systray@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/menu.js:52:20 ColorTray@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:461:9 #genSystray@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:590:16 $buildSources/tray<@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:566:55 Source/<@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/fubar.js:136:50 get/get/<@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/util.js:25:136 get/get/<@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/util.js:27:119 Source@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/fubar.js:136:72 new@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/fubar.js:132:16 $buildSources@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:566:29 get/get/<@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/util.js:25:136 ColorPicker@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:547:43 enable@file:///home/daniele/.local/share/gnome-shell/extensions/color-picker@tuberry/fubar.js:77:21 _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:266:38 loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:433:32 async_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:745:24 async*_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:751:48 Gio.DesktopAppInfo has been moved to a separate platform-specific library. Please update your code to use GioUnix.DesktopAppInfo instead. 0 get() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":524:46] 1 reload/this.apps<() ["file:///home/daniele/.local/share/gnome-shell/extensions/[email protected]/extension.js":38:57] 2 filter() ["self-hosted":195:21] 3 reload() ["file:///home/daniele/.local/share/gnome-shell/extensions/[email protected]/extension.js":38:5] 4 enable() ["file:///home/daniele/.local/share/gnome-shell/extensions/[email protected]/extension.js":19:8] 5 _callExtensionEnable() ["resource:///org/gnome/shell/ui/extensionSystem.js":266:38] 6 loadExtension() ["resource:///org/gnome/shell/ui/extensionSystem.js":433:32] 7 AsyncFunctionNext() ["self-hosted":800:27] 8 anonymous() ["resource:///org/gnome/shell/ui/init.js":21:20]

Ignoring length property that isn't a number at line 294, col 39 GNOME Shell started at Mon Oct 06 2025 14:09:40 GMT+0200 (Ora legale dell’Europa centrale) Registering session with GDM Shutting down GNOME Shell Connection to xwayland lost Using public X11 display :1024, (using :1025 for managed services) Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found.

besodaniele avatar Oct 06 '25 12:10 besodaniele

Refer to #148 it's been fixed :)

astr64 avatar Oct 06 '25 15:10 astr64

This is now fixed in the latest update.

Thanks for notifying!

neuromorph avatar Oct 06 '25 18:10 neuromorph