Skip to content

Keep Linux text commands visible when tesseract is missing - #370

Merged
danjboyd merged 1 commit into
mainfrom
tesseract-missing-alert
Nov 9, 2026
Merged

danjboyd merged 1 commit into
mainfrom
tesseract-missing-alert

Conversation

@danjboyd

@danjboyd danjboyd commented Nov 9, 2026

Copy link
Copy Markdown
Owner

On Linux, text commands used to disappear when tesseract was missing. Keep Copy Text and Redact Emails and Phone Numbers visible, and show package-manager installation guidance when invoked without the engine. Look for tesseract again on each attempt so installing it takes effect without restarting ScreenshotTool.

This is a single alert commit rebased onto post-label main befb06decbc2ce43dc629fe6825a60aeb83416f7. The rebase resolves only adjacent test registrations by retaining both the label and missing-tesseract probes. The alert additions/deletions and all six non-makefile topic files are unchanged; the merged label implementation and corrected label tests are preserved.

Validation on exact head 74d2a1f7e03cf63ee4041685131d872ca04115fe: 21 private-display Linux cases passed with zero failures/errors/skips (missing-tesseract 4, context menu 12, label 5). Earlier 253fbdd passed 82 focused and 358 full Linux cases with zero failures/errors and three expected full-suite skips; those unchanged suites were not repeated. Prior native syntax evidence is carried forward; no new native runtime check is claimed on this rebased head.

… how to install it

Copy Text, Select Text and the Redact commands were left out of the menus when tesseract wasn't found
at launch, so nothing told you the app can read text, and installing it took a restart. They're now
always there on Linux and the BSDs. Without tesseract, choosing one shows how to install it and runs
nothing. It's looked for on each use, so it works as soon as it's installed.

macOS and Windows are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GzSMSTMRJauuo55mvixfj9
@danjboyd
danjboyd merged commit 3c6ad9d into main Nov 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant