Skip to content

fix: toggle extension should register/unregister hotkey#691

Merged
medcl merged 1 commit intomainfrom
fix/disable_enable_hotkey
Jun 17, 2025
Merged

fix: toggle extension should register/unregister hotkey#691
medcl merged 1 commit intomainfrom
fix/disable_enable_hotkey

Conversation

@SteveLauC
Copy link
Copy Markdown
Member

@SteveLauC SteveLauC commented Jun 16, 2025

What does this PR do

Before this PR, when an extension was disabled, its registered hotkey would still work, which should not happen since the extension is disabled. This PR fixes the issue.

Also, disabled extensions can no longer be modified and will appear grayed out in the settings page:

Screenshot 2025-06-17 at 4 13 51 PM

Rationale for this change

Standards checklist

  • The PR title is descriptive
  • The commit messages are semantic
  • Necessary tests are added
  • Updated the release notes
  • Necessary documents have been added if this is a new feature
  • Performance tests checked, no obvious performance degradation

@SteveLauC SteveLauC force-pushed the fix/disable_enable_hotkey branch 3 times, most recently from 809cf81 to ce3c8c5 Compare June 17, 2025 08:29
@SteveLauC SteveLauC changed the title fix: enable/disable extension should set/unset hotkey fix: enabl/disabling extension should set/unset hotkey Jun 17, 2025
@SteveLauC SteveLauC marked this pull request as ready for review June 17, 2025 08:30
@SteveLauC SteveLauC changed the title fix: enabl/disabling extension should set/unset hotkey fix: toggle extension should register/unregister hotkey Jun 17, 2025
@SteveLauC SteveLauC force-pushed the fix/disable_enable_hotkey branch from dbc87b5 to e77543b Compare June 17, 2025 08:55
@medcl medcl merged commit e4f6fb8 into main Jun 17, 2025
1 check passed
@medcl medcl deleted the fix/disable_enable_hotkey branch June 17, 2025 08:56
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.

2 participants