Review of "Text Snip" version 0.1.0 (1)

Details Page Preview

Copy text from anywhere on screen. Adds a "Recognize Text" toggle to GNOME's screenshot UI: with it on, the selected area, screen or window is turned into text instead of an image, shown in a dialog and copied to the clipboard. Super+Shift+T opens the screenshot UI with the toggle already on. Recognition runs locally with Tesseract, which must be installed: Fedora: sudo dnf install tesseract tesseract-langpack-eng Debian/Ubuntu: sudo apt install tesseract-ocr Install more language packs to switch languages in the result dialog.

Extension Homepage
https://github.com/devl34n/textsnip

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 1 manual_review 1

Shexli found 2 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

  • resultDialog.js:137
    St.Clipboard.get_default()

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:95
            this._toggle.connect('notify::checked', () => {
                if (this._toggle.checked && ui._castButton?.checked)
                    ui._shotButton.checked = true;
            })

All Versions

Version Status
0.1.0 (1) Unreviewed