GPaste icon indicating copy to clipboard operation
GPaste copied to clipboard

[Maybe harmless] TypeError when running gnome-shell in a nested wayland

Open judu opened this issue 2 years ago • 0 comments

To try and fix another extension, I run the following:

dbus-run-session -- gnome-shell --nested --wayland

I fixed some errors from the other extension, but when I test it, I get this stack:

(gnome-shell:187047): Gjs-WARNING **: 15:52:19.411: JS ERROR: Exception in callback for signal: open-state-changed: TypeError: this._client is undefined                                                                                                                                    
_refresh@/usr/share/gnome-shell/extensions/[email protected]/indicator.js:263:13                                        
_updatePage@/usr/share/gnome-shell/extensions/[email protected]/indicator.js:194:14                                     
_onOpenStateChanged@/usr/share/gnome-shell/extensions/[email protected]/indicator.js:345:18
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:114:47                                                                                                                                                                                                                             
open@resource:///org/gnome/shell/ui/popupMenu.js:936:14                                                                                       
_changeMenu@resource:///org/gnome/shell/ui/popupMenu.js:1374:17                                                                               
_onMenuSourceEnter@resource:///org/gnome/shell/ui/popupMenu.js:1386:14                                                                        
addMenu/menudata.enterId<@resource:///org/gnome/shell/ui/popupMenu.js:1313:28

The other extension performs this:

Clipboard.set_text(
  CLIPBOARD_TYPE,  
  emojiToCopy      
);                 

It may just be the fact that I run different dbus-session while testing the other extension.

judu avatar Oct 19 '21 14:10 judu