Extension fails to load in GNOME 3.32
See original GitHub issueThe usual! 😄, GNOME isn’t exactly friendly with extensions backwards compat, eh 😕.
Here are the errors I see in journalctl
:
gnome-shell[19665]: JS ERROR: TypeError: label is undefined
onAppMenuHover/tooltipDelayCallbackID<@/home/ronj/.local/share/gnome-shell/extensions/pixel-saver@deadalnix.me/app_menu.js:116:8
gnome-shell[19665]: [pixel-saver]: 'appmenu' is not a valid button.
gnome-shell[19665]: JS WARNING: [/home/ronj/.local/share/gnome-shell/extensions/pixel-saver@deadalnix.me/decoration.js 216]: assignment to undeclared variable success
gnome-shell[19665]: JS WARNING: [/home/ronj/.local/share/gnome-shell/extensions/pixel-saver@deadalnix.me/decoration.js 216]: assignment to undeclared variable pid
gnome-shell[19665]: Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to explicitly call ByteArray.toString(array).
(Note that array.toString() may have been called implicitly.)
0 getOriginalState() ["/home/ronj/.local/share/gnome-shell/extensions/pixel-saver@deadalnix.me/decoration.js":154]
1 setHideTitlebar() ["/home/ronj/.local/share/gnome-shell/extensions/pixel-saver@deadalnix.me/decoration.js":203]
2 onWindowAdded/<() ["/home/ronj/.local/share/gnome-shell/extensions/pixel-saver@deadalnix.me/decoration.js":297]
I’m using the latest version available on extensions.gnome.org.
EDIT: new extension https://extensions.gnome.org/extension/1732/gtk-title-bar/ (github) seems to do the job.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:25
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Extension fails to load with GNOME 3.32 · Issue #57 · pulb/mailnag ...
One piece of good news, by the way: your release notes say "Port to ES6 (NOTE: this release won't work in GNOME <...
Read more >Extension preferences window blank on GNOME 3.32 after update ...
Extension preferences window blank on GNOME 3.32 after update for ES6 syntax. ... gnome-shell-extensions.gcampax.github.com will not be loaded Gjs-Message: ...
Read more >Bug #1806537 “Failed to load resource:///org/gnome/shell ...
Using gnome-shell 3.32 (git), scrolling the app grid with ubuntu-dock loaded continuously logs: (gnome-shell:12958): St-WARNING **: 14:47:33.309: Failed to ...
Read more >Developers - Extension fails to load in GNOME 3.32 - - Bountysource
Extension fails to load in GNOME 3.32. ... GNOME isn't exactly friendly with extensions backwards compat, eh . Here are the...
Read more >Gnome extensions not working after upgrade to 19.10
2. Are these extensions 19.10 compatible? · GNOME extensions do not always work in different versions of GNOME; and thus get disabled. ·...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In addition to already-mentioned extension “Unite” (which works but may be too invasive, as it tries to replicate Ubuntu’s Unity feel), I just found extension GTK Title Bar - Remove Title Bar for non-GTK Software / https://extensions.gnome.org/extension/1732/gtk-title-bar/ , which is weirdly named but seems to do the job very well under 3.32 🙂.
I have fixed this issue in my extension (unite) and this is the final solution: https://github.com/hardpixel/unite-shell/blob/master/unite%40hardpixel.eu/modules/windowDecoration.js#L86
More info on possible problems using
_MOTIF_WM_HINTS
: https://gitlab.gnome.org/GNOME/mutter/merge_requests/221#note_461106