qwreey / quick-settings-tweaks

Let's tweak gnome 43's quick settings! You can add Media Controls, Notifications, Volume Mixer on quick settings and remove useless buttons!
https://extensions.gnome.org/extension/5446/quick-settings-tweaker/
GNU General Public License v3.0
345 stars 18 forks source link

is developing extensions for g46/45 worthy? #136

Open qwreey opened 5 months ago

qwreey commented 5 months ago

The latest version of Gnome is horribly unstable, even I can't develop with it. It crashes even if no extension is enabled.

It is hard to develop gnome extension with gnome 46/45. Every time I reload gnome-shell, it just crashes. unlike g44, it requires 'logout and login' which is horribly slower than just reloading gnome-shell.

It makes extension development very slow, even, I can't follow gnome-shell updates. We can use 'nested gnome-shell', yes, I can. but that one is limited. I can't test every feature with it

Recently, I think, the gnome team tried to kill extension developers. They made a bunches of breaking changes They can retain options to use 'imports' global variable rather than force to use ESM.

Gnome developers must care about the 'extension environment' because almost everyone uses. In other words, Gnome is alive with an extension ecosystem.

I don't know what's happening there because I have a busy life. I don't have a bunch of time.

qwreey commented 5 months ago

20240331_171103.jpg

I see thus screen hourly

qwreey commented 5 months ago

20240331_190428.jpg

wow.

qwreey commented 5 months ago

20240331_191315.jpg

One more time.

I will move to awesome-wm. at this moment. i will wash my hands on this project.

I will be back if Gnome is working fine

qwreey commented 5 months ago

As im in college, I have to time to continue. I need a de system that is stable enough.. Gnome is not.

qwreey commented 5 months ago

Sorry for everyone.

Ienien77 commented 5 months ago

I've also noticed those instabilities but only with version 46 which was updated recently on my machine. It was working great on 45. No idea what cause extentions to not work anymore on gnome 46. I wish i was able to understand coding stuff...

c4em commented 5 months ago

I'm sorry to hear that. Thank you for making this extension and continuing to work on it up until now, I appreciate your work and wishing you the best. Hopefully the gnome developers will work on resolving the issue that made you abandon gnome and allowing you to come back in the future.

ZimbiX commented 5 months ago

@qwreey Thanks for the brilliant extension :heart: I totally get your utter frustration here! I'd not found a good solution myself, for working on another extension, and similarly gave up.

It's remarkable how long reloading Gnome Shell has been broken for. And how hostile Gnome seems to be for extension development and backward compatibility. Everything being a private API reminds me of monkeypatching in Ruby - easily broken when what's being patched changes in an update.

If it helps, I found this Ubuntu Gnome Shell bug report. That links to a mutter PR which apparently fixes the issue, and there's comments saying it could be released in Gnome Shell 46.1. I haven't tried, but you could try running the patch? Or apparently it doesn't crash if there are no windows open. Or try Fedora in a VM? :shrug:

qwreey commented 5 months ago

If, looking-glass allows import syntax, have better UX (like gtk4/libadwaita inspect) and the gnome has better development experience. (such as fast reload, which allows continuous developing, clear error output, and logging/debugging system)

I will spend my time for gnome, even if i have a busy life. (I have many prototypes, but, discontinued for the same reason)

Development experience is very important. Not only does it affect extension developers, But also it affects themselves.

Gnome developers should understand how 'continuous development experience' is important.

How do you think if 'hot reload' features are gone from web-builders? Maybe you will have a horribly slower development speed.

I love gnome-shell. I wrote almost 12k lines of code for gnome. (including my private extensions)

But, at this time. it's a time blackhole. Another de/wm? awesome: Just one keyboard shortcut for reloading config(code) files.

I wasn't disappointed with instability. Always, has been. And instability is common on open-source softwares.

The main reason is how stupid it is inefficient. Not only focus on many features and it is modern (the result is), They should focus 'How to develop effectively'

I'm tired of the very low-level development environment (even though it uses JavaScript).

qwreey commented 5 months ago

VM is a good option for creating an effective development environment, but that's very heavy..

Currently, I try to use the 'container'

container has better GPU support for many situations, lightweight, and Hot-reloadable.

Also, has no side effects on the host, and we can just mount working-dir to inside (which allows automated building)

ZimbiX commented 5 months ago

A container's a good idea. What's your setup? I came across this great set of blog posts covering containerised automated testing for Gnome extensions a while ago, but haven't given it a go yet. I think that'd need VNC or something added to be able to do development with