Skip to content

The global shortcut key of the plugin cannot be bound again #14582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
Wetoria opened this issue Apr 12, 2025 · 4 comments
Closed
3 tasks done

The global shortcut key of the plugin cannot be bound again #14582

Wetoria opened this issue Apr 12, 2025 · 4 comments
Assignees
Milestone

Comments

@Wetoria
Copy link

Wetoria commented Apr 12, 2025

插件全局快捷键无法再次绑定

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

当绑定了全局快捷键以后,更换或者删除已有快捷键,不能再次绑定原有快捷键,需要重启app才能重新绑定。

复现方式:设置 - 快捷键 - 叶归 - 一键记事,绑定任意快捷键,删除,再次绑定前一步的快捷键。

此时该快捷键没有任何反应,必须重启 app 才能重新绑定。感觉应该是全局快捷键在更新时,没有清理 electron 中绑定的快捷键。

Expected result

不需要重启也可以重新设置

Screenshot or screen recording presentation

No response

Version environment

- Version: 
- Operating System: 
- Browser (if used):

Log file

More information

No response

@TCOTC
Copy link
Contributor

TCOTC commented Apr 12, 2025

只有叶归插件才有这个问题是吗?内置的快捷键和我的插件都没重现问题

@Wetoria
Copy link
Author

Wetoria commented Apr 12, 2025

只有叶归插件才有这个问题是吗

不确定,在写文档,没做全面测试。

简单测试了一下是【只有一键记事是有这个问题】,感觉应该是插件中使用了 globalCallback 的会有。

测了叶归【开/关插件】的快捷键,是没有这个问题,唯一区别是 globalCallback

Vanessa219 added a commit that referenced this issue Apr 14, 2025

Verified

This commit was signed with the committer’s verified signature.
@Vanessa219
Copy link
Member

我的是删除后就无法再次绑定,表现有点不一致,还麻烦再看看。

@Vanessa219 Vanessa219 added this to the 3.1.28 milestone Apr 14, 2025
@Vanessa219 Vanessa219 changed the title 全局快捷键问题 插件全局快捷键无法再次绑定 Apr 14, 2025
@88250 88250 changed the title 插件全局快捷键无法再次绑定 The global shortcut key of the plugin cannot be bound again Apr 14, 2025
@Wetoria
Copy link
Author

Wetoria commented Apr 15, 2025

测了一下dev版本,能够再次绑定了。

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

No branches or pull requests

3 participants