openbar icon indicating copy to clipboard operation
openbar copied to clipboard

Error with gnome 49 on Fedora 43 (can't access property "get_child_at_index",dndBtn is null)

Open VK2BEA opened this issue 3 months ago • 7 comments

*** edit: oops - I now see that you are not yet supporting gnome 49.

This is the error in the systemd journal:

Sep 19 09:00:48 clovelly gnome-shell[15542]: JS ERROR: TypeError: can't access property "get_child_at_index", dndBtn is null applyMenuStyles@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:388:46 updatePanelStyle@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:668:18 enable/<@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:1413:18 createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:776:46 reloadStyle@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/stylesheets.js:3875:24 async*enable@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:1523:21 _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:266:38

I tried reinstalling openbar and I reset the settings with no effect.

openbar version 43 GNOME Shell 49.0 Fedora 43 (beta)

$ SHELL_DEBUG=all journalctl /usr/bin/{gjs,gnome-shell} -fo cat Wallpaper Slideshow: Error monitoring directroy - Gio.IOErrorEnum: Operation not supported Extension openbar@neuromorph: TypeError: can't access property "get_child_at_index", dndBtn is null

Stack trace: applyMenuStyles@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:388:46 enable@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:1530:14 _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 _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:786:20 async*init@resource:///org/gnome/shell/ui/extensionSystem.js:76:14 _initializeUI@resource:///org/gnome/shell/ui/main.js:336:22 start@resource:///org/gnome/shell/ui/main.js:184:11 @resource:///org/gnome/shell/ui/init.js:12:47 @resource:///org/gnome/shell/ui/init.js:21:20

Failed to reload stylesheet: TypeError: can't access property "get_path", obar.obarRunDir is undefined writeStylesheet@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/stylesheets.js:3815:21 reloadStyle@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/stylesheets.js:3866:28 updatePanelStyle@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:591:25 enable/<@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:1413:18 createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:776:46 triggerStyleReload@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/autothemes.js:1122:24 onModeChange@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/autothemes.js:1075:23 onModeChange@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:1012:20 enable@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:1478:22 _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 _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:786:20 async*init@resource:///org/gnome/shell/ui/extensionSystem.js:76:14 _initializeUI@resource:///org/gnome/shell/ui/main.js:336:22 start@resource:///org/gnome/shell/ui/main.js:184:11 @resource:///org/gnome/shell/ui/init.js:12:47 @resource:///org/gnome/shell/ui/init.js:21:20

JS ERROR: TypeError: can't access property "get_child_at_index", dndBtn is null applyMenuStyles@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:388:46 updatePanelStyle@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:668:18 enable/<@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:1413:18 createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:776:46 reloadStyle@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/stylesheets.js:3877:24 asyncupdatePanelStyle@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:591:25 JS ERROR: TypeError: can't access property "get_child_at_index", dndBtn is null applyMenuStyles@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:388:46 updatePanelStyle@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:668:18 enable/<@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:1413:18 createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:776:46 reloadStyle@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/stylesheets.js:3875:24 asyncenable@file:///home/michael/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:1523:21 _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:266:38 GNOME Shell started at Fri Sep 19 2025 09:00:45 GMT-0400 (Eastern Daylight Time) Registering session with GDM Shutting down GNOME Shell Failed to store screen time limits data: Error opening file “/run/gdm/home/gdm-greeter/.local/share/gnome-shell/session-active-history.json”: No such file or directory Could not release device '/dev/dri/card1' (226,1): GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: Unknown object '/org/freedesktop/login1/session/c8'.

VK2BEA avatar Sep 19 '25 13:09 VK2BEA

@neuromorph will you update for Gnome 49

nasiralamreeki avatar Sep 22 '25 02:09 nasiralamreeki

Working on arch gnome 49 wayland but slider in extension stays grey even on

Image

Neo-29 avatar Sep 22 '25 20:09 Neo-29

Have the same issue on Arch.

joske avatar Sep 23 '25 08:09 joske

The extension stops working after a while here, no idea why After suspend, reboot ,or random

Neo-29 avatar Sep 23 '25 10:09 Neo-29

Hello All,

Thanks a lot for your interest! I have been a bit tied up at work and so haven't been able to actively update OpenBar. I have a few improvements in the plan and will get to it as time permits.

Now, for Gnome 49, I have added support for it and pushed the code to the "main" branch. It would certianly help if you could try it out from their and let me know if you face any issues. I will also submit it to Gnome extension store today so that the new version will be available there in couple days (after review by Gnome extension reviewers).

Hope the update works out well for Gnome 49!

neuromorph avatar Oct 05 '25 12:10 neuromorph

Hello All,

Thanks a lot for your interest! I have been a bit tied up at work and so haven't been able to actively update OpenBar. I have a few improvements in the plan and will get to it as time permits.

Now, for Gnome 49, I have added support for it and pushed the code to the "main" branch. It would certianly help if you could try it out from their and let me know if you face any issues. I will also submit it to Gnome extension store today so that the new version will be available there in couple days (after review by Gnome extension reviewers).

Hope the update works out well for Gnome 49!

Is there anywhere we can se do you some funds to keep your interest in maintaining the project?

nasiralamreeki avatar Oct 05 '25 15:10 nasiralamreeki

Is there anywhere we can se do you some funds to keep your interest in maintaining the project?

Yes, you can support here - https://buymeacoffee.com/neuromorph Thanks much for the consideration!

neuromorph avatar Oct 05 '25 17:10 neuromorph