Closed
Description
插件全局快捷键无法再次绑定
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
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
TCOTC commentedon Apr 12, 2025
只有叶归插件才有这个问题是吗?内置的快捷键和我的插件都没重现问题
Wetoria commentedon Apr 12, 2025
不确定,在写文档,没做全面测试。
简单测试了一下是【只有一键记事是有这个问题】,感觉应该是插件中使用了 globalCallback 的会有。
测了叶归【开/关插件】的快捷键,是没有这个问题,唯一区别是 globalCallback
🎨 #14582
Vanessa219 commentedon Apr 14, 2025
我的是删除后就无法再次绑定,表现有点不一致,还麻烦再看看。
[-]全局快捷键问题[/-][+]插件全局快捷键无法再次绑定[/+][-]插件全局快捷键无法再次绑定[/-][+]The global shortcut key of the plugin cannot be bound again[/+]Wetoria commentedon Apr 15, 2025
测了一下dev版本,能够再次绑定了。