Beautify-Anki icon indicating copy to clipboard operation
Beautify-Anki copied to clipboard

Subdecks flashing issue

Open Scoubines opened this issue 3 years ago • 10 comments

Hi everyone,

I'm having a weird flashing issue when I unroll or roll any subdeck in the Deck view.

As you can see in the video, there is a short flash that appears on all the Anki window when I click on the subdeck icon to unroll or roll it. The even more strange thing is that it's not consistent as it will unroll/roll smoothly with no flash at all some times.

Any ideas? Is that a known bug or just me?

Thank you!

https://user-images.githubusercontent.com/22985030/181452022-b2e02ccf-f233-4d7b-b149-09f51a364220.mp4

Scoubines avatar Jul 28 '22 07:07 Scoubines

Any ideas?

Scoubines avatar Sep 09 '22 18:09 Scoubines

Am I the only one to have this flashing issue??

Scoubines avatar Jan 24 '23 19:01 Scoubines

Same issue

AkiraRy avatar Jan 27 '23 20:01 AkiraRy

Duplicate of #41

Quote:

hi, I understand it's annoying but the way Anki works, it renders the whole page each time you expand or collapse a deck. I'll see if I can change that but no promises

Tokukarin avatar Mar 17 '23 14:03 Tokukarin

I fixed the issue.

@ShoroukAziz, my newest pull request fixes 3 open issues :smile:

Tokukarin avatar Mar 17 '23 14:03 Tokukarin

For everyone subscribed, you can use the release of my fork for the time being: https://github.com/Tokukarin/Beautify-Anki

Tokukarin avatar Mar 17 '23 14:03 Tokukarin

Hi Tokukarin,

Thank you for your kind effort! I've tried this new version but there is still a tiny flashing each time. Can you double check? I'm using Anki latest Version ⁨2.1.60 on Mac

Thanks!

Scoubines avatar Mar 17 '23 15:03 Scoubines

@Scoubines I am using it on 2.1.54 I did not try 2.1.60 yet, give me a few minutes, I'm gonna test 2.1.60 on Mac. (Never used Anki on Mac so I need to figure that out too)

Tokukarin avatar Mar 17 '23 15:03 Tokukarin

Well I don't use Macs at all, so no Idea why I am having the issue that the top bar is missing, I am gonna check If it breaks through my change. BUT as you can see it, it works.

![Watch the video]

Edit:

  1. My fix does not cause the upper bar to be void
  2. Without my fix it is flashing, so my fix does work

Tokukarin avatar Mar 17 '23 15:03 Tokukarin

@Scoubines I am precisely using: Anki: 2.1.60 (76d88073) With and this is IMPORTANT: Python QT 6.3.2 PyQt: 6.3.1

There are two versions available Python QT 6 and 5. Check which one you have. If you have the 5 version then this could the issue.

If not try to disable everything except the release of my fix (https://github.com/Tokukarin/Beautify-Anki) and the Review Heatmap If you have it.

Tokukarin avatar Mar 17 '23 15:03 Tokukarin