Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[back-to-monitor@nathan818fr] Bug with Cinnamon 6.4 #814

Open
sphh opened this issue Jan 19, 2025 · 1 comment
Open

[back-to-monitor@nathan818fr] Bug with Cinnamon 6.4 #814

sphh opened this issue Jan 19, 2025 · 1 comment
Labels

Comments

@sphh
Copy link
Contributor

sphh commented Jan 19, 2025

Extension version/Build date

Updated on 2024-12-22 03:36:58

Cinnamon version

6.4.6

Distribution

Mint 22.1

Graphics hardware and driver used

No response

Extension name and maintainer

back-to-monitor@nathan818fr @nathan818fr

What happened?

After update to Xia, I get these error messages in the looking glass:

error t=2025-01-19T13:14:21Z [Gio.IOErrorEnum: Timeout was reached]: Failed to evaluate 'enable' function on extension: back-to-monitor@nathan818fr

[…]

error t=2025-01-19T13:14:21Z 
[back-to-monitor@nathan818fr]: Extension back-to-monitor@nathan818fr: Could not create extension object.
[back-to-monitor@nathan818fr]: Error importing extension.js from back-to-monitor@nathan818fr

and in .xsession-error:

Gjs-Message: 13:13:31.564: JS LOG: [back-to-monitor@nathan818fr] Using WindowSaver for Cinnamon 5.4+

(cinnamon:1778): GLib-GObject-CRITICAL **: 13:13:31.576: cannot register existing type 'MetaDBusDisplayConfig'

(cinnamon:1778): GLib-GObject-CRITICAL **: 13:13:31.576: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(cinnamon:1778): GLib-CRITICAL **: 13:13:31.576: g_once_init_leave_pointer: assertion 'result != 0' failed

(cinnamon:1778): GLib-GObject-CRITICAL **: 13:13:31.576: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(cinnamon:1778): GLib-GObject-CRITICAL **: 13:13:31.576: g_object_class_override_property: Can't find property to override for 'MetaDBusDisplayConfigProxy::power-save-mode'

[…]

Gjs-Message: 13:14:21.619: JS LOG: [back-to-monitor@nathan818fr] Disabled
Gjs-Message: 13:14:21.619: JS LOG: [LookingGlass/error] [Gio.IOErrorEnum: Timeout was reached]: Failed to evaluate 'enable' function on extension: back-to-monitor@nathan818fr
Gjs-Message: 13:14:21.619: JS LOG: [LookingGlass/trace] 
<----------------
logError@/usr/share/cinnamon/js/ui/extension.js:143:17
finishExtensionLoad@/usr/share/cinnamon/js/ui/extensionSystem.js:78:19
_init/<@/usr/share/cinnamon/js/ui/extension.js:286:32
---------------->
Gjs-Message: 13:14:21.644: JS LOG: [LookingGlass/info] Loaded desklet clock@schorschii in 50093 ms
Gjs-Message: 13:14:21.649: JS LOG: [LookingGlass/info] Role locked: notifications
Gjs-Message: 13:14:21.663: JS LOG: [LookingGlass/info] Loaded applet [email protected] in 19 ms
Gjs-Message: 13:14:21.679: JS LOG: [LookingGlass/info] Loaded applet [email protected] in 16 ms
Gjs-Message: 13:14:21.714: JS LOG: [LookingGlass/info] Loaded applet show-hide-applets@mohammad-sn in 35 ms
Gjs-Message: 13:14:21.715: JS LOG: [LookingGlass/error] 
[back-to-monitor@nathan818fr]: Extension back-to-monitor@nathan818fr: Could not create extension object.
[back-to-monitor@nathan818fr]: Error importing extension.js from back-to-monitor@nathan818fr
Gjs-Message: 13:14:21.715: JS LOG: [LookingGlass/trace] 
<----------------
_init/<@/usr/share/cinnamon/js/ui/extension.js:287:23
---------------->
Gjs-Message: 13:14:23.399: JS LOG: Enabling WindowAttentionHandler

(cinnamon:1778): Gjs-WARNING **: 13:14:23.416: Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to use TextDecoder.
(Note that array.toString() may have been called implicitly.)
0 getInfo() ["/usr/share/cinnamon/js/misc/fileUtils.js line 211 > Function":16:20]
1 anonymous() ["/usr/share/cinnamon/js/misc/fileUtils.js line 211 > Function":28:23]
2 createExports() ["/usr/share/cinnamon/js/misc/fileUtils.js":219:10]
3 requireModule() ["/usr/share/cinnamon/js/misc/fileUtils.js":281:15]
4 require() ["/usr/share/cinnamon/js/misc/fileUtils.js":222:23]
5 anonymous() ["/usr/share/cinnamon/js/misc/fileUtils.js line 211 > Function":16:24]
6 createExports() ["/usr/share/cinnamon/js/misc/fileUtils.js":219:10]
7 requireModule/</<() ["/usr/share/cinnamon/js/misc/fileUtils.js":291:24]

I hope I got all errors. If you need anything, please reach out to me.

Other information

No response

@sphh sphh added the BUG label Jan 19, 2025
@claudiux claudiux changed the title Extension Bug [back-to-monitor@nathan818fr] Bug with Cinnamon 6.4 Jan 19, 2025
@troglobit
Copy link

I believe this is the same issue as reported upstream nathan818fr/cinnamon-back-to-monitor#3

Apart from this issue, which makes it unusable for modern Cinnamon/Mint installs, it is a great little extension! I've relied on it for a long time when I dock/undock my laptop to move between home -> train -> work. If possible, I'd love to see this functionality natively in Linux Mint!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants