media-controls
media-controls copied to clipboard
Remove warnings in the GJS console
https://github.com/cliffniff/media-controls/issues/28#issuecomment-940590085
https://github.com/cliffniff/media-controls/blob/a6187136e104eafd46aedf002e4a455df040cc1c/prefs.js#L183
gjs in 3.36 doesn't know ??
operator, it's too new.
I fixed this in the latest release. Are you sure you are on the latest version?
See for yourself, I linked your own code in the main branch, didn't find anything newer.
Btw the extension itself fills my log with Ignoring length property that isn't a number at line ...
and clutter_actor_remove_child: assertion 'child->priv->parent != NULL' failed
.
But otherwise it works, thanks for your work!
Oh I am sorry, I remember fixing that, but somehow I haven't pushed it I guess. I will add the changes.
So you don't care about the other bugs 😉
Haha, no they are just warnings, nothing harmful. They are printed out when a song or a button updates. I guess I will have to cleanup them I guess.
I was just curious, I would fix it myself, because I hate unnecessary warnings. I'm also developing extensions and therefore I'm watching the log constantly :)
Oh nice. I will fix up the warnings when I have some time. If you could fix it, of course it would be appreciated. Also I will change the title to removing warnings.
I could get rid of the
clutter_actor_remove_child: assertion 'child->priv->parent != NULL' failed.
messages in main and gnome44.
But I have no idea where the
Ignoring length property that isn't a number at line ...
messages are coming from @sakithb0 @G-dH
Any hint what I have to check ?
@ChrisLauinger77 Check stylesheet.css
;)
Ignoring length property that isn't a number at line 22, col 18
Ignoring length property that isn't a number at line 21, col 17
@ChrisLauinger77 Check
stylesheet.css
;)Ignoring length property that isn't a number at line 22, col 18 Ignoring length property that isn't a number at line 21, col 17
Ah that lines are about stylesheet.css - barely use it in my other extensions. Thx for pointing that out.
main and gnome44