gufoe / text-translator

extension for gnome-shell
https://extensions.gnome.org/extension/593/text-translator/
58 stars 28 forks source link

Prefrences button dosn't work! on ubuntu 20.04 & gnome 3.36 #47

Open AminAzGol opened 4 years ago

AminAzGol commented 4 years ago

by right-clicking the icon clicking on preferences nothing opens. I checked the jorurnalctl with the followiing command: journalctl /usr/bin/gnome-shell -f -o cat And after clicking preferences it logs frequently the error below:

JS ERROR: TypeError: app is null
launch_extension_prefs@/home/amin/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/extension.js:42:16
_add_menu_items/<@/home/amin/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/extension.js:121:17
activate@resource:///org/gnome/shell/ui/popupMenu.js:191:14
vfunc_button_release_event@resource:///org/gnome/shell/ui/popupMenu.js:138:14

I'm using My os info:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_DESCRIPTION="Ubuntu Focal Fossa (development branch)"

GNOME version: 3.36.0 text-translator version: latest on https://extensions.gnome.org/ (I believe it is 3.34)

IgorOhrimenko commented 4 years ago

Ubuntu 20.04 LTS GNOME Shell 3.36.2

`Usage of object.actor is deprecated for AnimatedIcon get@resource:///org/gnome/shell/ui/environment.js:287:29 show_message@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/status_bar.js:120:13 add_message@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/status_bar.js:162:14 _get_statusbar_height@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/translator_dialog.js:444:42 _resize@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/translator_dialog.js:478:22 open@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/translator_dialog.js:548:14 open@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/extension.js:985:22 _add_keybindings/<@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/extension.js:922:22

Usage of object.actor is deprecated for Button get@resource:///org/gnome/shell/ui/environment.js:287:29 set_focus@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/extension.js:146:17 open@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/extension.js:996:32 _add_keybindings/<@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/extension.js:922:22

Usage of object.actor is deprecated for AnimatedIcon get@resource:///org/gnome/shell/ui/environment.js:287:29 show_message@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/status_bar.js:120:13 add_message@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/status_bar.js:162:14 _on_enter_event@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/buttons_bar.js:83:64 ButtonsBarButton/<@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/buttons_bar.js:73:56

Usage of object.actor is deprecated for Button get@resource:///org/gnome/shell/ui/environment.js:287:29 set_focus@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/extension.js:148:17 close@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/extension.js:1002:32 _get_prefs_button/button<@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/extension.js:780:22 ButtonsBarButton/<@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/buttons_bar.js:38:38

JS ERROR: TypeError: app is null launch_extension_prefs@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/extension.js:42:16 _get_prefs_button/button<@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/extension.js:781:17 ButtonsBarButton/<@/home/radogor/.local/share/gnome-shell/extensions/text_translator@awamper.gmail.com/buttons_bar.js:38:38 `

But setting is work on the web page: https://extensions.gnome.org/extension/593/text-translator/