zhanghai / gnome-shell-extension-transparent-top-bar

GNOME Shell extension that brings back the transparent top bar when free-floating in GNOME Shell 3.32

Home Page:https://extensions.gnome.org/extension/1708/transparent-top-bar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: Support for GNOME 3.38

orazioedoardo opened this issue · comments

Installing the extensions from the website gives an error, however, after changing src/metadata.json to include 3.38 and installing manually, it can be turned on. However, it will always stay transparent, even when a window is maximized.

Can you provide a stacktrace for the error? It should be available in gnome-logs, or lg. I haven't updated to 3.38 yet.

Sorry for the delay, here it is:

ott 12 12:45:34 Desktop gnome-shell[22595]: JS ERROR: Extension transparent-top-bar@zhanghai.me: Error: No signal 'allocation-changed' on object 'MetaWindowActorWayland'
                                            _onWindowActorAdded@/home/admin/.local/share/gnome-shell/extensions/transparent-top-bar@zhanghai.me/extension.js:59:29
                                            enable@/home/admin/.local/share/gnome-shell/extensions/transparent-top-bar@zhanghai.me/extension.js:27:18
                                            _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:167:32
                                            _onEnabledExtensionsChanged/<@resource:///org/gnome/shell/ui/extensionSystem.js:491:35
                                            _onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:491:14
                                            createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:533:46
                                            enableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:194:29
                                            EnableExtension@resource:///org/gnome/shell/ui/shellDBus.js:307:38
                                            _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:327:38
                                            _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:404:34

This is what gets logged when i enable the extension from GNOME extensions. I said in the previous comment that the extension worked, however now I reinstalled it and it simply errors out with an exclamation mark when i try to enable it.

Updated my Shell to 3.38 as well and fixed the error. The new version is under review at https://extensions.gnome.org/review/19910 .