Skip to content

feat(shortcuts): AZERTY physical-key bindings, Go to Work Area keys, Graph Editor zoom and fit - #1109

Merged
h-a-n-a-s-h-i merged 6 commits into
storytold:mainfrom
eliasx45:upstream/azerty-graph-zoom
Oct 13, 2026
Merged

h-a-n-a-s-h-i merged 6 commits into
storytold:mainfrom
eliasx45:upstream/azerty-graph-zoom

Conversation

@eliasx45

Copy link
Copy Markdown
Contributor

What

Keyboard layouts and time zoom:

  • Physical-key shortcuts: presets accept Physical+<key> (egui's US-position names), so
    layouts that report the same logical key for two physical keys (AZERTY's - and )) can bind
    them separately; a physical binding wins for that press, and a focused panel's binding wins over
    an application command on the same chord. ui.key accepts the same notation.
  • Go to Work Area Start / End (time.workAreaStart / time.workAreaEnd), bound to Shift+Home /
    Shift+End as in After Effects.
  • Graph Editor zoom: the layer bars and the Graph Editor share one time zoom; the footer's
    zoom-out / zoom-in icons are buttons and a click on the zoom slider jumps; opening the Graph
    Editor fits the selection (or all graphs), and the fit goes through the timeline zoom; AZERTY zoom
    keys work in the graph.
  • View stops at the comp end; a ruler scrub past the edge scrolls with the CTI.

Why

On AZERTY keyboards several of After Effects' default shortcuts couldn't be reached or collided;
the Graph Editor had its own zoom. Split out of #858 as asked.

How tested

  • ui-egui/tests/ui_azerty_shortcuts.rs, ui_time_zoom_controls.rs, ui_graph_fit.rs,
    ui_keyframes.rs, engine tests_tail.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 (menus.rs adapted to the SVG-paste handling added upstream since).

0Elias71 and others added 6 commits October 12, 2026 19:21
…Start/End

Shortcut presets accept Physical+<key> (egui US-position names) so layouts that report the
same logical key for two physical keys (AZERTY's - and )) can bind them separately; physical
bindings win for that press, and a focused panel's binding wins over an application command on
the same chord. ui.key accepts the same notation. Adds time.workAreaStart / time.workAreaEnd.

(cherry picked from commit 209543e)

(cherry picked from commit f8301a9e3e0b60e200e8a233455398741658481e)
(cherry picked from commit 4d002fa)

(cherry picked from commit 5d466c5955ee934d5347c194ec7d15fb5f58bba4)
…End, as in After Effects

Split out of 7782ab0 (shapes: Reverse Path Direction …; work area keys) for upstream, where it
belongs with the commands it binds.

(cherry picked from commit 7782ab0)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F2dXDtF1ivCLP4tQwFveQ4

(cherry picked from commit b58cfb7434e147535e66582718b8856bd3ce1230)
(cherry picked from commit ff48760)

(cherry picked from commit 79d083a8c2a0bfa4663445257149a0d0ce491987)
…der clicks work

The Timeline footer's zoom-out / zoom-in mountain icons were painted but not
interactive, and the zoom slider only reacted to drags (a click on the track did
nothing) and set the zoom without the whole-comp clamp. The icons are now buttons
(timeline.zoomOutButton / timeline.zoomInButton, one = / - step), the slider
jumps on click, and both go through set_zoom, centred on the CTI.

The layer bars and the Graph Editor share one time zoom (TimelineState start /
pps, as in After Effects); regression tests drive = / -, the buttons, the slider
and the navigator over the control channel in both views and check switching
views keeps the zoom.

Co-Authored-By: Claude <noreply@anthropic.com>
(cherry picked from commit 2ee0fb6)

(cherry picked from commit f1997d32d4c51b58467a04944889131fd741a22a)
(cherry picked from commit 1c25aeb)

(cherry picked from commit 81d7fcccfc91f76f7b9640cbb7d3f75dcea56e30)
Opening the Graph Editor (header button, menu, Shift+F3, control channel)
frames the graphs on its first frame: Fit Selection to View when keys are
selected, else Fit All Graphs to View. Switching value/speed graph refits
too (different units). A selected key now shows its property's graph even
when its layer isn't selected, and Fit Selection on a lone key also frames
its neighbouring keys.

Co-Authored-By: Claude <noreply@anthropic.com>

(cherry picked from commit a3c95f6)

(cherry picked from commit d6309ffad79b91676d6409d1845de508e485873d)
(cherry picked from commit 78f5574)

(cherry picked from commit 7a4e160434b7bf1289cbf5900a86715814d1c791)
… in the graph

Co-Authored-By: Claude <noreply@anthropic.com>

(cherry picked from commit 6277a98)

(cherry picked from commit 646f4055b180d98ccc6ac6898b64ba97f9e2ad7d)
(cherry picked from commit b21932e)

(cherry picked from commit 0d6b93962e123b2e0179622f2abd472cfa9015ac)
…scrolls with the CTI

Co-Authored-By: Claude <noreply@anthropic.com>

(cherry picked from commit 562bfa5)

(cherry picked from commit 0779d6944ede8afdff6ab49ea5d2caad19dfbfa3)
(cherry picked from commit 38e224f)

(cherry picked from commit 5e7b68be23ace400d92672ebf41c59124d29b101)
@h-a-n-a-s-h-i
h-a-n-a-s-h-i merged commit 287c35d into storytold:main Oct 13, 2026
h-a-n-a-s-h-i pushed a commit that referenced this pull request Oct 13, 2026
…ands together

- Keyboard Shortcuts: Enter is not Delete while the delete confirmation is open (#1113 with #1019).
- Speed graph drag test compares proportions, since the Graph Editor now fits its selection (#1182 with #1109).
- Spanish panel test no longer demands the Chinese catalogs' exact rows (#996 with #1189, #1019).
- Object Matte gets its Simplified Chinese effect-name row (#1199 with #792).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@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.

5 participants