phocean / TopIcons-plus

An gnome-shell extension to put the icons back to the tray.
678 stars 98 forks source link

TopIcons Plus incompatible with GNOME 40 #155

Open audreytoskin opened 3 years ago

audreytoskin commented 3 years ago

If you open GNOME Extensions, TopIcons Plus can't be activated on GNOME 40. A message declares it incompatible. Merely adding "40" or "40.beta" to the shell versions list in metadata.json doesn't help.

audreytoskin commented 3 years ago

(I know phocean isn't actively maintaining this extension anymore, but in case someone in the community notices and can fix the problem...)

On GNOME 40, in GNOME Extensions, the toggle to enable TopIcons Plus is grayed out. When you click the gear icon, it shows a dialog that says "Something's gone wrong", and the "Technical details" section expands to show this backtrace:

TypeError: widget.show_all is not a function

Stack trace:
  buildPrefsWidget@/usr/share/gnome-shell/extensions/TopIcons@phocean.net/prefs.js:184:13
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:209:40
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19: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
kofemann commented 3 years ago

https://github.com/phocean/TopIcons-plus/pull/156