Comments (11)
@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.
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.
I have prepared a new release for fixing this issue. It's under code review now.
from gnome-shell-extension-system-monitor.
The release went live.
from gnome-shell-extension-system-monitor.
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.
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.
I don't have much free time nowadays, but will try to find a space for fixing that.
from gnome-shell-extension-system-monitor.
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.
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.
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.
@alexykot This extension never did that.
from gnome-shell-extension-system-monitor.
Related Issues (20)
- Can't remove HOT 1
- Too many Icons
- Relase 18: TypeError: GObject.registerClass() used with invalid base class (is PopupBaseMenuItem) HOT 7
- Gnome 3.36 support HOT 4
- JS ERROR: Extension [email protected]: TypeError: Array.slice is not a function
- interferes with display driver HOT 1
- statvfs journal spam HOT 1
- Gnome 3.40 support HOT 3
- Put a color to the whole icon, not part of it HOT 3
- Do not match GNOME System Monitor HOT 2
- [BUG]: Endless adding icons HOT 2
- GNOME 41 support HOT 2
- GNOME 42 support HOT 3
- gpu statistics
- Gnome Shell Crash HOT 5
- Gnome Shell 43 support HOT 3
- Met errors when installing on Ubuntu 22.04.1 LTS HOT 1
- regular hard lockups in display HOT 6
- GNOME 45 support HOT 3
- The popover stretches limitless outside the screen HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnome-shell-extension-system-monitor.