Repository navigation
Keep Linux text commands visible when tesseract is missing - #370
Merged
Merged
Conversation
… 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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). Earlier253fbddpassed 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.