Review of "Glean" version 1.4 (1)

Details Page Preview

Glean aims to make clipboard history feel like a natural part of GNOME, following its design patterns and integrating directly into Quick Settings. • Clipboard history for copied text, selections, images and files. • Quick notes, editable entries, pinning and search. • Easy insertion from the menu or a user-defined shortcut. • Persistent history with configurable size and expiry. • Privacy controls for sensitive content, saving history and screen sharing. • Optional integration with Drop to Shell. **Glean offers an insert popup**, but according to the rules of extensions.gnome.org a shortcut interacting with clipboard can't be enabled by default. To use eg. Super+V for the insert popup, assign it in Glean’s settings and change GNOME’s existing Super+V shortcut for the notification list.

Extension Homepage
https://gitlab.com/gunwald/glean

No comments.

FAQ

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

Shexli (experimental) warning 2 manual_review 1

Shexli found 3 issues that may need reviewer attention.

EGO-A-005 manual_review

extensions should not access the clipboard directly

Direct clipboard access via `St.Clipboard.get_default()` requires reviewer scrutiny.

Review Guidelines

  • extension.js:616
    St.Clipboard.get_default()
  • extension.js:836
    St.Clipboard.get_default()
  • extension.js:855
    St.Clipboard.get_default()

EGO-A-004 warning

extension files should not contain excessive ungated console logging

File contains 6 ungated console.log/warn/error calls (threshold: 5).

No excessive logging

  • storage.js:59
    console.warn(`Glean: cannot delete its saved state: ${error.message}`)
  • storage.js:71
    console.warn('Glean: its saved state is not valid JSON')
  • storage.js:76
    console.warn(`Glean: cannot read its saved state: ${error.message}`)
  • storage.js:93
    console.warn(`Glean: cannot save its state: ${error.message}`)
  • storage.js:116
    console.warn(`Glean: cannot save its state: ${error.message}`)
  • storage.js:141
    console.warn(`Glean: cannot save its state: ${error.message}`)

EGO-L-003 warning

signals connected by extension should be disconnected in disable()

Signals assigned in `enable()` are missing matching disconnect calls in `disable()` or its helper methods.

Disconnect all signals

  • extension.js:761
            dialog.connect('destroy', () => {
                if (this._dialog === dialog)
                    this._dialog = null;
            })
  • extension.js:957
            dialog.connect('destroy', () => {
                if (this._noteDialog === dialog)
                    this._noteDialog = null;
            })
  • menu.js:879
    icon.connect('destroy', () => this._stop())

All Versions

Version Status
1.4 (1) Unreviewed