Skip to content

Restore effect shortcuts saved by the user after effects register - #12145

Merged
grliszas14 merged 1 commit into
audacity:masterfrom
grliszas14:shortcuts_saving
Sep 15, 2026
Merged

grliszas14 merged 1 commit into
audacity:masterfrom
grliszas14:shortcuts_saving

Conversation

@grliszas14

Copy link
Copy Markdown
Contributor

Resolves: #11903

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Testflow test cases have been run

@coderabbitai

coderabbitai Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: d371d4c8-1ce6-4ad4-baa1-f22f9b3f2161

📥 Commits

Reviewing files that changed from the base of the PR and between 97d74f4 and 397eabe28baa12813d6e7a168d74c5e098d57243.

📒 Files selected for processing (2)
  • src/effects/effects_base/internal/effectsactionscontroller.cpp
  • src/effects/effects_base/internal/effectsactionscontroller.h

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

EffectsActionsController now injects IShortcutsRegister. After it registers UI actions, registerActions calls shortcutsRegister()->reload() to reload keyboard shortcuts.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~5 minutes

Severity of issue fixed: Medium

Merge Risk: ⚪ Minimal · up to 3ead4

Effect actions are registered before persisted shortcuts are reloaded, and later shortcut initialization reloads them again; no merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states that effect shortcuts are restored after effects register. It directly matches the main change and the stated objective.
Description check ✅ Passed The description includes the linked issue and completes the checklist. It does not include the template's separate short description and motivation, and Testflow testing remains unchecked, but the des…
Linked Issues check ✅ Passed For #11903, EffectsActionsController now injects IShortcutsRegister and calls shortcutsRegister()->reload() after effect actions are registered. This restores persisted shortcuts for effect acti…
Out of Scope Changes check ✅ Passed The changes are limited to shortcut-register access and reload timing in EffectsActionsController. These changes directly support #11903 and do not introduce unrelated behavior.

Warning

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@grliszas14
grliszas14 merged commit 58ca477 into audacity:master Sep 15, 2026
7 of 10 checks passed
@grliszas14
grliszas14 deleted the shortcuts_saving branch September 15, 2026 11:36
kryksyh added a commit that referenced this pull request Sep 22, 2026
Restore effect shortcuts saved by the user after effects register (#12145)
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.

Shortcuts are not saved in Audacity Beta 4

2 participants