Schneegans / Burn-My-Windows

🔥 Disintegrate your windows with style.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working on Gome 45

cem-okulmus opened this issue · comments

Describe the Bug

When updating to Ubuntu 23.10, which runs Gnome 45, the extension will not load. Here the technical error reported:

SyntaxError: import declarations may only appear at top level of a module

Stack trace:
@file:///home/okulmus/.local/share/gnome-shell/extensions/burn-my-windows@schneegans.github.com/prefs.js:29:24
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

A bit confused by this as a previous version of this extension stated that it was already compatible with 45. The error above seems consistent with extensions that do not support/have switched to ESM

Steps to reproduce the behavior:
Simply install the extension on Gnome 45.

System

Please complete the following information:

  • Linux distribution: Ubuntu 23.10
  • Burn-My-Windows version 39
  • GNOME Shell version: 45

Hi there! Are you 100% sure that you are running version 39? This should indeed be compatible with GNOME 45. There is also version 40, however, this is again for older GNOME versions.

Have you restarted your session after upgrading the extension?

I had removed the extension after my upgrade to 23.10 and then installed it again via the extensions.gnome.org website.
When I check via Extension Manager, it tells me that it's running version 39:

Screenshot from 2023-11-03 13-59-23

Oh, I had indeed not restarted the session (via logging out and in again). Now it works! Closing this issue then. It is a bit weird since the issue persisted after a restart and was only fixed after downloading it again and then restarting the session again. Perhaps I indeed hat version 40 installed before, but can't check now.