FelipeFTN / Emoji-Copy

😄 Emoji copy is a versatile extension designed to simplify emoji selection and clipboard management.
https://extensions.gnome.org/extension/6242/emoji-copy/
GNU General Public License v3.0
103 stars 12 forks source link

Update to new Gnome version #69

Open Piotr1215 opened 1 week ago

Piotr1215 commented 1 week ago

Bug Report

Current Behavior Extension is not compatible with the newest version of gnome on Pop!_OS 22.04 gnome-shell: 42.9-0ubuntu2.1pop0

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

Stack trace:
  _init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:23:33
  ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:129:33
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  start@resource:///org/gnome/gjs/modules/script/package.js:190:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Expected behavior/code Expected behavior is that the extension works.

Environment

Possible Solution

Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.

FelipeFTN commented 1 week ago

Hello Buddy! Thanks for reporting this issue! :100:

Unfortunately, we cannot upgrade older versions of the extension because they run in older versions of Gnome Shell. So, in order to solve this bug, I highly recommend you to upgrade your Gnome Shell to a newer version! :pray:

Here are some tips:

  1. Check for a System

    • Open "Settings" > "About".
    • Click on "Check for Updates."
    • If a new version is available, you should see an upgrade prompt. Follow the instructions to upgrade to the latest version of Pop!_OS.
  2. Update and Upgrade the System

    • Just run: sudo apt update && sudo apt full-upgrade

There are some ways to upgrade Gnome Shell without upgrading your system, like Building from Source or by adding a PPA: dev repository and installing gnome-shell through apt! :rocket:

I hope this works to you! Let me know if you need some help!

Piotr1215 commented 6 days ago

Thank you for a quick response and the pointers. Unfortunately, Pop!_OS 22.04 comes with pre-built gnome version 42.9 and from what I understand cannot be upgraded independently (due to COSMIC desktop being built on top of that).

I'm not really sure what has changed in the recent system update that affected the emoji extension? Maybe it's not the version but something else?

Thanks anyway, I'll keep digging.

FelipeFTN commented 2 days ago

Hmmmm no idea, have you tried reinstalling the extension from here?

Perhaps deleting it manually by running: rm -rf ~/.local/share/gnome-shell/extensions/emoji-copy@felipeftn/ and then reinstalling it, solves the problem?

Tell me if you get any good results! :crossed_fingers:

Piotr1215 commented 1 day ago

Yes, I have tried reinstalling it and also installing earlier version for Gnome 42.

The extension simply stays off and there are no errors in journalctl | grep emoji-copy

There must have a change in the recent pop release that disabled it.

I've also tried other extensions, and they don't work either.