-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
Source: #3860 (comment)
Issue
If the load balancer is toggled to True or False via the debug console, no undo action is available via Ctrl+z or edit → undo. @YukiNagat0 pointed out, that it does appear after the queues are rebuild, e.g. by clicking on any deck on the main screen. Only after this step is the undo action available.
Expected Behavior
The undo action should be available without having to click on a deck.
Steps to reproduce
- Create a new profile.
- Open the console.
- Type
pp(mw.col.load_balancer_enabled)and observe that it's set toTrue. - Turn LB off by typing
mw.col.load_balancer_enabled = False. - Type
pp(mw.col.load_balancer_enabled)again and see that it now is set toFalse. - Close the debug window.
- Try to Ctrl+z or edit → undo and observe that it fails (undo action is empty).
- Click on a deck in the main screen.
- Now try to Ctrl+z or edit → undo and observe that it now does indeed work.
Version
Latest version built today:
Anki 25.02 (8fc822a6) (src) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Linux-6.12.19-amd64-x86_64-with-glibc2.41
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AnkiWebView Inspector ['31746032', 2023-06-27T21:26, 'None', '']
===IDs of active AnkiWeb add-ons===
31746032
===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Image Occlusion Enhanced ['1374772155', 2022-04-09T09:15, 'None', '']
Review Heatmap ['1771074083', 2022-06-30T03:43, 'None', '']
Study Time Stats ['1247171202', 2024-02-24T17:59, 'None', '']
Metadata
Metadata
Assignees
Labels
No labels