ShoroukAziz / Beautify-Anki

An Anki addon that attempts to give Anki's deck browser and deck overview pages a material design look.
http://beautify-anki.shorouk.dev/
GNU Affero General Public License v3.0
151 stars 15 forks source link

Subdecks flashing issue #65

Open Scoubines opened 2 years ago

Scoubines commented 2 years ago

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 commented 2 years ago

Any ideas?

Scoubines commented 1 year ago

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

AkiraRy commented 1 year ago

Same issue

Tokukarin commented 1 year ago

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 commented 1 year ago

I fixed the issue.

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

Tokukarin commented 1 year ago

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

Scoubines commented 1 year ago

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!

Tokukarin commented 1 year ago

@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 commented 1 year ago

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 commented 1 year ago

@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.