Repository navigation
Merge desktop UI updates and CUDA model compatibility - #30
Merged
Merged
Conversation
Surface every option that previously required editing config.yaml: max parallel pages, PDF render DPI, default font size, font probe samples and the five model paths. Values are clamped on load, the CharSpot path now invalidates the model pipeline, and the page offers a model check plus restore-defaults. English and Japanese catalogs are updated.
The translate page now sends every result from the last finished batch into the typesetting list, reusing the editor's batch import and persisting the list across restarts. The preferences foldout animates its height instead of fading a fixed-size scroll area; at normal heights the log panel stays in place so the layout no longer jumps. Editor-owned timers and event filters are torn down on close, which also removes the deleted-widget event storm seen in batch test runs.
The repair toolbar now offers one-click white and black fills for simple backgrounds. They paint the cleaned base image, share the existing undo history and save path with LaMa repairs, and refuse selections that overlap a restored bubble.
feat(ui): add a detailed settings page for runtime and model tuning
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.
Expose CUDA acceleration on the translation page and save changes for the next batch. Detailed settings now preserve automatic detector selection, report unreadable model paths, and keep the browse controls reachable at narrow widths.
The model changes from #29 are included by ancestry. Auto detection uses the legacy Comic Text Detector when CUDA initializes and prefers the lightweight dual-graph detector on CPU. White-balloon repair preserves isolated artwork, and the model archive includes both detectors. The UI changes also fix the editor timer callback that failed a test on the model-only merge candidate.
Add one-click retouch for the last batch and skip unreadable results while importing the rest. The editor gains undoable white and black region fill, and the translation preferences panel expands without shifting the log abruptly. Refresh the theme and first-launch smoke checks for the current widgets.
All 440 unit tests passed for the combined changes. Light and dark Qt captures passed at 1440, 1024, and 820 px. The Windows program and model archives were extracted into a fresh directory and verified with both CPU and CUDA.
Detailed settings in the dark theme