在使用基于电子的应用程序时,比如slack或gpmdp,当我在输入栏中键入内容并切换键盘布局(我使用Alt+Shift
)时,按下Alt
会导致焦点移到菜单栏选择上。
因此,输入任何包含两种语言的内容都是令人恼火的。
如何关闭焦点丢失?
发布于 2020-08-27 18:50:21
我在Zulip v5.4.2和Postman v7.30.1中遇到过这个问题。
我对这个电子错误的workaround:
在Linux上
cd /opt/Zulip/resources
cp app.asar app.asar.bak
npx asar extract app.asar app-unpacked
cp app.asar app.asar.bak
nano ./app-unpacked/app/main/menu.js
label: t.__('File')
to label: t.__('&File')
label: t.__('Edit')
to label: t.__('&Edit')
npx asar pack app-unpacked app.asar
在Windows上
您可以将7zip归档程序与asap plugin一起使用
https://stackoverflow.com/questions/58523291
复制相似问题