Skip to content
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

在Big Sur中,启动后默认开启的设置菜单卡顿 #121

Open
Kingfish404 opened this issue Dec 16, 2020 · 3 comments
Open

在Big Sur中,启动后默认开启的设置菜单卡顿 #121

Kingfish404 opened this issue Dec 16, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@Kingfish404
Copy link

What is the issue?

在Big Sur中,启动后默认开启的设置菜单卡顿

How does one reproduce the issue?

打开开机自动启动,重启后进入设置界面,切换设置的模块,菜单会发生卡顿,需要一段时间才能成功切换模块

Screenshots

卡顿无截图

Debug information (Logs, OS, Hardware, Version, etc.)

macOS Big Sur 11.1 (20C69)

@Kingfish404 Kingfish404 added the bug Something isn't working label Dec 16, 2020
@Ji4n1ng
Copy link
Owner

Ji4n1ng commented Jan 19, 2021

这是因为在切换时,OpenInTerminal 会去你的应用程序文件夹找你安装的应用有没有受支持的应用。可能你的 /Applications~/Applications 两个文件夹里的应用太多了,所以会卡顿。这很难说是一个bug,因为这是必须要检查的。

@Ji4n1ng Ji4n1ng closed this as completed Jan 19, 2021
@Kingfish404
Copy link
Author

Kingfish404 commented Jan 19, 2021

建议,那这种扫描可以切换成换成手动的么?只有初次安装时扫描自动安装,应该没有必要每次切换都去扫描

@Ji4n1ng
Copy link
Owner

Ji4n1ng commented Jan 20, 2021

有必要。比如说用户最近刚安装了某个编辑器,并想设置为默认编辑器,那么就需要在每次打开的时候都扫描一下。不过,可以把这个扫描过程从主线程拿掉,放到另一个线程,免得UI卡。

@Ji4n1ng Ji4n1ng reopened this Jan 20, 2021
@Ji4n1ng Ji4n1ng added enhancement New feature or request and removed bug Something isn't working labels Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants