Giter VIP home page Giter VIP logo

keyman's People

Contributors

dependabot[bot] avatar dpoetzsch avatar rpkamp avatar vistaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

keyman's Issues

Repeat of issue 4

I have to say what a lovely idea for an extension, well done. I'm currently probably doing what inspired this extension; thank you.

Same issue as #4 I think:

Has your new version made it to the general extensions.gnome.org repo yet? It's been a week since you closed it, so I would think so.

This morning's journalctl output:

May 20 10:10:39  gnome-shell[2060]: JS WARNING: [/home/alex/.local/share/gnome-shell/extensions/[email protected]/keyman.js 115]: reference to undefined property "MESSAGE_TRAY"
May 20 10:10:39 zurich gnome-shell[2060]: Extension "[email protected]" had error: TypeError: this._createLayout is not a function
May 20 10:51:03 zurich gnome-shell[2060]: Extension "[email protected]" had error: TypeError: keyman is undefined
May 20 10:51:03 zurich gnome-shell[2060]: Extension "[email protected]" had error: TypeError: this._createLayout is not a function
<snip>

The last error is reported repeatedly for only the single second in which it occurs 10:51:03. It is not in my error log after that, although the machine has been on all day.

Specs:
Standard Fedora 30 stable.
Gnome Version 3.32.2
Intel Haswell Desktop 64bit Intel processor; loads of RAM.

Password not copied to clipboard after locking the screen

This happens for me now too on Gnome 3.32 (Fedora 30) after I've locked my screen and unlock it again. For some reason it doesn't put passwords in the clipboard anymore after that.

When I lock the keyring and then unlock it again it works again.

But then when I lock the screen again, again it doesn't work anymore.

I see this error in journalctl -xe:

JS ERROR: Exception in callback for signal: activate: Gio.IOErrorEnum: GDBus.Error:org.freedesktop.S>
_proxyInvoker@resource:///org/gnome/gjs/modules/overrides/Gio.js:138:41
_makeProxyMethod/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:164:16
KeyringConnection.prototype._getSecret@/home/rpkamp/.local/share/gnome-shell/extensions/keyman@dpoetz>
KeyringConnection.prototype.getSecretFromPath/<@/home/rpkamp/.local/share/gnome-shell/extensions/keym>
KeyringConnection.prototype.unlockObject@/home/rpkamp/.local/share/gnome-shell/extensions/keyman@dpoe>
KeyringConnection.prototype.getSecretFromPath@/home/rpkamp/.local/share/gnome-shell/extensions/keyman>
_copySecret@/home/rpkamp/.local/share/gnome-shell/extensions/[email protected]/keyman.js:15>
_createSecretMenuItem/<@/home/rpkamp/.local/share/gnome-shell/extensions/[email protected]/>
_emit@resource:///org/gnome/gjs/modules/signals.js:142:27
activate@resource:///org/gnome/shell/ui/popupMenu.js:167:9
_onButtonReleaseEvent@resource:///org/gnome/shell/ui/popupMenu.js:118:9

Originally posted by @rpkamp in #2 (comment)

Error Gnome 41

hi!
keyman fails to load on gnome 41 with a TypeError:

JS ERROR: Extension [email protected]: TypeError: 
can't redefine non-configurable property "define"
.../.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js:8:8
.../.local/share/gnome-shell/extensions/[email protected]/data.js:9:17
.../.local/share/gnome-shell/extensions/[email protected]/keyman.js:22:14
.../.local/share/gnome-shell/extensions/[email protected]/extension.js:12:16
_callExtensionInit@resource:///org/gnome/shell/ui/extensionSystem.js:421:13
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:346:27
_onInstallButtonPressed@resource:///org/gnome/shell/ui/extensionDownloader.js:272:35
Async*addButton/<@resource:///org/gnome/shell/ui/dialog.js:136:41

Password is not copied to clipboard after keyring was deleted

This seems to be the error:

JS ERROR: Exception in callback for signal: activate: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.Secret.Item' on object at path /org/freedesktop/secrets/collection/important_5fpasswords_20_28sunlight_27s_20conflicted_20copy_202017_2d11_2d28_29/2
_proxyInvoker@resource:///org/gnome/gjs/modules/overrides/Gio.js:94:16
_makeProxyMethod/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:124:16
KeyringConnection.prototype._getSecret@/home/dph/.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js:253:30
KeyringConnection.prototype.getSecretFromPath/<@/home/dph/.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js:283:17
KeyringConnection.prototype.unlockObject@/home/dph/.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js:308:17
KeyringConnection.prototype.getSecretFromPath@/home/dph/.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js:282:13
KeyMan<._copySecret@/home/dph/.local/share/gnome-shell/extensions/[email protected]/keyman.js:164:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
KeyMan<._createSecretMenuItem/<@/home/dph/.local/share/gnome-shell/extensions/[email protected]/keyman.js:170:13
_emit@resource:///org/gnome/gjs/modules/signals.js:126:27
PopupBaseMenuItem<.activate@resource:///org/gnome/shell/ui/popupMenu.js:166:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
PopupBaseMenuItem<._onButtonReleaseEvent@resource:///org/gnome/shell/ui/popupMenu.js:127:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22

Works on Gnome 42

I've cloned your extension, updated the shell-version in metadata.json to 42, and deployed It locally.
Look like it works like a charm.

Thanks for this excellent extension!

Not working under gnome 3.30 (Fedora 29)

This is the error I see in journalctl when I try to install the extension:

Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]: Archive:  /tmp/I9JIRZ.shell-extension.zip
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/settings.js
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:    creating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/schemas/
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/clipboard.js
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/keyman.pot
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:    creating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/locale/en/
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/locale/de/LC_MESSAGES/keyman.mo
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/data.js
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/schemas/org.gnome.shell.extensions.keyman.gschema.xml
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:    creating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/locale/en/LC_MESSAGES/
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/LICENSE
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/utils.js
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/locale/de/LC_MESSAGES/keyman.po
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/extension.js
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/prefs.js
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/README.md
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/locale/en/LC_MESSAGES/keyman.po
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/keyman.js
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/locale/en/LC_MESSAGES/keyman.mo
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:   inflating: /home/remon/.local/share/gnome-shell/extensions/[email protected]/stylesheet.css
Nov 01 20:31:50 localhost.localdomain org.gnome.Shell.desktop[1730]:  extracting: /home/remon/.local/share/gnome-shell/extensions/[email protected]/metadata.json
Nov 01 20:31:50 localhost.localdomain gnome-shell[1730]: JS WARNING: [/home/remon/.local/share/gnome-shell/extensions/[email protected]/data.js 64]: yield is a reserved identifier
Nov 01 20:31:50 localhost.localdomain gnome-shell[1730]: Extension "[email protected]" had error: SyntaxError: yield expression is only valid in generators
Nov 01 20:31:50 localhost.localdomain gnome-software[2217]: State change on user/*/*/shell-extension/keyman_dpoetzsch.github.com/* from available to installed is not OK
Nov 01 20:31:50 localhost.localdomain gnome-software[2217]: keyman_dpoetzsch.github.com has error: SyntaxError: yield expression is only valid in generators

Stopped working on Ubuntu 19.10/GNOME 3.34

Here is some info from the log which might help..

Nov 1 15:19:48 vera gnome-shell[1945]: Some code accessed the property 'KeyMan' on the module 'keyman'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

Nov 1 15:19:48 vera gnome-shell[1945]: Some code accessed the property 'History' on the module 'data'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

Nov 1 15:19:48 vera gnome-shell[1945]: Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to explicitly call ByteArray.toString(array).#012(Note that array.toString() may have been called implicitly.)#0120 _load() ["/home/brett/.local/share/gnome-shell/extensions/[email protected]/data.js":24]#0121 History() ["/home/brett/.local/share/gnome-shell/extensions/[email protected]/data.js":41]#0122 KeyMan() ["/home/brett/.local/share/gnome-shell/extensions/[email protected]/keyman.js":95]#0123 enable() ["/home/brett/.local/share/gnome-shell/extensions/[email protected]/extension.js":28]#0124 _callExtensionEnable() ["resource:///org/gnome/shell/ui/extensionSystem.js":132]#0125 loadExtension() ["resource:///org/gnome/shell/ui/extensionSystem.js":264]#0126 callback() ["resource:///org/gnome/shell/ui/extensionDownloader.js":244]#0127 gotExtensionZipFile/<() ["resource:///org/gnome/shell/ui/extensionDownloader.js":108]

Nov 1 15:19:48 vera gnome-shell[1945]: Usage of object.actor is deprecated for PanelMenuButton#012get@resource:///org/gnome/shell/ui/environment.js:242:29#012KeyMan@/home/brett/.local/share/gnome-shell/extensions/[email protected]/keyman.js:106:9#012enable@/home/brett/.local/share/gnome-shell/extensions/[email protected]/extension.js:28:14#012_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:132:13#012loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:264:21#012callback@resource:///org/gnome/shell/ui/extensionDownloader.js:244:17#012gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:108:13

Nov 1 15:19:48 vera gnome-shell[1945]: JS ERROR: Extension [email protected]: TypeError: this._addIcon is not a function#012CollectionItem@/home/brett/.local/share/gnome-shell/extensions/[email protected]/keyman.js:55:9#012_populateCollectionsMenu@/home/brett/.local/share/gnome-shell/extensions/[email protected]/keyman.js:191:21#012_createLayout@/home/brett/.local/share/gnome-shell/extensions/[email protected]/keyman.js:200:9#012KeyMan@/home/brett/.local/share/gnome-shell/extensions/[email protected]/keyman.js:131:9#012enable@/home/brett/.local/share/gnome-shell/extensions/[email protected]/extension.js:28:14#012_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:132:13#012loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:264:21#012callback@resource:///org/gnome/shell/ui/extensionDownloader.js:244:17#012gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:108:13

Gnome Shell 44

Looks like adding 44 to the array of supported versions allows to run the extension with 44.1 but a deprecation warning is logge

Some code called array.toString() on a Uint8Array instance. 
Previously this would have interpreted the bytes of the array as a 
string, but that is nonstandard. In the future this will return the
bytes as comma-separated digits. For the time being, the old behavior 
has been preserved, but please fix your code anyway to use TextDecoder.

  (Note that array.toString() may have been called implicitly.)
  0 KeyringConnection</KeyringConnection.prototype._getSecret() ["/home/user/.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js":254:36]
  1 KeyringConnection</KeyringConnection.prototype.getSecretFromPath/<() ["/home/user/.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js":277:22]
  2 KeyringConnection</KeyringConnection.prototype.unlockObject/<() ["/home/user/.local/share/gnome-shell/extensions/[email protected]/keyringDbus.js":297:32]
  3 _callHandlers() ["resource:///org/gnome/gjs/modules/core/_signals.js":130:41]
  4 _emit() ["resource:///org/gnome/gjs/modules/core/_signals.js":119:9]
  5 _convertToNativeSignal() ["resource:///org/gnome/gjs/modules/core/overrides/Gio.js":152:18]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.