Anki Forums

Anki 2.1.41 Beta

The add-on situation is still messy, but better.

Fastbar, advanced browser, and straight reward all seem to work fine.

Editor adjusting add-ons are still broken as expected (collapsible fields, ze frozen fields, and wrapper meta addon)

Custom keyboard shortcuts, browser side by side, highlight search results in browser are still broken. I believe the authors of all these broken add-ons are fairly active and should be able to update them. Are these changes solid enough that I should notify them now?

The borders look clean now and the margin increase is tiny but makes a difference.

I assume that’s intentional for better discoverability.

For me it’s a bit different but probably the same issue: Double rightclicking any node makes the first one (Saved Searches) the current element.

While this interpretation of the rightclick is a bit unusual (but not unheard of), there are simply not enough modifiers to provide all these functions only with leftclick. Of the 8 possible combos involving Ctrl, Shift and Alt, 7 are already in use with the old sidebar.

I like having all this functionality available by just clicking, but I wonder if it’s getting a bit much for new users now.
Accessability through the GUI could by achieved by adding another toolbar with selectable buttons representing the different clicking tools. Like in image processing software e.g., what happens upon a click would depend on the selected tool.

1 Like

On the Mac, right-clicking is a known UI element that most Mac users know of.

I’m not particularly happy with the right-clicking solution - it conflicts with standard shortcuts on some Linux distros, is harder to actuate on a Mac, and seems to have introduced a bug where the wrong element is being selected. I think we might be best rolling it back for now, so we don’t feel pressured to get this sorted before the .41 release. What do people think?

I still wonder whether a toggle could work - a “Multi” checkbox to the right of the sidebar filter for example.

Re: is:due, what about changing due to mean today, and adding another ‘overdue’ below it?

@AnKingMed Unless some unexpected issue arises, I don’t expect big changes at this point

a “Multi” checkbox would be a little more tedious and be difficult when wanting to separate between or, and and -. I would probably favor some sort of keyboard combination with a click. Is it just the shift click that is causing issues with selecting multiple? cmd, cmd+alt seem to work fine. I’d suggest alt+shift or ctrl+shift for “or”

I will notify add-on authors on those few things.

The idea of the checkbox would be to switch between the old behaviour (various modifiers+click to AND/OR/NOT/REPLACE) and multiple selection behaviour. Users who mainly use the modifiers, or mainly use multiple selection, could leave the checkbox on their preferred mode.

As Rumo mentioned, we’re already using a bunch of different modifiers, and if we changed shift to behave like a normal multiple selection, we could not represent all the different combinations across the platforms.

1 Like

When I pleaded for the reimplementation of multi-select some days ago, I didn’t know there was such a load of features that could conflict with it. That’s why I thought a multi-checkbox would be unnecessarily cumbersome and should be prevented.

But like Rumo said, a GUI solution is probably for the best here :slight_smile:

Here’s a brief porting guide you can link to: Add-on porting notes for Anki 2.1.41

Yes!! Especially the ‘overdue’.

In this new version 2.1.41beta the option to searching for all the cards is gone.
After making a selection, I can’t undo it with the mouse. just clearing the selection on the panel.

Not sure if I my suggestion above was understandable. Since you lean towards a similar solution with the checkbox, I think I should elaborate:

You’d have a bar for different modes like grafik .
The modes could be:

  1. Click to search, behaviour as on previous releases. (Icon could be a magnifying glass.)
  2. Click to select, the new behaviour.
  3. Click to collapse, or maybe just hover with a modifier to collapse/decollapse/toggle nodes.

It would be more visual than a checkbox and easily extendible should the need arise.

2 Likes

The button “Whole collection” was removed because it seemed redundant compared to the numerous new features on the sidebar.

You can access all cards by clicking on “Decks” (the root of the deck-tree).

3 Likes

That sounds good, though I’d lean towards just having the first two options to start with, as it’s easier to add more later than it is to take them away.

1 Like

@dae perhaps I’m doing something wrong with the set due date, but it seems that 7 and 7! are doing the same thing.

My understanding would be that if the current interval on a card is 21 and I enter “7”, the card would be due in 7 days, but the interval would remain 21 days so that the next interval would be 21ease. If I enter “7!”, then it would be due in 7 days with an interval of 7 days so the next interval would be 7ease. It seems both are doing the same thing at the moment and I’m unable to just change due date without affecting interval. I understand you tried to add the change that alters intervals a tad to adjust doing it earlier or later, but as far as I can tell “7” and “7!” are doing the same thing. I would recommend making it more like the rememorize add-on was with it altering just the interval alone.

Hi,
not sure if this is a specific .41 issue, but anyway:
The preview pane in the Cards window doesn’t reflect changes I do on the left side, unless I hit save and reopen the dialog.
Some notes:

  • No javascript errors in my card template
  • HTML changes, as well as styles done in the style tab are not displayed until reopening
  • There seems to happen a refresh (the web pane flickers), but the content stays the same
  • Tested with different note types, seems to work on none
  • I’m on Windows, 2.1.41, no add-ons enabled.
2 Likes

I’ve noticed this too when I tweaked some CSS recently. The live preview in the Cards editor doesn’t seem to work atm :thinking:

@AnKingMed I don’t think leaving the interval untouched is the best option, but your comment has made me realise the current approach is going to break down when rescheduling cards shortly after they were answered. Sigh, back to the drawing board again.

@prollo thanks, should be fixed in the next beta

1 Like

Beta 3 is now available.

@ankingmed I’ve changed “set due date” to just leave the interval alone for now, and punted a better solution back to a future update.

@dae Sounds great. I know you want a better solution but I think this is much simpler for most users to understand and certainly less complex

@dae I’m getting this error for multiple add-ons. Something I should just notify add-on authors about?

Traceback (most recent call last):
  File "aqt/webview.py", line 37, in cmd
  File "aqt/webview.py", line 136, in _onCmd
  File "aqt/webview.py", line 581, in _onBridgeCmd
  File "<decorator-gen-152>", line 2, in _linkHandler
  File "anki/hooks.py", line 89, in decorator_wrapper
  File "anki/hooks.py", line 86, in repl
  File "/Users/Nick/Library/Application Support/Anki2/addons21/zkingofstudytimers/__init__.py", line 616, in myLinkHandler
    return _old(self, url)
  File "aqt/toolbar.py", line 170, in _linkHandler
  File "aqt/toolbar.py", line 188, in _browseLinkHandler
  File "aqt/main.py", line 1069, in onBrowse
  File "aqt/__init__.py", line 101, in open
TypeError: __init__() got an unexpected keyword argument 'card'