Repository navigation
feat(list): add optional media and creation columns - #2603
Conversation
Make it possible to compare media and creation times in mixed folders while keeping the standard List layout compact. Refs lgse#2574
The new media sort tests left an idle sort resync on the default main context. The next test that took the async lock on another thread dispatched it and aborted the strata-fs test binary.
handle_metadata_finished said only Complete fills publish, but media sorts now publish a truncated batch and continue with the rest.
Review and cleanupCI has not run. This is a draft from a fork, so every CI job skips (the
Review against the description and #2574. Every claim checks out in the code:
The issue asked for Duration and video fields as a first step, and the author asked for feedback on these three before adding more, so the scope matches. There were no earlier review comments. Fixes pushed
Tests. None removed. The new tests cover distinct behaviour: media batch filtering, retry after a truncated fill, stale-probe rejection after a replaced file, survival across another column's sort, and Duration/Dimensions ordering in both directions with incremental insert. The two dropped Validation
Follow-ups (not blocking)
|
|
I've pushed two small follow-ups:
The focused tests, formatting and Clippy all passed. |
The saved-preferences fixture now shows Duration, so List rows probed the header-only .wav and video fixtures. Their durations became unavailable and the preview dropped them from its media sequence, failing the audio-track and video-clip stepping tests.
CI follow-upMerged Fixed: Three keyboard-dispatch tests failed in shards 0, 1 and 3, all with "did not settle":
They pass on Not caused by this PR:
Validation
|
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RQ23A95oAKRxaHH6AjkXUC
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RQ23A95oAKRxaHH6AjkXUC
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RQ23A95oAKRxaHH6AjkXUC
…for Rune Each is an item under the owning package's Open, as a follow-up after done (A2, A8 and A10 for #2603, A6 for #2533, A18 for #2448, and A19, A20 and A9 for #2108), with a reference issue: #2684, #2685, #2686 and #2687. The A19 successor rows and the E1 Menu-key row say what the Rune runs showed, and H5.md takes the Menu key's line-14 failure as a finding to confirm.
Sync lgse/strata#2603, #2615: optional List media and creation columns, media sorts, Fedora manual-install packages
Description
Add Duration, Dimensions and Created to the List view's Columns menu. All three start hidden. The picker, headings and saved widths use the same column definitions.
Media metadata loads in the background. Missing values stay blank and sort after known values within each folder/file group. Dimensions sorts by total pixels. Media sorts keep making progress across batches and use fresh metadata after files change.
The earlier full QA run stopped after thread-spawn errors. Three media-preview tests from the full Rust run reproduced on the unchanged base commit. The local CodeScene check requires a credential that was unavailable.
Visual evidence
How to test
Expected result: Applicable cells show values and the rest stay blank. Known values come first in either direction, subject to Folders first. New media moves into place as its metadata loads. The active sort remains visible in the sort menu after switching views, and reset hides the optional columns.
Related issue
Refs #2574