Repository navigation
Fix: Tags now persist and Back leaves an opened archive in one press - #146
Merged
Merged
Conversation
Uno never raises the phased ContainerContentChanging callback, so rows were only loaded after the first scroll: FileTags stayed null, pre-set xattr tags were not shown, and the first edit of a never-loaded item skipped the write. Load rows from a low-priority dispatch on Linux, let edits of unloaded items read the stored tags first and always persist, and drop a second concurrent open of the same archive that pushed a duplicate back-stack entry. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
Co-Authored-By: GPT-6.1-sol (OpenAI Codex) <noreply@openai.com> Claude-Session: https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq
This was referenced Oct 10, 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
user.xdg.tagsor the tag database, and tags already set on a file were not shown. Cause: Uno never raises the phasedContainerContentChangingcallback that triggered per-row loading, soListedItem.FileTagsstayednulluntil a scroll; the setter treatednullas "not initialised" and skipped the write, and edits started from an empty list. Rows now load from a low-priority dispatch on Linux, edits of unloaded items read the stored tags first (GetFileTagsOrRead), the setter always persists on Linux, and loader results useSetLoadedFileTagsso loading never writes back.Verification
Homeshown in Tag column (was empty); tagme.txt tagged Work givesgetfattruser.xdg.tags="Work"; adding Work to preset.txt gives"Home,Work"; relaunch shows both; double-click Projects.zip then Back once returns to Documents.Files.Platform.Tests: 1190 pass (new tests for preset-tag merge, edit persistence, in-flight gate).Files.Appnet10.0-desktop build passes.🤖 Generated with Claude Code
https://claude.ai/code/session_016FAtbHHLQSiJiYcw2vnKiq