Comments (2)
Dig & Reproduce method
// this bothered me for a while, finally I found it
-
monit syslog by
tail -f /var/log/syslog
-
gnome session lock (
Ctrl+L
) & unlock.
ORCtrl+Alt+F1
& login,
OR hibernate & wakeup.
OR extensions disable & enable.
// trigdisable()
,enable()
, leak callback -
open some window,
OR close some window.
// trig leaked callback ofwindow-added
window-removed
.
then error log occur in syslog
// some one never poweroff system (always hibernate), the syslog size growing fast.
// error effect (callback leak) accumulate at each session unlock.
avoid
restart gnome-shell by Alt+F2
r
Enter
// at each session unlock
source fix
diff --git a/extension.js b/extension.js
index d116a8b..34bfdc1 100644
--- a/extension.js
+++ b/extension.js
@@ -75,10 +75,10 @@ const attachHandlers = () => {
return () => {
workspace.disconnect(windowAdded);
workspace.disconnect(windowRemoved);
- instance.disconnect(nodeClick);
+ instance.node.disconnect(nodeClick);
};
});
- handlers.concat(workspaceHandlers);
+ handlers.push(...workspaceHandlers);
};
const detachHandlers = () => {
// Array.concat() return new array, not modify self.
from simply-workspaces.
Thanks for opening this, and catching that concat bug. I'll give this a try over the next few days
from simply-workspaces.
Related Issues (15)
- Multi-monitor workspace detection HOT 1
- gnome-shell complain last_focus_time (1659504135) is greater than comparison timestamp (401703). HOT 1
- Compatibility with Gnome 43 HOT 1
- All workspace numbers will display when screen sharing on Meet HOT 1
- All workspace numbers displayed after creating window on empty workspace in dual-monitor setup
- [feature request] highlight workspace when a window demands attention HOT 2
- Extension does not work under GNOME 44
- Usage with Dash to Panel
- Gnome 44 compatibility
- Indicator shows all the workspaces, albeit with no windows HOT 3
- All Workspaces Numbers Are Displayed HOT 7
- user friendly way to edit workspace icons HOT 2
- Add support for Gnome 41
- A small mistake in README.md HOT 1
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 simply-workspaces.