Commits
Commits on
cebb935b03faa6494441e49534bd87f5bd73d6702026-09-09
🎨 style(app): the seam is aimed at with the hand, not the eyeAhmet Kaan Gümüş · cebb935
🎨 style(app): the seam is aimed at with the hand, not the eye A 6 px hit strip asks for precision a hand does not have: a press one row inside the bench focused the bench instead of grabbing the seam, which is how a shipped resize reads as "panes should be enlargable and shrinkable". The divider keeps its 6 px of layout and its 1 px hairline; the press and the resize cursor move to a GRAB_W (12 px) band mounted absolutely over it, so the reach doubles and nothing moves by a pixel at rest.
Merge branch 'worktree-agent-a3c7e2b85886de2fb'Ahmet Kaan Gümüş · 9c4d7ce
Merge branch 'worktree-agent-a3c7e2b85886de2fb' # Conflicts: # crates/app/src/tests/layout.rs
Merge branch 'worktree-agent-af983b2d7101b2441'Ahmet Kaan Gümüş · 701700f
Merge branch 'worktree-agent-af983b2d7101b2441' # Conflicts: # crates/app/src/tests/layout.rs
💄 style(app): the seam is a ghost until a hand finds it, and a double press puts it backAhmet Kaan Gümüş · 373d93f
💄 style(app): the seam is a ghost until a hand finds it, and a double press puts it back The two draggable seams were inked at rest -- a 6 px band of divider colour down the room, and a full-strip accent under the pointer. Now nothing at rest, one hairline of dim ink on hover, the same line one step brighter while it is held, and a double press forgets the dragged size so the window's own share answers again.
🐛 fix(app): the bench answers a wheel notch anywhere over itAhmet Kaan Gümüş · 6ca4906
🐛 fix(app): the bench answers a wheel notch anywhere over it The wheel only moved the view when the pointer sat on a track: the only listeners were one per lane bed and one on the ruler strip, so the head column, the gaps between rows, the strip left of the ruler and the space below the last track all swallowed the notch. The row's listener moves up to the whole row and `bench-content` answers everything else, with the row still stopping so no strip answers one notch twice. Mapping unchanged (ctrl zooms about the pointer, bare scrolls the view along).
🐛 fix(app): a file dropped on the library panel imports — the room hears the drop, not the centreAhmet Kaan Gümüş · 9bb9951
🐛 fix(app): a file dropped on the library panel imports — the room hears the drop, not the centre The external-file drop handler (gpui `ExternalPaths`, Wayland `text/uri-list`) sat on `stance-centre`, the flex column between the spine and the dock. The dock — the Sources/library panel — is that column's sibling, so its hitbox was never under any drop listener and a file dragged onto the library landed on nothing at all. Moved to the room root (`stance-room`), the one surface under every region: a drop anywhere in the darkroom now goes through `Player::import`, the same door the Import action, argv and Paste path use. The dock and the centre each lift to the raised fill while a file is over them — the same affordance every other drop target in the room answers a drag with, no plate, no copy.
2026-09-06
🐛 fix(engine): a QuickTime .mov keeps its AAC — read v1/v2 sound descriptionsAhmet Kaan Gümüş · 7fbbd0f
🐛 fix(engine): a QuickTime .mov keeps its AAC — read v1/v2 sound descriptions A Resolve export (qt brand) opened with no sound: mp4 0.14 reads the mp4a sample entry as ISO only, skipping the 8 bytes QuickTime uses for version/revision/vendor, so a version-1 SoundDescription's 16-byte tail was taken for the first child box and the wave-wrapped esds behind it never seen -- "trak[2].stbl.esds not found", and with it every Resolve / Final Cut / `ffmpeg -f mov` file. Vendored mp4 0.14 under vendor/mp4 (patch table entry, workspace exclude): Mp4aBox::read_box now reads the version, skips the v1 tail or takes rate/channels from the v2 block, and finds the esds directly or inside `wave`; the crate's ten lint warnings cleaned with it. New fixture assets/test_qt.mov (ffmpeg -f mov, same 440/880 tone) and a test in audio_decode that fails on stock 0.14 and passes here. Verified in the harness on a Resolve export: opens with picture and waveform, plays (sink RMS -26.9 dBFS), seeks to 00:10 and plays the right audio (captured peak -11.109 dBFS = source's own). Workspace suite 981/987; the six failures are five load flakes that pass serially and one pre-existing failure on clean main (audio_multi layout refusal), logged.
2026-08-27
🔥 remove(app): floating notice plate — the ledger strip is the one notice channelAhmet Kaan Gümüş · dee569d
🔥 remove(app): floating notice plate — the ledger strip is the one notice channel The plate doubled what the ledger's last-action line already says (user 2026-08-27). Gone with it: its severity/offset helpers, the keystroke and click dismiss paths, and its two layout guards; the picture-occlusion guard now pins the ledger as the sole channel. A refusal or failure keeps its tone in the strip (notice_tone tints the last-action line for error and warning; routine messages stay quiet).
🎨 style(app): subtitle track rows read as the header's subsetAhmet Kaan Gümüş · ab70ac1
🎨 style(app): subtitle track rows read as the header's subset Fold chevron at INK1 (it inherited the panel's dim ink and vanished), track rows stepped in 30px under the header and a type size below it -- subset smaller and indented, superset carries the weight.
🐛 fix(app): Text tab answers the dock filter; guards pin the new menu and escape rulesAhmet Kaan Gümüş · 75f3f17
🐛 fix(app): Text tab answers the dock filter; guards pin the new menu and escape rules The filter box sat visible over a tab that ignored it -- a dead control. Subtitle rows now match on track label or file name, groups leaving with their last row. The two source-scan guards are updated to pin what shipped: the library menu anchors at the pointer and never routes through menu_floor's picture clamp, and the modal guard's escape branch goes through Player::escape_closes_overlay (scan window widened past the branch's commentary).
🐛 fix(app): subtitle row's second line reads the timeline, not a constantAhmet Kaan Gümüş · a7683f5
🐛 fix(app): subtitle row's second line reads the timeline, not a constant A dropped track's row kept saying "not placed" forever -- the detail was a literal fallback, never a placement check. It now names the subtitle lane(s) holding the track's captions (S1), falling back to "not placed" only when none does.
🎨 style(app): Text tab empty state speaks its siblings' dialect (No subtitles)Ahmet Kaan Gümüş · 8a81f1fBrowse files
🎨 redesign(app): subtitles live in the Text tab, not a stray dock sectionAhmet Kaan Gümüş · 7089dc7
🎨 redesign(app): subtitles live in the Text tab, not a stray dock section Moves the subtitle palette out of its unconditional spot under the source list and into the library's Text tab, styled like the other media rows (round dot, same ink/type scale, same hover fill and selection ring) instead of its own visual dialect. Text.holds() now answers the same extension-only question Media/Audio's own arms do instead of a hardcoded false, and the empty state is one word.
🐛 fix(app): Escape closes overlays even when focus sits in dock/inspector/benchAhmet Kaan Gümüş · a2d7557
🐛 fix(app): Escape closes overlays even when focus sits in dock/inspector/bench FOCUS-SURFACE ESCAPE SWALLOW: a menu/card/preview opened by a click into the clip section (or any focus ring: dock, inspector, bench) never closed on Escape, because each ring's own escape branch stopped propagation and moved focus back to the room root before the root's own overlay-closing logic ever ran. Adds Player::escape_closes_overlay (player/cards.rs), the one shared door mirroring the root handler's own escape branches (card_open / context_menu / library_menu / picker, then preview_session). The root handler now calls it too, so there is exactly one place that knows what escape closes. Every focus-ring escape branch (dock_stance.rs's shared cycle_on_key_down -- wired to both focus_dock and focus_inspector -- and stance.rs's bench handler) calls it first; only when nothing closed does the branch fall through to its own ring-exit behavior.
🎨 style(app): rustfmt the exact_refusal signature left unwrapped by a398942Ahmet Kaan Gümüş · d880cdeBrowse files
🐛 fix(app): notice plate click-dismiss, z-order above maximized card, scale readout spacingAhmet Kaan Gümüş · 5cafd7c
🐛 fix(app): notice plate click-dismiss, z-order above maximized card, scale readout spacing - notice_plate now takes cx and wires an on_mouse_down handler through the same Player::dismiss_notice path the key handler already uses, plus a pointer cursor. - notice_plate mounts after the card_maximized block instead of beside ledger, so a maximized Mix/EQ card no longer paints over it. - scale_plate's label/value gap and padding widened to match the notice plate's own comfortable padding idiom.
fix(app): un-hide spine verb groups, simplify by subtraction not concealmentAhmet Kaan Gümüş · 532f9ee
fix(app): un-hide spine verb groups, simplify by subtraction not concealment Hover-gated collapse/expand of the spine's CutMore/View/Track/Room groups was a rejected pattern (user 2026-08-27: "simplify it not hide the things"). Every glyph is always visible now; rare-cadence groups stay compact (ink-demoted, tight rows, plain always-visible group heads) instead of collapsing behind a hover. Dropped the dead spine_hover field and SpineZone/collapsible/hairline machinery, and recorded the rejected pattern in DESIGN.md alongside the repo's other rejected-pattern notes.
🐛 fix(app): library context menu opens at the pointer, not the picture floorAhmet Kaan Gümüş · c01a6ef
🐛 fix(app): library context menu opens at the pointer, not the picture floor The library row menu mounts on the root over the dock, where no picture exists, but went through `menu_floor`'s picture-floor clamp anyway -- a right-click high in the dock got teleported down near the bench. It now sizes its rows against the full viewport and clamps only to window bounds via `menu_at`, standard context-menu behavior; `menu_floor` stays for the clip menu, which legitimately protects the picture behind it.
🐛 fix(app): Exact quality derives its own format from the source codecAhmet Kaan Gümüş · 233e118
🐛 fix(app): Exact quality derives its own format from the source codec Picking Exact used to leave the format on whatever preset was active, so Export refused it with the container-mismatch message minutes later. pick_quality() now sets the container from the source's own codec (HEVC/AV1 -> the matching Matroska format) via the new exact_format() helper, and the Exact row shows exact_refusal()'s reason inline the moment it's picked (or a source manually changed away from it) rather than only at Export time.
🎨 style(app): cargo fmt pass over the media-kind verb-filtering diffAhmet Kaan Gümüş · 9ac15de
🎨 style(app): cargo fmt pass over the media-kind verb-filtering diff No behavior change -- just rustfmt normalizing line wraps the prior commit left ragged.
🐛 fix(app): dock clip verbs hide (not grey) for the wrong media kindAhmet Kaan Gümüş · 726f956
🐛 fix(app): dock clip verbs hide (not grey) for the wrong media kind Mix now refuses by the same class rule as Silence/Equalizer (still or no-sound clip); the dock's ghost_verb reads Enable::listed() and leaves a Hidden verb out of the row entirely instead of always drawing it dimmed. DESIGN.md §8 amended: state refusals grey out, media-kind refusals hide.
🐛 fix(app): notice plate off the transport row, keys overlay by the spineAhmet Kaan Gümüş · a1f9f08
🐛 fix(app): notice plate off the transport row, keys overlay by the spine Notice plate: anchor a fixed LEDGER_H+6 above the ledger, right-aligned (was floating notice_bottom_offset(bench_h) up beside the time band's transport row for a tall bench; now clear via the same left/right split that already keeps the bench's V1/A1 lane chips separate, DESIGN §11.6). Keys overlay (`?`): sized against the live bench_h the caller already measures, not the fixed BENCH_H default, and anchored bottom-left flush against the spine (the `?` control's own side) instead of m_auto-centred.
✨ feat(export): Exact quality row copies the source's own coded pictureAhmet Kaan Gümüş · 49dbed8
✨ feat(export): Exact quality row copies the source's own coded picture Adds Quality::Exact to the export card: wherever CopyPlan already says a copy is exactly what the timeline says, the file leaves as the source's own bytes. exact_refusal names why not (wrong container, edit forces a re-encode) before the button is pressed and again inside run(), so the card and the worker can never disagree.
🐛 fix(app): dropping a file from outside the window imports itAhmet Kaan Gümüş · fc7ccc2
🐛 fix(app): dropping a file from outside the window imports it stance-centre now answers gpui::ExternalPaths — drag_over tints the same DARK_RAISED fill every drop target in the darkroom already uses, on_drop hands every dropped path to Player::import, the one door argv/Import-button/Paste-path already share and that already forks .edith vs media (arrival) and refuses mid-export.
✨ ui(app): collapse Sources dock chrome — one sort cycle chip, no header countersAhmet Kaan Gümüş · bcc4dda
✨ ui(app): collapse Sources dock chrome — one sort cycle chip, no header counters User feedback: MEDIA · 0 · 0 UNUSED header plus a 4-chip sort row was too much chrome for a library panel. Header now shows just the tab name (counts moved to its tooltip); Recent/Name/Usage/Unused collapse into one ghost control that shows the live mode and cycles on click.
🐛 fix(app): drag drop commits the frame the ghost last showed, snaps to 0 within 10pxAhmet Kaan Gümüş · 1f68773
🐛 fix(app): drag drop commits the frame the ghost last showed, snaps to 0 within 10px One x source for a drag: on_drag_move now stashes the pointer x that drew the ghost (Player::drag_x), and on_drop reads it back instead of a fresh window.mouse_position() -- gpui's drop callback carries no position of its own, so a second poll of the pointer was never guaranteed to answer what the ghost just showed. A wider DROP_SNAP_PX (10px, vs the 5px trim-nudge SNAP_PX) gives a release room to land on a mark; frame 0 was already always in snap_marks, even on an empty timeline, so the "must be pixel-exact to land at 0.0" complaint was tolerance, not a missing mark. The lane row's frame-0 seam moved from a layout border (which eats a pixel out of its own content box) to an absolute overlay, so the ghost, clips, and Player::frame_under all agree on one origin. Adds drop_landing_tests covering pull-to-0 on an empty timeline, pull onto a clip edge, and pull onto the playhead.
✨ ui(app): instructional-copy sweep — DESIGN §8 rejected pattern enforcedAhmet Kaan Gümüş · 067620b
✨ ui(app): instructional-copy sweep — DESIGN §8 rejected pattern enforced Empty states to single nouns, filter placeholder to one word, the "pick a verb above" plate removed; report strings keep state, lose instruction clauses. 250 app tests green, zero warnings.
✨ feat(app): spine collapses low-frequency verbs behind hover, keeps EDIT/CUT-core always visibleAhmet Kaan Gümüş · 2db0208
✨ feat(app): spine collapses low-frequency verbs behind hover, keeps EDIT/CUT-core always visible User feedback: the left spine "feels complex" -- dozens of always-visible glyph+keycap rows for SPINE/EDIT/CUT/VIEW/TRACK/ROOM/FS. Per DESIGN §6 (the cut is the subject) the true burst-use verbs are split/delete/undo/redo (EDIT) and the walk-cut pair (CUT's odometer); those stay always-visible. Everything else -- CUT's stride-10/trim/loop-trim tail, and the whole VIEW/TRACK/ROOM groups -- collapses to a hairline separator (no prose, DESIGN §8) and expands in place on pointer hover of that zone via a new Player::spine_hover flag, collapsing again on leave. Every collapsed glyph keeps its own cx.listener click handler and chord, so nothing becomes keyboard-unreachable and every verb is still clickable once hover-revealed.
2026-08-26
🧪 test(app): the refusal fixture flips — mono joins stereo now, stereo onto mono refusesAhmet Kaan Gümüş · 8c00c28
🧪 test(app): the refusal fixture flips — mono joins stereo now, stereo onto mono refuses The end-to-end refusal test imported mono test_ac3.mp4 into a stereo timeline, the exact pair engine::audio::widen just legalized. The refusal left standing is the reverse, so the test opens the mono fixture as its timeline and refuses stereo test_av.mp4 instead; the accepted-row half now rides mono test_audio_only.mp4 (3 s, 90 frames).
Merge branch 'worktree-agent-a4b3e198388f130b7'Ahmet Kaan Gümüş · a72c5c5
Merge branch 'worktree-agent-a4b3e198388f130b7' # Conflicts: # crates/engine/src/demux.rs
🧪 test(engine): let the cancel-walk test skip fixtures the video demuxer refusesAhmet Kaan Gümüş · 4257e49
🧪 test(engine): let the cancel-walk test skip fixtures the video demuxer refuses The Matroska fixture sweep now also finds the audio-only test_ac3.mka, which sorts first and which MkvDemuxer::open rightly refuses -- the test panicked on its own expect before measuring anything. Take the first fixture the video demuxer accepts, the shape the cue-index sweep below already uses.
🐛 fix(app): DEBT #91 — click-to-stop during Asked wakes the header readAhmet Kaan Gümüş · 4de1efe
🐛 fix(app): DEBT #91 — click-to-stop during Asked wakes the header read Proxy::Asked now carries the same Arc<AtomicBool> generate_if_wanted polls at the door and around the header read (crates/engine/src/proxy.rs, prior commit). start_proxy_for hands it that flag instead of a permanently-false one; toggle_proxy's Asked arm sets it on click-to-stop, so a stop during the header walk unwinds mid-read instead of only relabelling the row while the read finishes on its own.
🐛 fix(engine): mono sources up-mix onto wider timelines (DEBT #46)Ahmet Kaan Gümüş · d7c614b
🐛 fix(engine): mono sources up-mix onto wider timelines (DEBT #46) widen() (audio.rs) duplicates a mono decode buffer into every timeline channel -- the inverse of downmix(), wired into every decode site that feeds mix() (run_ac3, run_mkv_ac3, run_sym, the AAC loop in run()). audio_matches_probed (playback.rs) and the export-time width check (audio.rs:open_multi_streams_speed_at_fade) both now let a 1ch source join a wider timeline; a wider-than-timeline source stays refused.
🐛 fix(engine): DEBT #91 — proxy Asked phase now cancels its header readAhmet Kaan Gümüş · ba29145
🐛 fix(engine): DEBT #91 — proxy Asked phase now cancels its header read generate_if_wanted takes the same cancel flag Job::cancel later polls: a click to stop a stand-in while the header is still being read used to have nothing to set, so the read (a Matroska cluster walk) always ran to completion before the stop landed. Checked at the door once the seat is claimed and wrapped around Demuxer::open (demux::with_cancel), so a pre-set or mid-read cancel unwinds promptly and gives the seat back the same way a cancelled encode does (Claim's own Drop).
🐛 fix(engine): cancel an mp4 import mid-moov, same as the mkv armAhmet Kaan Gümüş · 8a96a5a
🐛 fix(engine): cancel an mp4 import mid-moov, same as the mkv arm Mp4Reader::read_header ran the whole moov parse uncancellable while the Matroska arm's walk polled the flag per element -- a cancelled import of a big mp4 blocked until the header finished (debts #57/#58). Wraps the BufReader<File> handed to Mp4Reader in a CancelableReader that checks demux::cancelled() on every read(), surfacing a "read cancelled" io::Error the mp4 crate propagates as-is, so is_cancelled classifies it the same way as the mkv path. No fork of the mp4 crate.
✅ test(engine): DEBT #64 — prove AC-3 opens out of a standalone .mkaAhmet Kaan Gümüş · ba541e9
✅ test(engine): DEBT #64 — prove AC-3 opens out of a standalone .mka crate::demux::is_matroska already admits .mka (since 810ded2), so Track::open already routes an AC-3/E-AC-3 .mka through the same MkvAc3Track door test_ac3.mkv uses -- the debt's routing gap was already closed in code, just never proven by a fixture or a test. Adds test_ac3.mka (2s 440Hz sine, ac3, 2ch 44100) to gen_fixtures.sh and a test in audio_files.rs asserting it decodes non-silent stereo audio at the right rate.
🧪 test(app): assert the bitrate refusals on the shared NumberEdit itselfAhmet Kaan Gümüş · 9dc7454
🧪 test(app): assert the bitrate refusals on the shared NumberEdit itself Lane E left commit_mbps dead in the live build (the card now commits through ui::widgets::NumberEdit) while tests still asserted the dead fn's wording — a placebo. The fn is gone; the same empty/zero/floor/ceiling refusals are asserted on the widget, the door the card actually uses.
✨ feat(ui): type-in for the transition duration row (DEBT #111)Ahmet Kaan Gümüş · 1110ca4
✨ feat(ui): type-in for the transition duration row (DEBT #111) Generalizes export_ui.rs's NumberEdit into ui/widgets.rs with a caller-owned range/digit-cap/unit instead of the hardcoded Mbps constants, adds a commit_clamped() alongside the existing refuse-on-commit commit() for rows whose stepper already clamps silently, and wires it into the Clip tab's transition duration row (click to open, digits/backspace/enter/esc through Player::param_card_key, commit through the same set_transition_frames the ± steppers now share).