Repository navigation
Conversation
…s at the pointer
A small search bar opens at the pointer (Edit > Effect Console..., app.fxConsole {query?}).
It ranks effects, text presets and user presets by name, word starts, initials (gb = Gaussian
Blur) and letters in order, boosting recent and favourite effects and sinking Obsolete ones.
Enter applies to the selected layers and closes, Shift+Enter applies and stays open, arrows
choose, Escape / Ctrl+Space / a click outside close. With no text it lists recent effects.
Off macOS a Ctrl shortcut now also expects the command flag egui reports with Ctrl.
(cherry picked from commit c88580b)
(cherry picked from commit c508d92a93299f0f5ec7986fc1c6f84aa243ff33)
(cherry picked from commit 36f3d65)
(cherry picked from commit ca3b1ee83c1c510cbff3177d7ec02040026516b1)
…alogues Every fixed menu entry needs a translation in each catalogue (i18n::tests::every_translation_key_exists_in_the_actual_menu_tree). (cherry picked from commit fe197b351cf60ca431078d31dfa05f6cb4116f73)
|
Thank you for this, @eliasx45! Thanks for the Effect Console. We're holding it for one maintainer decision, picking it or #918 (both add Ctrl+Space). One thing to check meanwhile: If you are not on our Discord yet, please join us: https://discord.gg/artcraft |
…with the same keys Review on storytold#1105: parse_shortcut now gives Ctrl the command flag off macOS (egui reports both for the Ctrl key), so Ctrl shortcuts fire there; before, they never matched. That makes Ctrl+X and Cmd+X the same keys off macOS: the default preset has no such pair (its only Ctrl shortcuts are Ctrl+Space and the macOS-only Ctrl+Cmd+F), and a custom Ctrl binding that would collide with a Cmd one is now not bound, so no existing Cmd shortcut changes behaviour. Test: ctrl_shortcuts_never_take_over_cmd_ones; dispatch_uses_the_active_custom_preset rebinds to Ctrl+Alt+J (Ctrl+Alt+H is Toggle Hold Keyframe's Cmd+Alt+H off macOS). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014d65YdNxQmjRkbXRtP2NwH
…l/Cmd collision guard
|
@echelon Merged main (conflict in menus.rs resolved, keeping both the Physical+ skip and the Ctrl/Cmd collision guard). Shortcut tests pass (menus:: 17/17), including ctrl_shortcuts_never_take_over_cmd_ones. It checks that every default binding still binds to the same keys and command, so no existing Ctrl shortcut changes behaviour. Off macOS, a Ctrl binding is dropped only when a Cmd binding already uses the same keys. I haven't run the full cargo xtask ci locally; CI here covers it. |
|
@echelon Current-main integration is pushed with the Ctrl/Cmd collision guard retained. Strict all-target Clippy passes (including shortcut/UI test compilation). Two focused tests of the committed shortcut parser/matcher pass in macOS and non-macOS modifier modes, covering Cmd/Ctrl aliases, Ctrl+Shift, Ctrl+Space and the plus key. Full UI shortcut execution and Windows/Linux GUI QA were not rerun. The choice versus #918 remains for maintainers. |
|
Hi @eliasx45, thanks for this PR! Most of the conflict comes from the shared module layout (#2491), which moved or split files this PR touches:
When you rebase, please also make sure it fits the other recent changes:
CI ( |
What
Edit ▸ Effect Console... (Ctrl+Space,
app.fxConsole {query?}): a small search bar at the pointerthat applies effects and presets to the selected layers.
gb= GaussianBlur) and letters in order; recent and favourite effects rank higher, Obsolete ones lower.
/ a click outside close. With no text it lists recent effects.
Ctrl+Space never matched there).
docs/control-protocol.mdlistsapp.fxConsoleand its automation ids; the menu entry istranslated in all ten catalogues.
Why
A fast, keyboard-first way to apply effects at the pointer (like the popular Effects Console
extension for After Effects). Split out of #858 as asked.
How tested
crates/ui-egui/tests/ui_fx_console.rs(open at the pointer, ranking, apply, Shift+Enter,close); written with the change, not re-run on this branch.
rustfmt --checkandcargo checkon the affected crates on current upstreammain.Current upstream integration
Merged current upstream main and retained the Ctrl/Cmd collision guard and its regression test. Formatting and strict workspace/all-target release Clippy passed, including compilation of UI regression targets. Full runtime CI and interactive UI QA were not rerun for this integration update. The choice between this PR and open #918 remains with maintainers.
Focused shortcut follow-up: two isolated tests of the committed parser/matcher passed with macOS and non-macOS compile-time modifier branches selected explicitly. They cover Cmd/Ctrl aliases, Ctrl+Shift, Ctrl+Space and the plus key. This is a source-level platform-mode check, not a Windows/Linux GUI execution.