refactor(extension): complete extension rewrite #68

Merged
kiyui merged 10 commits from bicycle-rewrite into master 7 months ago
kiyui commented 8 months ago (Migrated from github.com)
Owner

I rewrote the entire night light slider, in an attempt to better understand GJS & GNOME's internals 😄

Changes made:

  • Switched from prettier to using GNOME's eslint rules
  • Reworded schema to be easier to understand
  • Added on option to swap the axis of the slider
  • Rewrote the entire extension!
  • Made preference updates reactive so you no longer need to log in & out for changes to take effect
  • Removed a non-working behaviour in the "always enabled" feature
  • Rewrite extension preferences
I rewrote the entire night light slider, in an attempt to better understand GJS & GNOME's internals :smile: **Changes made:** - [x] Switched from `prettier` to using GNOME's `eslint` rules - [x] Reworded schema to be easier to understand - [x] Added on option to swap the axis of the slider - [x] Rewrote the entire extension! - [x] Made preference updates reactive so you no longer need to log in & out for changes to take effect - [x] Removed a non-working behaviour in the "always enabled" feature - [x] Rewrite extension preferences
kiyui commented 8 months ago (Migrated from github.com)
Poster
Owner

Tagging this as help wanted because I'm going to give myself some time to test the extension and see if everything works, and would appreciate others also doing the same.

Tagging this as *help wanted* because I'm going to give myself some time to test the extension and see if everything works, and would appreciate others also doing the same.
kiyui commented 8 months ago (Migrated from github.com)
Poster
Owner

Entering suspend on X11 causes the following errors:

Sep 22 02:31:17 tiamat gnome-shell[2143]: JS ERROR: Error: Argument 'instance' (type interface) may not be null
                                          _init/GObject.Object.prototype.block_signal_handler@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574:24
                                          _changeSlider@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129:22
                                          __sync@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150:22
                                          debouncedFunc@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9:18
Sep 22 02:31:18 tiamat gnome-shell[2143]: Object .Gjs_ui_popupMenu_PopupBaseMenuItem (0x55ef4c229600), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Sep 22 02:31:18 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 ==
Sep 22 02:31:18 tiamat gnome-shell[2143]: #0   55ef530c7160 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:141 (1b4d10eab3d0 @ 150)
Sep 22 02:31:18 tiamat gnome-shell[2143]: #1   7ffd6c54c4a0 b   self-hosted:1007 (223d2c49e790 @ 492)
Sep 22 02:31:18 tiamat gnome-shell[2143]: #2   55ef530c70c8 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39)
Sep 22 02:31:18 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 ==
Sep 22 02:31:18 tiamat gnome-shell[2143]: #0   55ef530c72d0 i   resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574 (1dadea7b6cb8 @ 25)
Sep 22 02:31:18 tiamat gnome-shell[2143]: #1   55ef530c7238 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129 (1b4d10eab2e0 @ 31)
Sep 22 02:31:18 tiamat gnome-shell[2143]: #2   55ef530c7160 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150 (1b4d10eab3d0 @ 319)
Sep 22 02:31:18 tiamat gnome-shell[2143]: Object .Gjs_ui_slider_Slider (0x55ef4c212210), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Sep 22 02:31:18 tiamat gnome-shell[2143]: #3   7ffd6c54c4a0 b   self-hosted:1007 (223d2c49e790 @ 492)
Sep 22 02:31:18 tiamat gnome-shell[2143]: #4   55ef530c70c8 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39)
Sep 22 02:31:18 tiamat gnome-shell[2143]: JS ERROR: Error: Argument 'instance' (type interface) may not be null
                                          _init/GObject.Object.prototype.block_signal_handler@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574:24
                                          _changeSlider@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129:22
                                          __sync@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150:22
                                          debouncedFunc@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9:18
Sep 22 02:31:18 tiamat gnome-shell[2143]: ../mutter/clutter/clutter/clutter-actor.c:10558: The clutter_actor_set_allocation() function can only be called from within the implementation of the ClutterActor::allocate() virtual function.
Sep 22 02:31:19 tiamat gnome-shell[2143]: Object .Gjs_ui_popupMenu_PopupBaseMenuItem (0x55ef4c229600), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Sep 22 02:31:19 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 ==
Sep 22 02:31:19 tiamat gnome-shell[2143]: #0   55ef530c7160 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:141 (1b4d10eab3d0 @ 150)
Sep 22 02:31:19 tiamat gnome-shell[2143]: #1   7ffd6c54c4a0 b   self-hosted:1007 (223d2c49e790 @ 492)
Sep 22 02:31:19 tiamat gnome-shell[2143]: #2   55ef530c70c8 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39)
Sep 22 02:31:19 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 ==
Sep 22 02:31:19 tiamat gnome-shell[2143]: #0   55ef530c72d0 i   resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574 (1dadea7b6cb8 @ 25)
Sep 22 02:31:19 tiamat gnome-shell[2143]: #1   55ef530c7238 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129 (1b4d10eab2e0 @ 31)
Sep 22 02:31:19 tiamat gnome-shell[2143]: #2   55ef530c7160 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150 (1b4d10eab3d0 @ 319)
Sep 22 02:31:19 tiamat gnome-shell[2143]: #3   7ffd6c54c4a0 b   self-hosted:1007 (223d2c49e790 @ 492)
Sep 22 02:31:19 tiamat gnome-shell[2143]: #4   55ef530c70c8 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39)
Sep 22 02:31:19 tiamat gnome-shell[2143]: Object .Gjs_ui_slider_Slider (0x55ef4c212210), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Sep 22 02:31:19 tiamat gnome-shell[2143]: JS ERROR: Error: Argument 'instance' (type interface) may not be null
                                          _init/GObject.Object.prototype.block_signal_handler@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574:24
                                          _changeSlider@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129:22
                                          __sync@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150:22
                                          debouncedFunc@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9:18
Sep 22 02:31:24 tiamat gnome-shell[2143]: Object .Gjs_ui_popupMenu_PopupBaseMenuItem (0x55ef4c229600), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Sep 22 02:31:24 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 ==
Sep 22 02:31:24 tiamat gnome-shell[2143]: #0   55ef530c7230 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:141 (1b4d10eab3d0 @ 150)
Sep 22 02:31:24 tiamat gnome-shell[2143]: #1   55ef530c7160 i   self-hosted:1007 (223d2c49e790 @ 492)
Sep 22 02:31:24 tiamat gnome-shell[2143]: #2   55ef530c70c8 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39)
Sep 22 02:31:24 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 ==
Sep 22 02:31:24 tiamat gnome-shell[2143]: #0   55ef530c73a0 i   resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574 (1dadea7b6cb8 @ 25)
Sep 22 02:31:24 tiamat gnome-shell[2143]: #1   55ef530c7308 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129 (1b4d10eab2e0 @ 31)
Sep 22 02:31:24 tiamat gnome-shell[2143]: #2   55ef530c7230 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150 (1b4d10eab3d0 @ 319)
Sep 22 02:31:24 tiamat gnome-shell[2143]: #3   55ef530c7160 i   self-hosted:1007 (223d2c49e790 @ 492)
Sep 22 02:31:24 tiamat gnome-shell[2143]: #4   55ef530c70c8 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39)
Sep 22 02:31:24 tiamat gnome-shell[2143]: Object .Gjs_ui_slider_Slider (0x55ef4c212210), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Sep 22 02:31:24 tiamat gnome-shell[2143]: JS ERROR: Error: Argument 'instance' (type interface) may not be null
                                          _init/GObject.Object.prototype.block_signal_handler@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574:24
                                          _changeSlider@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129:22
                                          __sync@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150:22
                                          debouncedFunc@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9:18
Sep 22 02:31:25 tiamat gnome-shell[2143]: Object .Gjs_ui_popupMenu_PopupBaseMenuItem (0x55ef4c229600), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Sep 22 02:31:25 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 ==
Sep 22 02:31:25 tiamat gnome-shell[2143]: #0   55ef530c7160 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:141 (1b4d10eab3d0 @ 150)
Sep 22 02:31:25 tiamat gnome-shell[2143]: #1   7ffd6c54c4a0 b   self-hosted:1007 (223d2c49e790 @ 492)
Sep 22 02:31:25 tiamat gnome-shell[2143]: #2   55ef530c70c8 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39)
Sep 22 02:31:25 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 ==
Sep 22 02:31:25 tiamat gnome-shell[2143]: #0   55ef530c72d0 i   resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574 (1dadea7b6cb8 @ 25)
Sep 22 02:31:25 tiamat gnome-shell[2143]: #1   55ef530c7238 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129 (1b4d10eab2e0 @ 31)
Sep 22 02:31:25 tiamat gnome-shell[2143]: #2   55ef530c7160 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150 (1b4d10eab3d0 @ 319)
Sep 22 02:31:25 tiamat gnome-shell[2143]: #3   7ffd6c54c4a0 b   self-hosted:1007 (223d2c49e790 @ 492)
Sep 22 02:31:25 tiamat gnome-shell[2143]: Object .Gjs_ui_slider_Slider (0x55ef4c212210), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Sep 22 02:31:25 tiamat gnome-shell[2143]: #4   55ef530c70c8 i   /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39)
Sep 22 02:31:25 tiamat gnome-shell[2143]: JS ERROR: Error: Argument 'instance' (type interface) may not be null
                                          _init/GObject.Object.prototype.block_signal_handler@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574:24
                                          _changeSlider@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129:22
                                          __sync@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150:22
                                          debouncedFunc@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9:18
Sep 22 02:31:52 tiamat gnome-shell[2143]: ../mutter/clutter/clutter/clutter-actor.c:10558: The clutter_actor_set_allocation() function can only be called from within the implementation of the ClutterActor::allocate() virtual function.
Entering suspend on X11 causes the following errors: ``` Sep 22 02:31:17 tiamat gnome-shell[2143]: JS ERROR: Error: Argument 'instance' (type interface) may not be null _init/GObject.Object.prototype.block_signal_handler@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574:24 _changeSlider@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129:22 __sync@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150:22 debouncedFunc@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9:18 Sep 22 02:31:18 tiamat gnome-shell[2143]: Object .Gjs_ui_popupMenu_PopupBaseMenuItem (0x55ef4c229600), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. Sep 22 02:31:18 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 == Sep 22 02:31:18 tiamat gnome-shell[2143]: #0 55ef530c7160 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:141 (1b4d10eab3d0 @ 150) Sep 22 02:31:18 tiamat gnome-shell[2143]: #1 7ffd6c54c4a0 b self-hosted:1007 (223d2c49e790 @ 492) Sep 22 02:31:18 tiamat gnome-shell[2143]: #2 55ef530c70c8 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39) Sep 22 02:31:18 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 == Sep 22 02:31:18 tiamat gnome-shell[2143]: #0 55ef530c72d0 i resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574 (1dadea7b6cb8 @ 25) Sep 22 02:31:18 tiamat gnome-shell[2143]: #1 55ef530c7238 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129 (1b4d10eab2e0 @ 31) Sep 22 02:31:18 tiamat gnome-shell[2143]: #2 55ef530c7160 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150 (1b4d10eab3d0 @ 319) Sep 22 02:31:18 tiamat gnome-shell[2143]: Object .Gjs_ui_slider_Slider (0x55ef4c212210), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. Sep 22 02:31:18 tiamat gnome-shell[2143]: #3 7ffd6c54c4a0 b self-hosted:1007 (223d2c49e790 @ 492) Sep 22 02:31:18 tiamat gnome-shell[2143]: #4 55ef530c70c8 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39) Sep 22 02:31:18 tiamat gnome-shell[2143]: JS ERROR: Error: Argument 'instance' (type interface) may not be null _init/GObject.Object.prototype.block_signal_handler@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574:24 _changeSlider@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129:22 __sync@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150:22 debouncedFunc@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9:18 Sep 22 02:31:18 tiamat gnome-shell[2143]: ../mutter/clutter/clutter/clutter-actor.c:10558: The clutter_actor_set_allocation() function can only be called from within the implementation of the ClutterActor::allocate() virtual function. Sep 22 02:31:19 tiamat gnome-shell[2143]: Object .Gjs_ui_popupMenu_PopupBaseMenuItem (0x55ef4c229600), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. Sep 22 02:31:19 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 == Sep 22 02:31:19 tiamat gnome-shell[2143]: #0 55ef530c7160 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:141 (1b4d10eab3d0 @ 150) Sep 22 02:31:19 tiamat gnome-shell[2143]: #1 7ffd6c54c4a0 b self-hosted:1007 (223d2c49e790 @ 492) Sep 22 02:31:19 tiamat gnome-shell[2143]: #2 55ef530c70c8 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39) Sep 22 02:31:19 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 == Sep 22 02:31:19 tiamat gnome-shell[2143]: #0 55ef530c72d0 i resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574 (1dadea7b6cb8 @ 25) Sep 22 02:31:19 tiamat gnome-shell[2143]: #1 55ef530c7238 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129 (1b4d10eab2e0 @ 31) Sep 22 02:31:19 tiamat gnome-shell[2143]: #2 55ef530c7160 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150 (1b4d10eab3d0 @ 319) Sep 22 02:31:19 tiamat gnome-shell[2143]: #3 7ffd6c54c4a0 b self-hosted:1007 (223d2c49e790 @ 492) Sep 22 02:31:19 tiamat gnome-shell[2143]: #4 55ef530c70c8 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39) Sep 22 02:31:19 tiamat gnome-shell[2143]: Object .Gjs_ui_slider_Slider (0x55ef4c212210), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. Sep 22 02:31:19 tiamat gnome-shell[2143]: JS ERROR: Error: Argument 'instance' (type interface) may not be null _init/GObject.Object.prototype.block_signal_handler@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574:24 _changeSlider@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129:22 __sync@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150:22 debouncedFunc@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9:18 Sep 22 02:31:24 tiamat gnome-shell[2143]: Object .Gjs_ui_popupMenu_PopupBaseMenuItem (0x55ef4c229600), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. Sep 22 02:31:24 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 == Sep 22 02:31:24 tiamat gnome-shell[2143]: #0 55ef530c7230 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:141 (1b4d10eab3d0 @ 150) Sep 22 02:31:24 tiamat gnome-shell[2143]: #1 55ef530c7160 i self-hosted:1007 (223d2c49e790 @ 492) Sep 22 02:31:24 tiamat gnome-shell[2143]: #2 55ef530c70c8 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39) Sep 22 02:31:24 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 == Sep 22 02:31:24 tiamat gnome-shell[2143]: #0 55ef530c73a0 i resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574 (1dadea7b6cb8 @ 25) Sep 22 02:31:24 tiamat gnome-shell[2143]: #1 55ef530c7308 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129 (1b4d10eab2e0 @ 31) Sep 22 02:31:24 tiamat gnome-shell[2143]: #2 55ef530c7230 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150 (1b4d10eab3d0 @ 319) Sep 22 02:31:24 tiamat gnome-shell[2143]: #3 55ef530c7160 i self-hosted:1007 (223d2c49e790 @ 492) Sep 22 02:31:24 tiamat gnome-shell[2143]: #4 55ef530c70c8 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39) Sep 22 02:31:24 tiamat gnome-shell[2143]: Object .Gjs_ui_slider_Slider (0x55ef4c212210), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. Sep 22 02:31:24 tiamat gnome-shell[2143]: JS ERROR: Error: Argument 'instance' (type interface) may not be null _init/GObject.Object.prototype.block_signal_handler@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574:24 _changeSlider@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129:22 __sync@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150:22 debouncedFunc@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9:18 Sep 22 02:31:25 tiamat gnome-shell[2143]: Object .Gjs_ui_popupMenu_PopupBaseMenuItem (0x55ef4c229600), has been already deallocated — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. Sep 22 02:31:25 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 == Sep 22 02:31:25 tiamat gnome-shell[2143]: #0 55ef530c7160 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:141 (1b4d10eab3d0 @ 150) Sep 22 02:31:25 tiamat gnome-shell[2143]: #1 7ffd6c54c4a0 b self-hosted:1007 (223d2c49e790 @ 492) Sep 22 02:31:25 tiamat gnome-shell[2143]: #2 55ef530c70c8 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39) Sep 22 02:31:25 tiamat gnome-shell[2143]: == Stack trace for context 0x55ef489dd8d0 == Sep 22 02:31:25 tiamat gnome-shell[2143]: #0 55ef530c72d0 i resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574 (1dadea7b6cb8 @ 25) Sep 22 02:31:25 tiamat gnome-shell[2143]: #1 55ef530c7238 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129 (1b4d10eab2e0 @ 31) Sep 22 02:31:25 tiamat gnome-shell[2143]: #2 55ef530c7160 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150 (1b4d10eab3d0 @ 319) Sep 22 02:31:25 tiamat gnome-shell[2143]: #3 7ffd6c54c4a0 b self-hosted:1007 (223d2c49e790 @ 492) Sep 22 02:31:25 tiamat gnome-shell[2143]: Object .Gjs_ui_slider_Slider (0x55ef4c212210), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. Sep 22 02:31:25 tiamat gnome-shell[2143]: #4 55ef530c70c8 i /home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9 (1b4d10eabf10 @ 39) Sep 22 02:31:25 tiamat gnome-shell[2143]: JS ERROR: Error: Argument 'instance' (type interface) may not be null _init/GObject.Object.prototype.block_signal_handler@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574:24 _changeSlider@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:129:22 __sync@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/extension.js:150:22 debouncedFunc@/home/dafne/.local/share/gnome-shell/extensions/night-light-slider.timur@linux.com/convenience.js:9:18 Sep 22 02:31:52 tiamat gnome-shell[2143]: ../mutter/clutter/clutter/clutter-actor.c:10558: The clutter_actor_set_allocation() function can only be called from within the implementation of the ClutterActor::allocate() virtual function. ```
The pull request has been merged as 8e9ac58df7.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.