# Anki 2.1.55 Beta 3+

**URL:** <https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295>\
**Category:** Beta Testing\
**Created:** [October 29, 2022, 2:02am UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295 "2022-10-29T02:02:26Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [October 31, 2022, 10:00pm UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/41 "2022-10-31T22:00:43Z")

</div>

Looks like setting `flex-direction: column` on .row fixes this. I have no idea why this is only an issue with some rows.

This patch fixes it anyway (not sure if it’s the right solution):

```auto
diff --git a/ts/deck-options/HelpSection.svelte b/ts/deck-options/HelpSection.svelte
index 47ff91c9e..fa967c30d 100644
--- a/ts/deck-options/HelpSection.svelte
+++ b/ts/deck-options/HelpSection.svelte
@@ -20,6 +20,8 @@
             {@html section.title}
         {/if}
     </h2>
+</Row>
+<Row>
     {#if section.help}
         {@html marked(section.help)}
     {:else}

```

---

<div class="post-metadata">

**Author:** ![pavreh](https://avatars.discourse-cdn.com/v4/letter/p/0ea827/32.png) [@pavreh](https://forums.ankiweb.net/u/pavreh)\
**Post date:** [November 1, 2022, 9:31am UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/42 "2022-11-01T09:31:51Z")

</div>

Hi,

Add-ons box in the deck options cannot be translated:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/7/71692f02a9b797d9001260fb3aec696e7fa1b9b7.png)

In the hint window in the deck options, the reference to the manual cannot be translated:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/0/0fc6b0ff58f6e6c38745e42a503db5d714a654c0.png)

---

<div class="post-metadata">

**Author:** ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)\
**Post date:** [November 1, 2022, 10:02am UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/43 "2022-11-01T10:02:36Z")

</div>

> [@pavreh](#):
>
> In the hint window in the deck options, the reference to the manual cannot be translated:

This one should actually be translatable. I added a new .ftl file called “help”. Perhaps this isn’t reflected in the online translation service yet, @dae?

---

<div class="post-metadata">

**Author:** ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)\
**Post date:** [November 1, 2022, 11:30am UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/44 "2022-11-01T11:30:59Z")

</div>

> [@garrettm30](#):
>
> ![Screen Shot 2022-10-29 at 11.57.36 AM](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/8/816d6b14e16f109a46da290207f4f8dc6707accd.png)
> 
> The buttons in the add window (above) look inconsistent in two respects:
> 
> 1. The format buttons should be the same height as the Field, Cards and Settings (or whatever we should call the gear icon).
> 2. The Type and Deck buttons at the top do not match the other buttons, and now they look out of place.

# Apparent height difference

The buttons all have the same height, but disabled ones do not have a box-shadow.

#### no box-shadow on disabled buttons

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/3/3088b5d5e538615ab5b75a5f84300cba32c78783.png)

#### box-shadow for all buttons

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/d/dd79037fc686524a3dd6d99eec591a2e4cd53093.png)

Notice that it’s much more difficult to spot which buttons are clickable? I’m open for alternatives, but I think a box-shadow for everything would make disabled buttons look too clicky.

# QPushButton not matching webview button

Re 2: The Type and Deck buttons are `QPushButtons` (= Qt Widgets) and are not part of the webview.

I gave these widgets custom styles for Windows/Linux that recreate the look of the web counterparts, but for macOS we’ll keep the native styles, because they’re a bit more polished. I’ll implement separate webview styles for macOS to make all buttons look the same.

This beta was released a bit too early for that, though. Reason was to get some feedback over the weekend.

---

<div class="post-metadata">

**Author:** ![garrettm30](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/garrettm30/32/1268_2.png) [@garrettm30](https://forums.ankiweb.net/u/garrettm30)\
**Post date:** [November 1, 2022, 1:25pm UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/45 "2022-11-01T13:25:49Z")

</div>

> [@kleinerpirat](#):
>
> Notice that it’s much more difficult to spot which buttons are clickable? I’m open for alternatives, but I think a box-shadow for everything would make disabled buttons look too clicky.

Thank you for that observation. Given the alternatives, I still prefer uniform shadow. For one thing, the shadow hints at the real-world appearance of a button sticking up from its surface, which would be the case whether activated or deactivated. Since we are used to “grayed out” as an indicator for deactivated, I suggest a little more aggressive (that is, lighter) gray. Another alternative to try might be to slightly darken the background of the deactivated buttons. Then the whole button would be “grayed out,” as the total contrast between background and text would be further reduced as compared to the activated form.

Edit: would it also help to lighten the shadow while still giving it the same apparent size?

---

<div class="post-metadata">

**Author:** ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)\
**Post date:** [November 1, 2022, 1:39pm UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/46 "2022-11-01T13:39:59Z")

</div>

> [@garrettm30](#):
>
> Edit: would it also help to lighten the shadow while still giving it the same apparent size?

The elevation maps used for the box-shadow are a bit too big, even at the smallest level (1). Lightening the shadow would be an option, but it would still look a bit rough.

I made an alternative with [#2159](https://github.com/ankitects/anki/pull/2159), where buttons are flat on all platforms and only get a slight gradient on hover for Win/Lin. The bottom border is slightly darker than the top, making for an ever-so-slight elevation effect without the need for a box-shadow.

Here’s a sample:

## Field focused

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/e/e3d0248f591660aa65c868c700db8d3baacfcaa6.png)

## No field focused

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/7/73e2050c7ddaa0854a148f60a95bb731fcc05733.png)

---

<div class="post-metadata">

**Author:** ![garrettm30](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/garrettm30/32/1268_2.png) [@garrettm30](https://forums.ankiweb.net/u/garrettm30)\
**Post date:** [November 1, 2022, 1:45pm UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/47 "2022-11-01T13:45:14Z")

</div>

That looks better. Even the active buttons look better in my opinion. It might have the added benefit that the difference on Mac between those buttons and the Type and Deck buttons will be far less obvious.

---

<div class="post-metadata">

**Author:** ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)\
**Post date:** [November 1, 2022, 1:47pm UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/48 "2022-11-01T13:47:07Z")

</div>

> [@garrettm30](#):
>
> It might have the added benefit that the difference on Mac between those buttons and the Type and Deck buttons will be far less obvious.

That was the main reason for the PR 🙂

I had two choices:

1. create separate webview styles for macOS (cumbersome)
2. revert the 3d effect for Win/Lin and adjust the webview buttons for all platforms

I went for 2. IMO styles should be the same across all platforms and this is a step towards that goal.

---

<div class="post-metadata">

**Author:** ![cqg](https://avatars.discourse-cdn.com/v4/letter/c/e95f7d/32.png) [@cqg](https://forums.ankiweb.net/u/cqg)\
**Post date:** [November 1, 2022, 3:39pm UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/49 "2022-11-01T15:39:49Z")

</div>

A couple of observations about GUI:

- Duplicated notes are not showed in red anymore:  
2.1.54:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/4/41784a7cdcc7e5010a2952165e2c27ba24c16efb.png)

2.1.55:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/2/239466ec79935914d93f28a55168fc14c1102d48.png)

I think the old behaviour was better and clearer, specially for new users who may not know what “Show duplicates” actually mean.

- In 2.1.54 when you clicked in an up-down control and keep the moused pressed, this is what happens:  
 ![1](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/d/d5c422a53932ac45b6fc34dd000a650c613234cd.gif)

However, this standard behaviour is not possible anymore with 2.1.55 (nothing serious, but probably not what most users would expect)  
 ![2](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/c/c8b6a24b2ca57f2fe8a55f6a94cc353032c95e43.gif)

---

<div class="post-metadata">

**Author:** ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)\
**Post date:** [November 1, 2022, 3:49pm UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/50 "2022-11-01T15:49:23Z")

</div>

> [@cqg](#):
>
> Duplicated notes are not showed in red anymore:  
> 2.1.54:

This was accidental and will be fixed with [Add back thick field focus border by kleinerpirat · Pull Request #2160 · ankitects/anki · GitHub](https://github.com/ankitects/anki/pull/2160).

The border changes color to red for duplicates.

---

<div class="post-metadata">

**Author:** ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)\
**Post date:** [November 1, 2022, 6:59pm UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/51 "2022-11-01T18:59:25Z")

</div>

> [@cqg](#):
>
> In 2.1.54 when you clicked in an up-down control and keep the moused pressed, this is what happens:

I’m sure we can add this behavior in the near future (**Edit: [added](https://github.com/ankitects/anki/pull/2163) ✅**), but as you said, it’s not the highest priority right now. For now, the mousewheel mechanic I implemented should be a sufficient replacement. If you didn’t notice yet, if you hover a focused spinbox you can increment/decrement the value by scrolling.

---

<div class="post-metadata">

**Author:** ![pwintz](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/pwintz/32/10112_2.png) [@pwintz](https://forums.ankiweb.net/u/pwintz)\
**Post date:** [November 2, 2022, 6:29am UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/52 "2022-11-02T06:29:46Z")

</div>

> [@kleinerpirat](#):
>
> Notice that it’s much more difficult to spot which buttons are clickable? I’m open for alternatives, but I think a box-shadow for everything would make disabled buttons look too clicky.

Using no shadows on disabled buttons makes it much clearer which are disabled. I’d leave it as-is.

---

<div class="post-metadata">

**Author:** ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)\
**Post date:** [November 2, 2022, 7:39am UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/53 "2022-11-02T07:39:09Z")

</div>

> [@jambamboleo](#):
>
> Just FYI, the deck presets issue is still present in beta 3.

I’m having trouble reproducing this. Changing presets seems to work for me… Did I understand correctly that it’s about updating from 2.1.54 to 2.1.55?

Maybe you could provide a simple test case to illustrate the issue?

---

<div class="post-metadata">

**Author:** ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)\
**Post date:** [November 2, 2022, 7:56am UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/54 "2022-11-02T07:56:01Z")

</div>

> [@Freya](#):
>
> One thing I feel could be changed a bit, is the font size of the field names in the browser editor and add card window. It feels a lot larger than before. My editing font of the first 2 fields is set to 16, which is already pretty large, and still the label sizes seem even larger.

On my 1920x1080 screen, 16px seems a bit small for my taste:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/3/3c04aace6b225a7d1cdde48f10130168ea748703.png)

But my vision is not the greatest, so I understand how others probably perceive the UI size differently. Also, there are platform differences in font-size:

> <https://github.com/ankitects/anki/blob/0c340c4f741c89bcc80f987ee236d506de6a1ad2/sass/buttons.scss#L13-L23>

> <https://github.com/ankitects/anki/blob/0c340c4f741c89bcc80f987ee236d506de6a1ad2/sass/base.scss#L67-L77>

Maybe it’s time to unify these values?

* * *

# Windows users: How do you feel about the UI size (e.g. editor buttons)?

_Poll ([view on site](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/54))_

# Linux users: How do you feel about the UI size?

_Poll ([view on site](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/54))_

# Mac users: How do you feel about the UI size?

_Poll ([view on site](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/54))_

---

<div class="post-metadata">

**Author:** ![chrislg](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/chrislg/32/32411_2.png) [@chrislg](https://forums.ankiweb.net/u/chrislg)\
**Post date:** [November 2, 2022, 9:03am UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/55 "2022-11-02T09:03:00Z")

</div>

I compiled until the 0770290765106bc7c9679e094c53193b1a8e790b commit and the answer buttons appear this way. Don’t know if it is fixed in following pull requests.

btw my User Interface Size is 125%

 ![Screenshot_20221102_105644](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/7/724a05168e98c89032ac7829f3eba172b74470d6.png)

---

<div class="post-metadata">

**Author:** ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)\
**Post date:** [November 2, 2022, 9:17am UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/56 "2022-11-02T09:17:54Z")

</div>

I just tested this on current main with UI scale 125% and it seems to be fixed. If it still happens in the next beta, please ping me 🙂

---

<div class="post-metadata">

**Author:** ![Freya](https://avatars.discourse-cdn.com/v4/letter/f/a9a28c/32.png) [@Freya](https://forums.ankiweb.net/u/Freya)\
**Post date:** [November 2, 2022, 11:59am UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/57 "2022-11-02T11:59:34Z")

</div>

The rest of the Anki UI is actually a bit small to me by default (I’m also on Windows). It’s just the font of the field names that feels disproportionately large when compared to other elements, in my opinion. But all in all it’s not a huge issue and definitely something I can live with!

---

<div class="post-metadata">

**Author:** ![jambamboleo](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@jambamboleo](https://forums.ankiweb.net/u/jambamboleo)\
**Post date:** [November 2, 2022, 3:04pm UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/58 "2022-11-02T15:04:44Z")

</div>

Take this deck for example:

Enhance main window:

 ![imagen](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/1/18032fa771934197a6a915b9fd26c504e75162af.png)  
Deck options screen 2.1.55 beta:  
 ![imagen](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/e/e885264631d69ffdab643a50baa4d7bf2a15f08c.png)

Deck options screen in 2.1.54:  
 ![imagen](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/9/9142cafa7db13def9d635bce2558b2869f5d881a.png)

I didn’t switch the preset, the change is made by simply starting the other Anki version.

[Here the deck is uploaded as .colpkg](https://upload.disroot.org/r/emKqZX1j#fT1SIVuw0xrc+HLGY7H8l3pY2J6vvyCBxxWzo3CG90w=), so that hopefully you can reproduce it.

---

<div class="post-metadata">

**Author:** ![cqg](https://avatars.discourse-cdn.com/v4/letter/c/e95f7d/32.png) [@cqg](https://forums.ankiweb.net/u/cqg)\
**Post date:** [November 2, 2022, 6:09pm UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/59 "2022-11-02T18:09:46Z")

</div>

I’m also having problems with presets. In some cases the daily limits are simply ignored. Also, after changing parameters \> Save, it doesn’t save correctly.  
Custom Study \> Increase today’s news / review limits is also ignored (EDIT: It’s also ignored in 2.1.54 with the same deck, so I’m not sure if this an user error…)

An example:  
 ![2](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/0/03a92b2c16acd8a6680434fb331d120a34188729.gif)  
As you can see:  
A) Deck options for A2 deck:

- Preset: 10
- This deck: 10
- Today only: 20

New cards should be 20 (today only), but it’s actually 120

B) If you change the deck options to:

- Preset: 10
- This deck: **20**
- Today only: 30  
New cards should now be 30, but it’s still 120

C) If you click in Options again the parameters were’nt saved correctly:

- Preset: 10
- This deck: **30**
- Today only: 30

---

<div class="post-metadata">

**Author:** ![AnKingMed](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/ankingmed/32/32686_2.png) [@AnKingMed](https://forums.ankiweb.net/u/AnKingMed)\
**Post date:** [November 2, 2022, 6:50pm UTC](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295/60 "2022-11-02T18:50:34Z")

</div>

I finally got around to spending a couple hours testing things against my full addon collection. Overall I really like the style changes. Thanks to everyone involved! (@kleinerpirat)

1. Is there a way to go back to the old appearance and button style @dae ? Previously I would use the instructions [here](https://betas.ankiweb.net/older.html?highlight=bool#changes-in-2124beta6) but that doesn’t work anymore  
2.1.55Qt6  

2. I too am having the issue with the flags changing to black on nightmode when I try to rename them

3. Addons that broke or partially broke [(details here)](https://ankingmed.notion.site/322a9c869fa1401894338ca65a565c42?v=db3d118f63634e8bae78fab752e905fd):

- Customize background and gear icon
- Recolor
- Fastbar (a bug on one profile that I couldn’t figure out but fine otherwise
- Field AutoComplete
- Speed focus mode
- a few of my beta addons including “Skip weekends and holidays” and “pdf exporter”
- AnkiHub

Overall not as bad as expected (@kleinerpirat your cautious optimism was correct)

[Previous page](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295.md?page=2)

[Next page](https://forums.ankiweb.net/t/anki-2-1-55-beta-3/24295.md?page=4)
