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

自动展示功能会被自动取消 #3354

Open
huanghonghaiaa88 opened this issue Aug 12, 2024 · 6 comments
Open

自动展示功能会被自动取消 #3354

huanghonghaiaa88 opened this issue Aug 12, 2024 · 6 comments

Comments

@huanghonghaiaa88
Copy link

当鼠标点击软件窗口外,自动展示功能会被自动取消,希望不会被取消。
版本是 24.06.3。

@OuOu2021
Copy link

我也是这样,我试着看看代码吧

@OuOu2021
Copy link

image
事实上代码就是这样写的,但我不知道为什么要这么设计

@dae
Copy link
Member

dae commented Aug 15, 2024

The goal is to prevent users from accidentally having all their cards answered when they switch away to a different window / start editing the current card, etc.

@huanghonghaiaa88
Copy link
Author

其实对于某部分用户来说,是比较希望能后台运行的。比如,我正在上班摸鱼,我想打开两个窗口,一个窗口编辑文档,一个窗口使用Anki学习(Anki不会被中断)。

@OuOu2021
Copy link

The goal is to prevent users from accidentally having all their cards answered when they switch away to a different window / start editing the current card, etc.

Would it better to suspend auto_advance or pause the timer temporarily instead of disabling auto_advance when the focus is changed?

@dae
Copy link
Member

dae commented Sep 10, 2024

That would result in auto advance resuming when the user switches back to the app, which I think some users wouldn't appreciate. It also doesn't help you, if your use case is to open Anki and then switch another app into the foreground.

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

No branches or pull requests

3 participants