jdoda / hotedge

A GNOME Shell extension that replaces the top-left hot corner with a bottom hot edge.
GNU General Public License v2.0
60 stars 5 forks source link

Layout.PressureBarrier is not a constructor #27

Closed jdamboeck closed 1 year ago

jdamboeck commented 1 year ago

I get the following error:

journalctl -g hotedge /usr/bin/gnome-shell:

JS ERROR: TypeError: Layout.PressureBarrier is not a constructor
 _init@file:///home/jd/.local/share/gnome-shell/extensions/hotedge@jonathan.jdoda.ca/extension.js:130:33
 HotEdge@file:///home/jd/.local/share/gnome-shell/extensions/hotedge@jonathan.jdoda.ca/extension.js:113:1
 _updateHotEdges@file:///home/jd/.local/share/gnome-shell/extensions/hotedge@jonathan.jdoda.ca/extension.js:100:28
 _updateHotCorners@resource:///org/gnome/shell/ui/layout.js:486:14
 enable@file:///home/jd/.local/share/gnome-shell/extensions/hotedge@jonathan.jdoda.ca/extension.js:49:28
 _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:250:38
 async*_onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:599:24
 _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:674:18
 createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:730:46
 enableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:274:29
 _onInstallButtonPressed@resource:///org/gnome/shell/ui/extensionDownloader.js:301:40
 async*addButton/<@resource:///org/gnome/shell/ui/dialog.js:134:41
 @resource:///org/gnome/shell/ui/init.js:21:20

Arch Linux with gnome 45 from fcgu repo and hotedge installed from gnome extension website.

jdoda commented 1 year ago

The version of GNOME Shell in the Arch repo is probably missing this commit https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/b5960af2fc9a6f329f23c8bc3626d52182f9a455 , since it went in after the last beta was tagged. Unfortunately, that commit is required for Hot Edge to work, so until Arch pulls in a new version of GNOME Shell 45, there's not much to be done. At latest, it will work when Arch pulls in the release version of GNOME Shell 45.