Repository navigation
Keep remote images in sync with the reader preference - #286
Merged
Merged
Conversation
huacnlee
enabled auto-merge (squash)
September 25, 2026 15:17
huacnlee
disabled auto-merge
September 25, 2026 16:29
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.
When “Always show images” changes while a message is open, the reader now uses the current preference immediately. Turning it off removes the approved document before a replacement render returns, discards queued image requests, and ignores late image bytes. Turning it on rerenders the open message; a cursor preview remains blocked, including in a unified mailbox.
The account owns this transition because the service preference is bound to every account. A native read that began under an older image policy is rerendered from its opaque reader key before its document reaches the UI.
The macOS standalone API contract fixture now creates its synthetic private storage directories with
0700permissions before launching the backend. That prevents a background permission hardening step from being mistaken for a disabled agent method's side effect in the storage snapshot test.Verification
tst_render_cache.qml(17 passed),tst_unified_routing.qml(28 passed), andtst_prefetched_reader.qml(14 passed). The new regression cases failed against the earlier PR head before the repair.make test-js,bash tests/test_source.sh,make qml-check, andgit diff --checkpassed on the image repair commit02008a3.qmllintreported warnings while exiting successfully.960e1d0, the API contract fixture passed Python syntax parsing andgit diff --check. The first macOS job stopped earlier in the standalone host'sSettingsTest::watchSettlesAfterDirectoryMutation, whose changed signal count grew after its fixed settling wait. That job is being rerun on the same commit; the packaged API contract test has not yet run there.make validate, the packaged API contract test, and a live visual check were not run locally in this review.UI evidence
Comparable before and after screenshots of the reader with remote images blocked and allowed are still needed, using the same synthetic message, theme, size, and scale. The visible difference is that changing the preference updates the open reader, while a unified mailbox preview stays blocked.
Release Notes