Skip to content

Desired retention gets overwritten after changing preset #4469

@abdnh

Description

@abdnh

When changing a deck’s config to another, the config DR setting doesn’t change to the new selection. For example:

Config A has DR 90%
Config B has DR 85%

Deck X is currently using config A (and using config-level, not deck-level DR)
Edit Deck X, change config to B.
The config’s DR setting in the config editor remains 90% (it didn’t change to 85% in response to switching to config B)
Upon saving, config B’s DR is changed to 90% which is unexpected

This behaviour can cause people’s configs’ DR setting to get accidentally changed. The config-level DR in the editor should change according to the active config selection.

Originally reported on https://forums.ankiweb.net/t/in-v25-09-bug-when-changing-config-for-deck-dr-gets-overwritten/67789

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions