fthx / babar

Task bar. GNOME Shell extension
GNU General Public License v3.0
41 stars 14 forks source link

The icons disappear when some software is running #54

Open WXZhao7 opened 2 years ago

WXZhao7 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

related applications