anki icon indicating copy to clipboard operation
anki copied to clipboard

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

Open huanghonghaiaa88 opened this issue 1 year ago • 8 comments

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

huanghonghaiaa88 avatar Aug 12 '24 10:08 huanghonghaiaa88

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

OuOu2021 avatar Aug 12 '24 16:08 OuOu2021

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

OuOu2021 avatar Aug 13 '24 02:08 OuOu2021

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.

dae avatar Aug 15 '24 11:08 dae

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

huanghonghaiaa88 avatar Aug 16 '24 09:08 huanghonghaiaa88

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?

OuOu2021 avatar Aug 16 '24 10:08 OuOu2021

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.

dae avatar Sep 10 '24 20:09 dae

I agree that it is very inconvenient to have to enable Auto Advance every time I start studying a different deck or alt+tab (for searching more about a card or even looking at a dictionary)

It makes sense to ignore the Question action/Answer action when alt+tab for the single current card, but disabling auto advance completely, even when changing between decks, seems counterintuitive

Thiago-Morais avatar Feb 04 '25 05:02 Thiago-Morais

@OuOu2021 源代码是哪个文件?能否自己DIY一下把代码注释掉?谢谢大佬,这个很重要

dentistfrankchen avatar Oct 27 '25 23:10 dentistfrankchen