babar icon indicating copy to clipboard operation
babar copied to clipboard

The icons disappear when some software is running

Open WXZhao7 opened this issue 3 years ago • 3 comments

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: barbar

And my env: image

WXZhao7 avatar Sep 11 '22 12:09 WXZhao7

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()

WXZhao7 avatar Oct 11 '22 12:10 WXZhao7

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.🤐

WXZhao7 avatar Oct 11 '22 13:10 WXZhao7

related applications

  • Onlyoffice Desktop
  • MatLab

WXZhao7 avatar Oct 11 '22 13:10 WXZhao7