babar
babar copied to clipboard
The icons disappear when some software is running
I meet the same trouble like #49 when MatLab is running on Ubuntu20 with gnome-shell3.36.9. Here is the error:
JS ERROR: Error: Too few arguments to method St.TextureCache.bind_cairo_surface_property: expected 3, got 2
_create_window_icon@/home/wxz/.local/share/gnome-shell/extensions/babar@fthx/extension.js:383:32
_create_window_button@/home/wxz/.local/share/gnome-shell/extensions/babar@fthx/extension.js:336:29
_update_ws@/home/wxz/.local/share/gnome-shell/extensions/babar@fthx/extension.js:319:17
Here I record it:

And my env:

I find some related commits in gnome-shell repo, may be helpful with it. Fix st texture cache crash st/texture-cache: Return a GIcon from bind_cairo_surface_property()
I tried to fix it, even I don't know anything about GJS and JS. Finally, just delete the line babar@fthx/extension.js:383 to set the icon to default.🤐
related applications
- Onlyoffice Desktop
- MatLab