Giter VIP home page Giter VIP logo

Comments (11)

Austaras avatar Austaras commented on July 17, 2024 2

@elvetemedve I agree that overall gnome shell extension development experience is awful but this extension just need a quick fix. You only need to change BaseMenuItem and all its subclass from es6 class to GoObject class and it'll work fine

from gnome-shell-extension-system-monitor.

dac73 avatar dac73 commented on July 17, 2024 1

If it helps:

Oct 03 11:01:47 traken gnome-shell[1858]: Usage of object.actor is deprecated for Menu
                                          get@resource:///org/gnome/shell/ui/environment.js:235:29
                                          _init@/var/home/dario/.local/share/gnome-shell/extensions/[email protected]/view.js:28:9
                                          enable@/var/home/dario/.local/share/gnome-shell/extensions/[email protected]/extension.js:51:16
                                          _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:130:13
                                          loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:263:21
                                          callback@resource:///org/gnome/shell/ui/extensionDownloader.js:231:17
                                          gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:99:13
Oct 03 11:01:47 traken gnome-shell[1858]: Extension "[email protected]" had error: TypeError: this.setIcon is not a function

from gnome-shell-extension-system-monitor.

elvetemedve avatar elvetemedve commented on July 17, 2024 1

I have prepared a new release for fixing this issue. It's under code review now.

from gnome-shell-extension-system-monitor.

elvetemedve avatar elvetemedve commented on July 17, 2024 1

The release went live.

from gnome-shell-extension-system-monitor.

rawlink avatar rawlink commented on July 17, 2024 1

I used the Alt + F2 and r command @elvetemedve suggested and that fixed for me. Thanks so much! I love this extension.

from gnome-shell-extension-system-monitor.

elvetemedve avatar elvetemedve commented on July 17, 2024

Hi @feimosi,

Thanks for the feedback. I'm also grad that you found this extension useful.

I plan to review the changes soon and make it compatible with the latest release.
Unfortunately GNOME development is terrible from an outsider point of view like myself. There is no easy way to test the extension in advance before a new release. I spent few hours to build Gnome from sources, but I gave up in the end. Another way would be running the next Gnome beta in a virtual machine. In additon to that they don't provide an API for Shell extensions, which means you can do anything you want in Javascript. Last time they had upgraded the Javascript/ECMA script version which led to broken code again.
So I decided to maintain the code, but stop adding new features or improvements. Rumors goes around Gnome 4 will get a significantly different software architecture compared to 3, meaning all extensions have to be re-created from scratch.

from gnome-shell-extension-system-monitor.

elvetemedve avatar elvetemedve commented on July 17, 2024

I don't have much free time nowadays, but will try to find a space for fixing that.

from gnome-shell-extension-system-monitor.

alexykot avatar alexykot commented on July 17, 2024

Just tried installing the new version, and it still fails for me. Arch Linux, Gnome 3.34.1. I'm not sure how to debug Gnome extensions, but LookingGlass to this SO shows following error:

TypeError: this.setIcon is not a function.

from gnome-shell-extension-system-monitor.

elvetemedve avatar elvetemedve commented on July 17, 2024

Hi @alexykot,
That's one of the error that this new release should fix. Probably the extension is not reloaded properly. Under Xorg session you can reload the Shell by Pressing Alt + F2 and enter the r (restart) command and run it. That will restart Gnome Shell and reload the extension. Under Wayland session you have to log out and log in again to restart it.

from gnome-shell-extension-system-monitor.

alexykot avatar alexykot commented on July 17, 2024

Worked for me after session restart.
Also, did the UI design change between this and earlier version? I no longer have the mini-charts in the status bar at the top (or was it another extension?).

from gnome-shell-extension-system-monitor.

elvetemedve avatar elvetemedve commented on July 17, 2024

@alexykot This extension never did that.

from gnome-shell-extension-system-monitor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.