Anki 2.1.50 Beta 1 & 2

A small issue with undo answering cards (also present in 2.1.49). If while reviewing cards you:

  1. Click on “Show Answer”
  2. Click on any answer button
  3. Press CTRL + Z:
  • The answer is undone and the previous card is showed again

But, if you:

  1. Click on “Show Answer”
  2. Flag / Unflag the card
  3. Click on any answer button
  4. Press CTRL + Z:
  • The answer is undone
  • The previous card is not showed again
    Undo - Flag

EDIT:
The problem seems to be a little bit more serious, at least with some decks. If you:

  1. Click on “Show Answer”
  2. Flag / Unflag the card
  3. Click on any answer button
  4. Press CTRL + Z:
  • The answer is undone
  • The previous card is not showed again
  1. The anwser buttons become unresponsive (2.1.50), or this error message comes out (2.1.49)

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=False sv=3
Add-ons, last update check: 2022-01-14 14:53:58

Caught exception:
Traceback (most recent call last):
File “aqt\taskman.py”, line 101, in on_closures_pending
File “aqt\taskman.py”, line 71, in
File “aqt\taskman.py”, line 90, in wrapped_done
File "aqt\operations_init
.py", line 112, in wrapped_done
File “aqt\reviewer.py”, line 414, in after_answer
File “aqt\reviewer.py”, line 430, in _after_answering
File “aqt\reviewer.py”, line 201, in nextCard
File “aqt\reviewer.py”, line 230, in get_next_v3_card
File “anki\scheduler\v3.py”, line 49, in get_queued_cards
File “anki_backend\generated.py”, line 44, in get_queued_cards
File "anki_backend_init
.py", line 131, in _run_command
anki.errors.InvalidInput: Invalid input: ⁨bug: card modified without updating queue⁩

The problem is 100% repeatable with this deck in my system, other decks apparently do not present problem #5.

1 Like

If you still have access to that deck / its cards, you could upload them so we can investigate the issue. It’s still most likely a bug on Anki’s side.

I’m not sure if this is a glitch or if this is an intentional feature sorry, but on the M1 Mac Mini when you open the browse screen in free screen, it opens it in a new window, instead of the tabbed view it used to.

Thank you so much!!

Anki’s new toolkit doesn’t support that (maybe it will in the future - that’s out of our control) :point_down:t2:

Ah right thank you!!

(P.S - Sorry that i started a new thread I couldn’t locate that thread when i went looking haha)

Well, yes and no :slight_smile: The main concern is add-on breakages - replacing the three webviews with one is something we’ll definitely want to do at one point, but it’s going to break a lot of add-ons. Updating the deck list and reviewer screens separately would be logical steps towards that goal, and if it’s done by creating a new code path that can be opted into with a feature flag, then it could be started right now. I’d prefer not to remove/replace the existing code at the moment however - I want to get the import/export changes done first so that the libanki refactor can be declared done, and I think we need to give some time for all the recent churn to settle a bit.

2 Likes

here it is.click to download
https://41bf9a1.cpolar.io
As I use Intra-net forwarding service,please let me know if you already have downloaded.Thanks.

1 Like

Copy-paste from and to Anki Qt6 doesn’t work: if I copy any text, I can only paste it in Anki itself, not other applications.

Anki 2.1.50 (43c41d76) Python 3.9.7 Qt 6.2.2 PyQt 6.2.2
Platform: Linux
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2022-01-18 01:09:05


===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AJT Furigana ['1344485230', 2021-12-22T23:39, 'None', mod]
AJT Mortician ['1255924302', 2021-09-17T08:52, 'None', '']
AJT Pitch Accent ['1225470483', 2022-01-04T23:33, 'None', mod]
AnkiConnect ['2055492159', 2021-12-27T09:22, 'None', '']
Fix invalid card IDs ['196231552', 2021-11-26T04:33, 'None', '']
Kanji Grid ['909972618', 2019-01-10T01:40, 'None', '']
Learn now Button ['1021636467', 2021-10-15T21:21, 'None', '']
Merge Notes ['1425504015', 2021-12-30T04:34, 'None', mod]
Paste Images As WebP ['1151815987', 2021-12-20T18:46, 'None', mod]
RefoldEase ['819023663', 2021-12-13T02:49, 'None', '']
Remove card history ['2089200096', 2018-04-23T09:50, 'None', '']
True Retention ['613684242', 2017-11-19T23:43, 'None', '']

===IDs of active AnkiWeb add-ons===
1021636467 1151815987 1225470483 1255924302 1344485230 1425504015 196231552 2055492159 2089200096 613684242 819023663 909972618

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

That’s quite a long list of active add-ons - and I see at least one (Paste Images As WebP) that seems to deal with the pasting process.

Please only report bugs that occur with all add-ons disabled. For add-on related errors, you can contact the respective add-on author.

Copy-paste doesn’t work

% DISABLE_QT5_COMPAT=1 ./anki
Anki starting...
Initial setup...
Preparing to run...
Qt info: 

GLImplementation: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.6
Using Default SG Backend: yes
Using Software Dynamic GL: no
Using Angle: no

Init Parameters:
  *  application-name Anki 
  *  browser-subprocess-path /home/user/Downloads/anki-2.1.50+beta1_43c41d76-linux-qt6/anki-2.1.50-linux-qt6/lib/PyQt6/Qt6/libexec/QtWebEngineProcess 
  *  create-default-gl-context  
  *  disable-features DnsOverHttpsUpgrade,ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture 
  *  disable-setuid-sandbox  
  *  disable-speech-api  
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess 
  *  enable-threaded-compositing  
  *  gpu-preferences UAAAAAAAAAAoAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAA= 
  *  in-process-gpu  
  *  use-gl desktop 
 
Starting main loop...
Qt warning: Wayland does not support QWindow::requestActivate() 
ignored late bridge cmd blur:0:1614446068686:から
Anki 2.1.50 (43c41d76) Python 3.9.7 Qt 6.2.2 PyQt 6.2.2
Platform: Linux
Flags: frz=True ao=False sv=3
Add-ons, last update check: 2022-01-18 01:09:05


===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])


===IDs of active AnkiWeb add-ons===


===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

As I tried to copy から, the problem should be related to this:

Starting main loop…
Qt warning: Wayland does not support QWindow::requestActivate()
ignored late bridge cmd blur:0:1614446068686:から

Is there already a rough date for when 2.1.50 will be released? Would be interesting to know for add-on development.

3 Likes

@homocomputeris I can’t seem to reproduce that on a Debian 11 system - both ctrl+c inside the review area then a ctrl+v in Chrome, or a select + middle click paste works for me.

@Thore a new beta should hopefully be available soon, but a release really depends on how many issues still need ironing out, and further editor changes may push it back.

4 Likes

I second this. The “Create Copy” feature is sublimely useful when expanding your notebase, but it is a bit cumbersome to navigate to. A keyboard shortcut would be great. Perhaps CTRL+SHIFT+C?

The shortcut for Create Copy is Ctrl+Alt+E.
CTRL+SHIFT+C conflicts with the cloze shortcut.

1 Like

I noticed the menu items look really different when hovered on Theme: light and Theme: dark
dark:
image
light:
image

Tested on Win11, without add-ons, Anki interface size as well as Windows scaling set to 100%.

Sorry if this has been already covered but forum search doesn’t give results. I don’t have window frames on 2.1.49 (dc80804a)⁩
Python 3.8.1 Qt 5.15.1 PyQt 5.15.1
on Linux. Not installed version, just unpacked and run. I guess this is QT issue.

This is a known Wayland issue:

The window border issue seems to be limited to Gnome, since switching to KDE Plasma has fixed it for me.

That’s of course not a real solution for anyone who isn’t inclined to switch his desktop environment in the first place.

To start Anki without Wayland, set the following environment variable:

export QT_QPA_PLATFORM=xcb
2 Likes

On

Version 2.1.50 (db804d95)
Python 3.9.7 Qt 5.15.2 PyQt 5.15.5

the HTML view edits card contents when they start with an HTML comment.

A card as follows will just stay as is:
1643489284

But for a card like this the HTML comment disappears as soon as the cursor leaves the window:
1643489365
1643489384

Please let me know if the next beta doesn’t fix it.

Hi Damien, I can replicate both problems with b3-.

PS: Ok, you mean next beta