Commits
2026-11-10
2026-10-26
💄 UI pass: proxies off by default, picture-only fullscreen, hover submenus, level in the volume sliderAhmet Kaan Gümüş · f178286
💄 UI pass: proxies off by default, picture-only fullscreen, hover submenus, level in the volume slider
- Proxies: "Make them on import" now defaults to off (pref file and fresh
sessions); the switches say "proxies" so a search finds them.
- Fullscreen: a button at the transport's right end; fullscreen draws only
the picture and the transport band; Escape leaves it.
- Context menu: Clip label and Fit are hover submenus like Adjust and
Compound; moving between two ▸ rows switches the open submenu. A
right-click inside a selection makes the clicked clip the anchor, so
Equalizer no longer refuses on a linked video half; Alt+4 on a video
clip opens the EQ on its linked audio.
- Volume: the live output level rides inside the slider's fill instead of
as separate bars beside it.
- Hover hints: label and key chips share one centre line, even padding;
undo steps read as verbs ("Undo Enable/disable clip"), clearer wording.
- Resize while playing: the picture restart waits until the size has held
still for 200 ms instead of reseeking every 8 px.
- Ripple trim of a start edge no longer trips the lane's overlap check.
- Tests: no longer pinned to one ffmpeg's exact bitrates/offsets; the
.edith probe test writes its own project; overflow fixes in test helpers.2026-10-23
🚚 edith moves to git.tahinli.comAhmet Kaan Gümüş · b02f499
🚚 edith moves to git.tahinli.com The working tree as of 2026-10-23, as one commit on top of the last one here. It carries the work up to that date plus the test-slimming work: integration tests merged into one binary per crate, nextest config, doctest = false, debug line tables only, perf tests behind --ignored, and faster generators, reverse, undo, subtitle-export, hevc, stabilise and hear tests.
2026-09-24
🐛 fix(keys): a card no longer swallows undo, redo, save or the clipboardAhmet Kaan Gümüş · 35306fd
🐛 fix(keys): a card no longer swallows undo, redo, save or the clipboard
`param_card_key` answers `true` for every stroke once one of the seven param cards is open, so `ctrl+z`, `ctrl+y`, `ctrl+s`, `ctrl+c` and `ctrl+v` never reached `keymap.lookup` at all -- the equalizer card's own comment says undo was always meant to be undo's own key ("Nothing to undo: every change is already at the clip, and undo is undo's own key").
`card_safe_action` names the five chords that act on the document rather than on the card, and the root handler dispatches them ahead of the cards' own branches and ahead of the blanket modal guard. The list is asked through the keymap, so a rebind moves the chord and this follows it. Escape, the arrows, `m`, the digits and the bare card letters stay the cards' own strokes.2026-09-14
✨ feat(audio): waveform styles, any soundtrack, keys search, group on the clip menuAhmet Kaan Gümüş · dfcec06
✨ feat(audio): waveform styles, any soundtrack, keys search, group on the clip menu Visualizer is no longer wav-only: h on a video clip with sound paints that file's soundtrack. Style bits live on the clip (outline, smooth, fast, colour) and toggle from CLIP. `?` type-to-filters the keys list. Group / Ungroup / Regroup are clip-menu rows, not chords-only.
2026-09-12
✨ feat(engine): software VP8 decode via dlopen'd libvpx seat in the pluginAhmet Kaan Gümüş · ba33df0
✨ feat(engine): software VP8 decode via dlopen'd libvpx seat in the plugin
VP8 was refused by a stale UNSUPPORTED claim ('no VP8 decoder'); the
vendored cros-codecs VP8 decoder is VA-API-only and the test GPU
exposes no VP8 VA-API profile, so the real seat is software: libvpx.so.9
dlopen'd inside libengine_hw.so (vpx.rs), routed before any GPU device
opens, seek = destroy+re-init on the demuxer's keyframe contract,
CAP_VP8 reported as the plugin's seat. Codec::Vp8 plumbed through
demux (V_VP8 + mp4 vp08), colorspace, refusals; export UI gains a
truthful read-only VP8 row; test_vp8.{webm,mp4} fixtures + capability
row + tests/vp8.rs decode/export twins. Verified by the authoring
session: headless playloop 270 frames 0 dropped, 50/50 seeks, live
harness-driven UI playback, cross-provider review PASS (FFI layouts
against shipped libvpx DWARF, valgrind-clean).2026-09-09
✨ feat(app): closing with unsaved work asks firstAhmet Kaan Gümüş · 4e75992
✨ feat(app): closing with unsaved work asks first A close request — alt+F4, the titlebar button, a session logout — is answered instead of obeyed when the timeline holds a clip and the project file does not hold the latest edit (the same `autosave_dirty` the ledger's `unsaved` state word reads). The window stays up and raises DESIGN §8's decision notice above the ledger: red spine, `UNSAVED — save ↵ · discard d · stay esc`, and while it is up it owns the keyboard. An empty timeline, or a saved one, closes exactly as before.
🐛 fix(app): a clip let go in the bench's left gutter lands at frame 0Ahmet Kaan Gümüş · bbc437b
🐛 fix(app): a clip let go in the bench's left gutter lands at frame 0 gpui fires on_drop only on an element whose own hitbox holds the pointer, and the bench's 12px side gutter was padding on the parent div -- so a release at x < 12, exactly where a hand aiming a clip at frame 0 puts it, reached no drop target and moved nothing, silently. The gutter now lives inside bench-content's own box: same pixels, and the catch-all release already written there now covers the edge.
🎨 style(app): the bench and the ledger say each thing once — cleanse round 2Ahmet Kaan Gümüş · 69dfc11Browse files
🔥 remove(app): cleanse the time band — five things and the strip's own mark gripsAhmet Kaan Gümüş · 0a1b19d
🔥 remove(app): cleanse the time band — five things and the strip's own mark grips The band kept the hero timecode, one transport (`|◂ ▶ ▸|`), the cut odometer, the contact strip and the boxed Export. The shuttle pair, home/end, the sync points, the loop toggle, the whole monitoring cluster, the `I O ×` marks trio and `Save` left it — each keeps its chord and its KEYS-tab row, and the odometer's `roll` word only shows while roll is armed. The export range's in/out marks became two `ink1` grips on the contact strip at their own film positions: drawn only once a mark exists, ±6px of door, drag sets the mark (and the mark under the hand becomes the other one when it crosses its partner, the way `ordered_range` orders the pair). The picture's `scale 0.59` corner readout goes with them — fit is `^0`. §7's ladder shrinks to two rungs (chords at 580px, measured), and the removed actions are named with their owner in the darkroom-home sweep.
🔥 remove(app): a region is a place — the bench stops ringing itself on focusAhmet Kaan Gümüş · a3016bd
🔥 remove(app): a region is a place — the bench stops ringing itself on focus Clicking through the timeline painted a 1px ink1 ring around the whole bench (user 2026-09-10). Focus routing is unchanged; the only ring left in the bench is the selection one a picked clip draws.
🐛 fix(app): the menu floor is the picture's painted edge, not the screen regionAhmet Kaan Gümüş · 22a8a53
🐛 fix(app): the menu floor is the picture's painted edge, not the screen region A letterboxed film leaves black bar at the bottom of the screen region, and DESIGN §5's 'nothing occludes the picture' has nothing to say about black. menu_floor now takes the Contain-fitted frame's real bottom edge (gpui's own get_bounds, off the box the paint already measures) and falls back to the region's bottom with nothing shown; a plate that still would not fit below its pointer flips above it, never past that floor. A 3840x1608 film at 2560x1440: floor 1112 -> 1014, and the 15-row clip menu stops scrolling.
🔥 remove(app): the spine — a verb's geography is the thing it acts onAhmet Kaan Gümüş · 8a68541
🔥 remove(app): the spine — a verb's geography is the thing it acts on User decision 2026-09-09, "option C": nothing on screen. The 56px rail and `ui/spine_stance.rs` are deleted; the room root is centre | dock and the picture, time band, bench and ledger take the width. Every verb is now its key, a right-click on the thing it acts on, or a hover plate — the KEYS tab is the one list left. The four verbs that act on the ROOM have no thing to be right-clicked on, so they sit at the ledger's right end before the position, each wearing its chord off the keymap and its hover plate off the shared tooltip helper: `CC t · settings ^, · keys ? · full f11`. `CC` reads ink1 + fill while subtitles are shown, the state the rail's glyph carried; `keys ?` wears no second `?`, the same rule. Persisted layout is untouched: `split_bounds`/`split_size` measure the dock from the window's right edge and the bench from its height — no formula ever offset by the rail. DESIGN.md §3/§4/§5/§9/§12 rewritten in the same diff. The eighteen actions whose only pointer door was the rail are named with their owning lane in the parity sweep's exemption list, and the sweep now fails on a stale exemption so the debt cannot go quiet (three already-covered entries deleted by it).
✨ feat(app): the keys list is the dock's KEYS tab and the spine ends in one ?Ahmet Kaan Gümüş · c14d76f
✨ feat(app): the keys list is the dock's KEYS tab and the spine ends in one ?
The plate over the bench is gone with its scrim: the list rides the dock
beside SOURCES and CLIP, stable geography that occludes nothing, scrolls
like its neighbours and needs no heading prose or esc hint because the tab
strip is the way back. `?` swings the dock there and a second `?` or
`escape` swings it back — a toggle, not a hold, and not a card, so every
other stroke keeps meaning what the spine says it means.
The spine's `?` ghost drops the badge that only repeated its own glyph
("why two ? exists") and registers in the hitmap like every other ghost,
so a pointer can reach the list without the keyboard.wip(tooltips): shared tooltip helper + first sites — capped mid-workAhmet Kaan Gümüş · d55192dBrowse files
Merge branch 'worktree-agent-a600c7fd560e06523'Ahmet Kaan Gümüş · e323136
Merge branch 'worktree-agent-a600c7fd560e06523' # Conflicts: # crates/app/src/tests/layout.rs
🎨 style(app): the ledger reports state, and never cuts a word to do itAhmet Kaan Gümüş · 9e93f65
🎨 style(app): the ledger reports state, and never cuts a word to do it Notices lose their instructional tails (DESIGN §8): a remedy is a verb and its chord (`V2 ADDED · undo z`), never a sentence. The strip ellipsises at its end and elides a long name through its middle first, so the state word at the front is never what a narrow window drops.
🐛 fix(app): every menu lands inside the window, clear of what it namesAhmet Kaan Gümüş · 9d24ad8
🐛 fix(app): every menu lands inside the window, clear of what it names The three hanging menus mount on the room root instead of inside `stance-centre`: their anchors are window coordinates, and the dock -- painted after the centre column -- covered every pixel past the seam, which is the clip menu whose chords were cut mid-word at x=995. `menu_at` now clears all four edges by `MENU_EDGE`, and `menu_rows_h` takes both margins off the room first, so a floored menu never buys that room back off the picture. The library menu hangs a row below the pointer rather than on it: opened at the pointer it covered the very row it was about. Its rows wear the chord of the verb (`Add at playhead ↵`) or nothing at all -- the prose glosses were §8's instructional copy in the column §4 reserves for strokes -- and the destructive remove says its consequence in its own label, since nothing prints beside it now.
🎨 style(app): the spine's pairs fit its rail, the keys plate says one nounAhmet Kaan Gümüş · 60a04f2
🎨 style(app): the spine's pairs fit its rail, the keys plate says one noun The paired glyphs (`‹10 10›`, `+V +A`, `+S −S`, ±1 trim) laid out at negative x against the 56px rail -- `‹10` was cut at the window's own left edge (hitmap x=-5 w=31). Subtraction, not a wider spine: a paired half draws one step down the §3 scale (13px) with 1px sides, the row gap is 3px, and the narrowest rect now starts at x=3. The keys plate said `ALL COMMANDS · HOLD ? · RELEASE TO CLOSE` while sitting latched open after a click on the spine `?` -- instructional copy (§8) that was also a lie. Heading is the noun `KEYS`, the way out is an `esc` chord on its right, and the plate's inset moved onto the scrim so its bottom border ends inside the window. The spine `?` wears its own chord like every other ghost (§4).
Merge branch 'worktree-agent-a3c7e2b85886de2fb'Ahmet Kaan Gümüş · 9c4d7ce
Merge branch 'worktree-agent-a3c7e2b85886de2fb' # 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): 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-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).
🐛 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.
🐛 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.
🎨 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): 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.
🐛 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.
2026-08-26
🔥 remove(ui): the legacy tree — darkroom is the only roomAhmet Kaan Gümüş · 5dcc6c2
🔥 remove(ui): the legacy tree — darkroom is the only room Delete the whole legacy UI (timeline.rs, toolbar.rs, inspector.rs, legacy render body, OLD_GUI gate — the env read is gone, not a switch) and every helper only it reached: ~6,900 LOC out. Darkroom stance is the only room. Real gaps the removal flushed out, fixed here: - typed bitrate in the export card was completely dead — NumberEdit digits/backspace/enter/esc now wired in param_card_key - ActionId::CancelExport was a no-op while the progress card promised the chord — now calls cancel_export (ctrl+esc, oracle-enabled during export) - actions card had no pointer entry — "?" ghost is clickable, scrim click closes, inner list swallows - snap toggle got a button beside zoom-fit in the VIEW group Dead-by-construction machinery deleted with its tests: key rebinding (rebinding/rebind_action/capture never set live), keys_search (no search box exists), cancels_export/format_key/next_audio_kbps, 17 layout.rs consts/fns, and the rest of the 32 no-—tests dead-code warnings; both `cargo build -p edith` and `--tests` are warning-free, 245 tests green.
🐛 fix(ui): guard focus ring to darkroom + ctrl-click uses press modifiersAhmet Kaan Gümüş · 6da98cd
🐛 fix(ui): guard focus ring to darkroom + ctrl-click uses press modifiers FocusPanels (F6) called window.focus on the ring's handles even under OLD_GUI=1, where the legacy tree never mounts them -- an unmounted focus target kills all key dispatch until a mouse click. focus_surface now no-ops when !self.darkroom, the single door every route goes through. ClickEvent::modifiers() answers the mouse-up modifiers, so releasing ctrl before the button undid a ctrl-held toggle decided on mouse-down (clip_box/sub_box in bench_stance.rs, timeline.rs's two clip boxes). Added widgets::press_modifiers, reading ClickEvent::Mouse's down event instead, at all four sites. Also: dock_stance.rs's doc comments were swapped between transition_row and clip_tab -- moved each back to its own fn; the transition steppers' hitmap labels were the raw element id instead of a phrase, given "Shorten transition"/"Lengthen transition"; and view.rs's stale comment referencing the old window.focus(&self.focus_dock) call updated to name focus_surface.
🐛 fix(ui): focus ring flips the dock tab so the focused surface is always mountedAhmet Kaan Gümüş · 49bd1d0
🐛 fix(ui): focus ring flips the dock tab so the focused surface is always mounted Player::focus_surface flips dock_src_active (via surface_wants_src_active) before window.focus lands on Dock/Inspector, so the handle being focused always has a mounted tree node -- focusing the unmounted tab's handle left gpui with no key listener anywhere, killing keyboard input until a mouse click. Routes all three focus-move sites (ActionId::FocusPanels, the dock's cycle_on_key_down, stance.rs's bench handler) through the one door.
🐛 fix(ui): wire the keyboard focus ring's entry door — F6 → FocusPanelsAhmet Kaan Gümüş · e404617
🐛 fix(ui): wire the keyboard focus ring's entry door — F6 → FocusPanels The ring built in 75ea728 was unreachable: nothing ever called window.focus on focus_dock/focus_bench/focus_inspector, so the surface on_key_down handlers (which do move focus correctly) never fired. Adds ActionId::FocusPanels bound to F6 (bare Tab stays Select at the root, unstolen), dispatched in Player::act via window.focus(&self.focus_dock) to enter the ring at its first stop. Escape inside the ring now hands focus back to the root (ui::stance::is_focus_exit_key, mirroring is_focus_cycle_key) instead of bubbling unanswered.
✨ feat(ui): keyboard focus v1 — Tab cycles dock/bench/clip, 1px STROKE_FOCUS ring, all other keys bubble to the root keymapAhmet Kaan Gümüş · 415844eBrowse files
🐛 fix(ui): wrap long notice-plate text instead of overflowing the boxAhmet Kaan Gümüş · 9e3e5bc
🐛 fix(ui): wrap long notice-plate text instead of overflowing the box notice_plate's max_w(480) only bounds the div; a bare text child of a flex row measures min-content as the whole line, so GPUI never gave it a Definite width to wrap against. Same shape as overlays.rs's notice bar: wrap the text in a flex_1 child so it inherits the container's resolved width.
2026-08-21
✨ feat(darkroom): menu styling, source removal with clips, settings chords, spine geographyAhmet Kaan Gümüş · 3e04aeb
✨ feat(darkroom): menu styling, source removal with clips, settings chords, spine geography Baseline of the Darkroom parity work before the old-UI removal lanes branch.
fix(ui): the notice plate reads the newest message, not the stalestAhmet Kaan Gümüş · d3bace2
fix(ui): the notice plate reads the newest message, not the stalest notice_plate showed notices.front() while the ledger's "last action" already read notices.back() -- and nothing but a keystroke ever calls dismiss_notice(), so a mouse-driven refusal queued behind an earlier, undismissed notice (a ctrl+s "SAVED ...") never reached the plate at all. The plate now reads back(), matching the ledger, so the newest notice is always the one shown; its max width also grows from 360 to 480px so a refusal-plus-remedy sentence gets two or three lines instead of being left to the ledger's single truncated line.
✨ feat(ui): a clip card can be made big enough to work inAhmet Kaan Gümüş · c41d066
✨ feat(ui): a clip card can be made big enough to work in Maximizing mounts the card against the window instead of the dock column — an absolute child is sized by its immediate parent, so a window-space offset applied inside the dock put the card in a sliver off the bottom. Toggled by m, by the glyph on the card head, and by a double-click on it; esc gives the size back before it closes the card; the pick survives a restart. The extra room buys resolution, not scale: the EQ's tick gaps go 124.5px to 264.5px with the glyph height unchanged at 8px. Height is floored at the default bench so a small bench cannot shrink the maximized card, and the graph now flexes so the band controls stay visible instead of overflowing. Also fixes clip_tab discarding its own width parameter, which had been handing every card the whole window instead of the dock it lives in.
fix(ui): maximized eq/color/etc cards stop shrinking with a small benchAhmet Kaan Gümüş · f429c6e
fix(ui): maximized eq/color/etc cards stop shrinking with a small bench
below_picture_floor fed the *live* bench straight into the maximized
card's top, so a bench dragged down to BENCH_MIN_H (legal, and the
value the user's own stance-splits held) gave the maximized card LESS
room than docked -- backwards from what maximize promises, and its
curve/handles stopped rendering entirely. maximized_card_top floors
the bench at BENCH_H (the untouched default) before computing the
floor, so a small bench can no longer starve it; a larger bench still
grows it further, unchanged.
Also insets the EQ frequency axis's two end labels ("20 Hz", "20k")
to the graph's own edges instead of centering them on 0%/100%, which
hung half of each off the plot and clipped it.✨ feat(ui): a settings page for the project and the editorAhmet Kaan Gümüş · bdb07d9
✨ feat(ui): a settings page for the project and the editor Project settings change what is rendered and live in the .edith; editor settings describe this machine and live in ~/.config/edith. Reached by the St glyph on the spine and by ctrl+, — chord-only entry is the gap this room kept repeating. Both proxy switches now keep a machine default beside the project's own pick, and every row's hint names the door it actually uses; a test now holds each row to that claim. Refusing an action while an export runs finally says so: the key guard stopped folding 'an export is running' into 'a card owns the screen', so the refusal reaches the notice plate instead of dying silently.
🐛 fix(ui): the Proxies default gets a home and a refusal finds its voiceAhmet Kaan Gümüş · 0a7a759
🐛 fix(ui): the Proxies default gets a home and a refusal finds its voice D1: the Proxies row hint promised a ~/.config/edith default no code ever wrote -- toggling it with nothing open vanished on relaunch. Gives Proxies its own save_proxies_pref/load_proxies_pref, the same sibling file auto-proxies already keeps, wired into toggle_proxies and read at startup. Strengthens the settings guard to scan every row's own hint text for a ~/.config/edith claim and demand the matching pref pair exist, not just the section headers. D2: pressing ctrl+, during an export was a silent no-op -- the oracle's own "an export is running" refusal for ActionId::Settings never reached notify_user because the darkroom's key guard swallowed every key whenever modal() was true, and modal() folds exporting() in. Splits Player::card_open() (an actual card/menu owns the keyboard) out of modal() (that, or an export is running) and points the stance's key guard at card_open() alone, so a bare export with no card open now falls through to enable()/act() and the refusal gets spoken like any other. Every other action refused only by an export was equally mute; this fixes the guard, not the one action.
2026-08-20
fix(ui): a maximized clip card escapes the dock instead of the sliver inside itAhmet Kaan Gümüş · b1ff91f
fix(ui): a maximized clip card escapes the dock instead of the sliver inside it The maximize offset (`below_picture_floor`) is a window-space y, but every param card (EQ/Colour/Transform/Speed/Silence/Mix/Subtitle style) was mounted inside `dock_stance.rs`'s "dock-clip-rows" -- a ~280-390px, less- than-window-tall strip. An absolutely-positioned child is sized against its own immediate parent regardless of any `.relative()` upstream, so the window-space offset was applied inside that short box and shoved the card to a ~120px sliver at the bottom, with the graph never on screen: maximize made every card smaller. The seven cards now mount two ways depending on `card_maximized`: un-maximized, they stay in `dock_stance.rs`'s dock column exactly as before; maximized, they mount at `ui::stance::render`'s "stance-centre" instead, the same window-space root `context_card`/`library_card`/ `export_card`/`picker_card` already render from. Also: `dock_stance::clip_tab` ignored its own `width` parameter and fed the whole window's width into `eq_card_w`, so an un-maximized EQ card asked for up to 720px inside a ~390px column and overflowed past the window edge (the "480 in 280" shape of bug this feature already tried to fix once). It now feeds the dock's real width. Guard: `a_maximized_cards_room_is_bigger_than_the_docked_rooms_not_smaller` (tests/cards.rs) checks in pure values that the maximized mount's room is wider than the docked room it escaped, using the same width formulas production code calls. This binary has no `TestAppContext` to mount the real tree and read painted rects back, so it cannot see the div nesting itself -- only driving the app proves the fix lands on screen; the test's own doc comment says so. The legacy tree (`OLD_GUI=1`) has the same class of bug in `ui/inspector.rs` (the maximize width formulas want more room than the fixed inspector column can give), but an existing structural test (`an_inspector_section_occludes_no_timeline`) forbids these cards from ever mounting at the legacy root -- fixing it needs an in-place answer within the inspector's own box, not an escape, and is left as a follow-up.