Skip to content

feat(timeline): AE trim zones, click-to-deselect, Type tool on overlapping text, ruler labels - #1108

Merged
h-a-n-a-s-h-i merged 7 commits into
storytold:mainfrom
eliasx45:upstream/timeline-editing
Oct 13, 2026
Merged

h-a-n-a-s-h-i merged 7 commits into
storytold:mainfrom
eliasx45:upstream/timeline-editing

Conversation

@eliasx45

Copy link
Copy Markdown
Contributor

What

Timeline editing closer to After Effects, plus small panel polish:

  • Trim zones straddle the layer bar ends (4 pt outside, up to 5 pt inside; short bars keep
    their middle third) and win over the slip zone, with the resize cursor.
  • Click on empty track area deselects layers.
  • Type tool on overlapping text: the Type tool edits the selected text layer when text layers
    overlap, respecting visibility (with tests that reproduce the duplicated-text case).
  • Ruler labels that would run under the marker bin are left out instead of clipped to a stray
    digit.
  • Polish: long Project panel names end in "…"; Effect Controls' Reset / About... sit on the header
    row's centre.

Left out of #858's version: "trimming a selected layer trims every selected layer", since #950
(merged) already does that; and "centre text in search fields", already on main (#581).

Why

After Effects parity for everyday timeline editing. Split out of #858 as asked.

How tested

  • ui-egui/tests/ui_timeline_trim.rs, ui_workflow_selection.rs, ui_text_edit.rs; written with
    the changes, not re-run on this branch.
  • rustfmt --check and cargo check --all-targets on the affected crates on current upstream
    main.

The In/Out trim zones were 6 pt strips inside the bar only: at or just outside an end the pointer got the default cursor, and on footage/precomp layers just outside the end it hit the slip zone, which shows the same arrow but slips the source instead of trimming. Zones now reach 4 pt outside and up to 5 pt inside each end (short bars keep their middle third as body), registered after the slip zones so trimming wins there. The trim zones show the system resize cursor (upstream port: the fork also offers an owner-local cursor, left out here). Test: ui_timeline_trim.

(cherry picked from commit e2490f8)

(cherry picked from commit b704fc52c4fdb43816721e95d13f132a11062aa1)
(cherry picked from commit 17faf9c)

(cherry picked from commit 9b9d21aacc4d025e36e13a05e4416a49f448bdf1)
…ffects)

(cherry picked from commit 9d6352f)

(cherry picked from commit d6110a23e9c459eb4c677b439d811b7438b1a999)
(cherry picked from commit f46595d)

(cherry picked from commit fff43e6f6edc00bf60aa031643f3356b9e7ccfad)
…pe tool

(cherry picked from commit 0acb03d)

(cherry picked from commit 66427c0149c5f2fd46931945a4f11a9530c12269)
(cherry picked from commit d5fadff)

(cherry picked from commit adec1c33542c2566183c6698cb0b1ad8e8afa0e0)
…ibility

(cherry picked from commit 9fd5b1e)

(cherry picked from commit 812e34fd7834e828bebd3f79440f831d188a1a99)
(cherry picked from commit 283adb1)

(cherry picked from commit cb2e659baad5e4fe853c124dafe32491335b8232)
The comp-end label was clipped to a stray "1" against the marker bin.

(cherry picked from commit f62afa0)

(cherry picked from commit 2e3d08dad7d73a14688bf6d8bfb1712ab51443a2)
(cherry picked from commit 773471c)

(cherry picked from commit 176508a82145eb7063c776f6cd44ba925a8edd99)
Names were hard-clipped mid-glyph against the label column
("EffectCraft Intrc"); use widgets::text_fit like the other text columns.

(cherry picked from commit 341c924)

(cherry picked from commit 60086aa4b5c735cd2307d773b22d8189e211f40f)
(cherry picked from commit c318f84)

(cherry picked from commit eaebbe7ce0b9d88970f435e9327f7b04612c1a9d)
The buttons were offset 2pt below the 22pt header's centre, so their text sat
below the effect name's baseline.

(cherry picked from commit acacef9)

(cherry picked from commit dc9ff1b5aad75c4f4233d89ed33813844e980487)
(cherry picked from commit 1e599b6)

(cherry picked from commit 7deda99fabe57bb40c6ea9f02f18c6c79d19d792)
@echelon

echelon commented Oct 13, 2026

Copy link
Copy Markdown
Member

Merged. Thank you for the contribution, @eliasx45! It landed on main together with a batch of other community PRs, after a full workspace build and test run. If you are not on our Discord yet, please join us: https://discord.gg/artcraft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants