When launching via the UI nothing happens. Running the build from the terminal yields:
$ /Applications/Anki.app/Contents/MacOS/anki -b Tests/Anki/anki
Anki starting...
Initial setup...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "aqt", line 39, in <module>
File "anki.lang", line 12, in <module>
File "anki._backend", line 15, in <module>
File "anki.backend_pb2", line 5, in <module>
ImportError: cannot import name 'builder' from 'google.protobuf.internal' (unknown location)
The Intel builds and earlier Apple Silicon betas seem unaffected.
The UI changes look really nice! A few things Iâve noticed:
When the buttons shown in this screenshot are clicked, the top of the button doesnât look quite right and there are ugly corners at the top-left of the âDecksâ button and the top-right of the âSyncâ button
Also, the change in appearance when the cursor hovers over a button is almost imperceptible.
After a tag is added to a card, there is still a problem where an empty tag is shown after the cursor:
I found this bug in previous betas, but I didnât understand that it was a bug. When importing a deck via .csv, the tags option does not appear. However, when increasing the screen size, the function appears.
In the browse window, if you click to filter cards by the red flag, the red flag will change to white, and it will not change back even after clicking to filter by something else. It appears to remain white until relaunching Anki. The other colors do not seem to have the same problem.
I have noticed occasional flashes in the add window, where I think the fields very briefly disappear and reappear. I have not yet found what specific action or sequence causes it to happen. It just happens sometimes as I add cards. I have not noticed this on previous versions of Anki. Has anyone else noticed this?
Thank you @MIZMU for providing the stylesheet suggestion. I reckon youâre running Anki on Windows?
The drop-shadow and padding can be implemented, but sadly, rounded borders for top-level widgets like QMenu are problematic on Linux:
Sample screenshots with exaggerated radius
XWayland
Wayland
Perhaps this issue doesnât exist on Windows, but I do not have a dev build set up on Windows right now, so Iâd rather hold back on implementing such a risky feature.
Best I can do right now is this:
At everyone: Thanks for your thorough testing. I have written down all the issues on a task list and Iâm working on the fixes. I ask for your understanding that from now on there will be no additional UI changes, only bug fixes and color tweaks.
Dang, Iâm pretty sure what caused this, and thought I tested to make sure it was working. Should hopefully be fixed in the next beta; in the mean time Mac users, please use the Intel build.
The default background color for cards is set to white. Itâs gray on your screenshot, so you probably either used var(--window-bg) or its hex value in your template to match the background with the toolbars. Most colors along with their variable names have changed. Youâll find a detailed map of old â new names shortly before the 2.1.55 release.
Also in this beta, Ankiâs CSS variables were erronously not included in the reviewer stylesheets. Theyâll be included in the next release again.
Anki uses its new global button style in the reviewer css. I can add a default margin to them. You should also be able to overwrite the styles in the card template.