Tweaker of IBus for theme, font, input mode and clipboard history For support, please report any issues via the homepage link below.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
Version | Status |
---|---|
47 | Active |
46 | Active |
45 | Active |
44 | Active |
43 | Active |
42 | Rejected |
41 | Rejected |
40 | Active |
39 | Active |
38 | Active |
37 | Rejected |
36 | Active |
35 | Inactive |
34 | Active |
33 | Inactive |
32 | Inactive |
31 | Inactive |
30 | Inactive |
29 | Inactive |
28 | Active |
27 | Inactive |
26 | Inactive |
25 | Rejected |
24 | Active |
23 | Active |
22 | Inactive |
21 | Inactive |
20 | Rejected |
19 | Rejected |
18 | Rejected |
17 | Inactive |
16 | Rejected |
15 | Inactive |
14 | Inactive |
13 | Inactive |
12 | Inactive |
11 | Inactive |
10 | Inactive |
9 | Inactive |
8 | Rejected |
7 | Rejected |
6 | Inactive |
5 | Inactive |
4 | Inactive |
3 | Inactive |
2 | Inactive |
1 | Inactive |
You should probably avoid use `GObject.run_dispose()` in user code, as this deallocates memory that should be left to the javascript engine to free.
Thanks, but if I don't use `run_dispose()`, the `gsettings.bind` seems not to be automatically removed as it should be (https://gjs-docs.gnome.org/gio20~2.66p/gio.settings#function-unbind). Actually, when I disable an extension and change its setting from `prefs` page, the counterpart setter(bind with GObject property) in `extension.js` will be called once. What's the right way to use `bind` as it looks better than `connect/disconnect` settings?
I would guess that if the bindings are not being removed you are leaking a reference to the target object somewhere although I don't see one at a quick glance. If you can create a minimal reproducer (ie. a standalone script), you might want to open an issue in GJS as this may be a garbage collector bug. I wouldn't reject an extension for using `run_dipose()`, but it is possible to segfault GJS/gnome-shell by using it. So just ensure you're only using it on objects you directly subclass from GObject.
Strange, I cannot reproduce it steadily now (https://github.com/tuberry/ibus-tweaker/files/5696844/TestBind.zip). I will drop all the `run_dispose()`. Thanks!