Repository navigation
fix(desktop): support AVIF and remove inactive spellcheck - #186
Merged
Merged
Conversation
# Conflicts: # docs/specs/ui.md # internal/desktop/reading/view_test.go
This was referenced Nov 11, 2026
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.
Summary
Decode AVIF in native image tabs, reading views, and live-preview embeds using the pure-Go gav1d decoder, within the existing image size and per-view limits. Remove the ineffective native Spellcheck control and saved preference; ADR-0040 records the decision. The web preference is unchanged.
Closes #150. Closes #151.
Risk tier
Risk tier: 3 — matched L1 paths
internal/desktop/reading/view.goandinternal/desktop/editor/live.go. AVIF uses the same byte, header-pixel, and decoded-view limits as other images. Only the decoder registration and supported extension are added to these paths. The new module is version-pinned and the Flatpak sources regenerated.Docs housekeeping
ADR-0040 starts from the ADR template, is indexed, and links both ways with the design, UI spec and desktop plan.
Verification
mise exec -- make checkandmake desktop-buildpassed.image: unknown format.Merge order
Stacked on #185; merge that PR first, then retarget this PR to
main. Preserve ancestry with merge commits, or rebase the remaining branches after a squash merge. Full order: #181 → #182 → #183 → #184 → #185 → #186 → #188 → #187 → #189 → #190.The final branch contains the combined fixes. CI and Flatpak workflows were dispatched on that branch because PR CI is restricted to a
mainbase.