Closed ViniciusQuatrin closed 10 months ago
Yes, it does look like extension interference. Standard Gnome would have the menu in btn.child but an extension could change the layout of widgets. Please list the extensions you have enabled. It would be very helpful if you try disabling all other extensions and restart Gnome (logout/login) and install/enable Open Bar. If it works then it confirms that some extension is interfering. Next, you can enable other extensions one by one to see what causes it to fail. Once an interfering extension is identified, I can look into it to figure out how to to make it compatible.
So far, it should now work with Blur my shell, Just perfection (bottom pos needs some work), Expandable notifications and Quick Settings Audio Panel.
Thanks for reporting the issue, let's figure out and fix it.
I am having the same issue on Fedora 38 with Gnome 44.7.
Tried disabling all extensions but still get the error when installing.
Can you please run the following command in a terminal and then install the extension? The journal will show more detailed error message, please paste that here. Thanks.
journalctl /usr/bin/{gjs,gnome-shell} -fo cat
I found out that when the Arc Menu extension is disabled, it works properly. It's great if both extensions are compatible, so it works with the Arc Menu. However, when I disable it, open the 'Open Bar' extension, and enable it again, there is an issue, and it doesn't work on startup that way
I dont use Arc Menu so unfortunately that doesn't help me.
Here's the output from journalctl
yle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:100:24
updatePanelStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:347:14
updatePanelStyle/this.updateTimeoutId<@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:280:22
setTimeout/source<@resource:///org/gnome/gjs/modules/esm/_timers.js:72:9
JS ERROR: TypeError: btn.child is undefined
resetStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:100:24
updatePanelStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:347:14
updatePanelStyle/this.updateTimeoutId<@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:280:22
setTimeout/source<@resource:///org/gnome/gjs/modules/esm/_timers.js:72:9
JS ERROR: TypeError: btn.child is undefined
resetStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:100:24
updatePanelStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:347:14
updatePanelStyle/this.updateTimeoutId<@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:280:22
setTimeout/source<@resource:///org/gnome/gjs/modules/esm/_timers.js:72:9
JS ERROR: TypeError: btn.child is undefined
resetStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:100:24
updatePanelStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:347:14
updatePanelStyle/this.updateTimeoutId<@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:280:22
setTimeout/source<@resource:///org/gnome/gjs/modules/esm/_timers.js:72:9
JS ERROR: TypeError: btn.child is undefined
resetStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:100:24
updatePanelStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:347:14
updatePanelStyle/this.updateTimeoutId<@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:280:22
setTimeout/source<@resource:///org/gnome/gjs/modules/esm/_timers.js:72:9
JS ERROR: TypeError: btn.child is undefined
resetStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:100:24
updatePanelStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:347:14
updatePanelStyle/this.updateTimeoutId<@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:280:22
setTimeout/source<@resource:///org/gnome/gjs/modules/esm/_timers.js:72:9
JS ERROR: TypeError: btn.child is undefined
resetStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:100:24
updatePanelStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:347:14
updatePanelStyle/this.updateTimeoutId<@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:280:22
setTimeout/source<@resource:///org/gnome/gjs/modules/esm/_timers.js:72:9
JS ERROR: TypeError: btn.child is undefined
resetStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:100:24
updatePanelStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:347:14
updatePanelStyle/this.updateTimeoutId<@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:280:22
setTimeout/source<@resource:///org/gnome/gjs/modules/esm/_timers.js:72:9
JS ERROR: TypeError: btn.child is undefined
resetStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:100:24
updatePanelStyle@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:347:14
updatePanelStyle/this.updateTimeoutId<@/home/raish/.local/share/gnome-shell/extensions/openbar@neuromorph/extension.js:280:22
setTimeout/source<@resource:///org/gnome/gjs/modules/esm/_timers.js:72:9
JS LOG: Characters Application exiting
Can't update stage views actor
@ViniciusQuatrin Thank you for the update. I checked and yes, there is issue with Arc Menu. I can do quick patch to avoid the error so that both extension can be enabled without error. However, the menu styles will not be applied to the Arc Menu menu by this since they are using custom layout for widgets within Arc Menu that is not captured by Open Bar. To make it fully compatible, Open Bar needs to scan through their layout and apply styles to all widgets. Turns out they have a ton of different layouts :eyes: and large codebase so it will take a while to scour through it. I might try to see if they can help with it. I will update here about the quick patch so you can start using both in the meanwhile.
@ZeroSiks Your issue is something else. Thanks for the log. I will try to replicate with Gnome 44 /Fedora 38 and get back.
OK, I have the quick patches up for both these issues. Please run indicated command below in a terminal to download and apply the patch. Both commands contain the same patches for both issues but one is for Gnome <45 and other for 45 due to different code bases. Apply the correct patch and restart Gnome. Note: as mentioned earlier, Arc Menu's menu will not get the Open Bar styles (yet).
@ViniciusQuatrin Run below Gnome 45 specific command:
cd ~/.local/share/gnome-shell/extensions/openbar@neuromorph/; curl -LJO https://raw.githubusercontent.com/neuromorph/openbar/main/extension_v7patch.js; cat extension_v7patch.js > extension.js; rm extension_v7patch.js; cd
@ZeroSiks Run below Gnome <45 command:
cd ~/.local/share/gnome-shell/extensions/openbar@neuromorph/; curl -LJO https://raw.githubusercontent.com/neuromorph/openbar/g42-44/extension_v6patch.js; cat extension_v6patch.js > extension.js; rm extension_v6patch.js; cd
Let me know how it goes.
That's works perfectly! Thank you! Appreciate it
ViniciusQuatrin, I have updated the patch for ArcMenu to apply the background styles to ArcMenu menu. For foreground, hover, active colors, they need to be set from the ArcMenu settings (as it tends to override). You can repeat the same command to get updated patch. This should now make the ArcMenu menu to be similarly styled as rest of the panel menus.
ZeroSiks, I was not able to reproduce your issue on Gnome 44/Fedora 38 in a VM but the earlier patch should fix it anyway. I will wait to hear from you.
The patch worked perfectly. Installed and up and running with the extension. Thank you.
On a side note, I'm noticing some jank on the background colour alpha. Sometimes the bar is transparent but when I go to gnome overview and back its a solid fill and I can no longer see my wallpaper through the bar. Most definitely not related to this issue but thought it was worth mentioning.
Great news about the patch!
Yes, is not related and so I logged a new issue to track it. Can you please provide details there so we can fix it? E.g. is the 'Apply on overview' setting On? Bar type? Can you show pic or screencast to get better idea? Thank you for reporting!
The patches have been included in updates, versions v8 and v9 (Gnome 45).
I am on Arch Linux using Gnome 45.2, and when I try to use the extension, I receive the following error:
I have other extensions that customize the top bar. They may affect it, but I don't think so