Anki 2.1.55 Beta 3+

@dae having a bit of trouble getting the Apple Silicon build to run (anki-2.1.55+beta3_e5c4ccf0-mac-apple-qt6.dmg).

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.

2 Likes

When you want to place the cursor before the text (in the editor), the margin gets in the way.

You have to make an effort to find the exact point so that the marker is caught.

I hope I am understood

The UI changes look really nice! A few things I’ve noticed:

  1. 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
    image
    Also, the change in appearance when the cursor hovers over a button is almost imperceptible.

  2. After a tag is added to a card, there is still a problem where an empty tag is shown after the cursor:
    image

2 Likes

I also am getting the same error with the same build (beta3 apple qt6).
Macbook Air 2020 M1, macOS 12.3.1.

I can’t launch from using Spotlight Search nor clicking the app icon.

1 Like

Unfortunately I don’t have any time these days for testing, but to me UI changes are great, and now Anki looks much better overall.

Thanks, kleinerpirat!

1 Like

This is what happens when you maximize the deck options screen and click on a list at the bottom of the screen:

2 Likes

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.

Also, notice that “Allow HTML in Fields” is weird.

When I change the resolution, the tag options in Field Mapping reappears.

Sorry about the lines and dots. I forgot to deactive it.

A couple of issues:

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

Screen Shot 2022-10-30 at 7.06.46 AM

  1. 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?
1 Like

Also unable to launch on macbook air m1 macOS monterey 12.6

When turning on “Reduce Traffic” in “Preferences”.

There is no access to the fields in the editor and browser


1 Like

Some headings in deck options need line breaks.

(Actually tested on the latest main)

1 Like

Windows 10 qt6

  • “About” window does not change font color in night mode.
  • Links do not change font color in the reviewer. I think this is because links’ color is set to --fg-link, which is not defined in reviewer.css?
1 Like

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:

image

Sample screenshots with exaggerated radius

XWayland

image

Wayland

image

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:

image


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.

8 Likes

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.

2 Likes

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.

Sorry, I explained myself poorly. With default I meant “the color of the cards’ background if you do not specify any in the template”

I see, you mean when you remove the default background line entirely. This will also be fixed with Fix CSS vars not being included in reviewer by kleinerpirat ¡ Pull Request #2155 ¡ ankitects/anki ¡ GitHub, as it was also caused by the missing variables.

For some odd reason I can’t reproduce this issue. These are <h2> elements and should have display: block by default.

I do run anki on Windows.
The stylesheet I shared works fine for me:

A post was split to a new topic: Decks disappeared?