Comments (4)
If I am missing something obvious which explains this, please let me know. I am going to work on creating a solution to this
from blur-my-shell.
I think the easiest solution to this would be to hold a list of Connections classes in the main extension.js file, then iterate through those when we do an extension disable and call disconnect_all() on all of them. Then in each class we could call disconnect_all() in disable and that would only disconnect the signals from that class.
from blur-my-shell.
Also on that note, we aren't allowed to do anything in init(), including creating objects. See here: https://wiki.gnome.org/Projects/GnomeShell/Extensions/Review. We need to move these settings and connections object creations elsewhere anyways. I will implement these changes
from blur-my-shell.
Sorry for the late responses, I really needed (and still need) to work :p and thanks for working so much on the extension!
You're right, the signal are not disconnected until the extension is disabled... I though that this was probably not too bad, as they were at least cleaned up after disabling the extension, but this is obviously not a clean solution
I guess the simplest thing would be to create a different Connections
class for each element, and then make sure to remove all of them when extension is disabled!
For the init()
part, sorry I though it was ok to create objects if they did not do anything to the shell! Do you think we will need to create them in enable()
then?
from blur-my-shell.
Related Issues (20)
- Panel Blur goes black after entering and exiting activities view
- [Feature Request] Application Blur | Option to ignore full screen windows HOT 5
- When i try to add a application to the whitelist it says "could not pick application make sure the extension is enabled" HOT 1
- Lock screen not working properly
- Wide screen top bar cutting off HOT 1
- not working on muiti-monitor HOT 1
- Window blur issue when system functions or other extentions are focused?
- App blur effect is off when activating the window switcher (alt + tab)
- GNOME Panel breaks (in half) on Login. HOT 5
- Error after installing on fresh install of debian 12 HOT 2
- Not blure panel when application is maximized
- Background Blur showing outside of dash background with buggy artifacts on scrollover
- [Feature Request] dock from dash HOT 2
- Compatibility with Workspace Matrix (thumbnail artifacts)
- Gnome shell crash SIGSEGV - st_theme_node_lookup_shadow HOT 4
- Blur is not workin on applications and i cant choose windows for Black- or Whitelist. HOT 1
- Configure from script/CLI? HOT 2
- Broken application blur on Wayland if fractional scaling is off HOT 7
- Broken compatibility with Burn My Windows on Wayland if fractional scaling is off HOT 3
- Extension gives a blank screen on Gnome 46 beta HOT 21
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 blur-my-shell.