You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Aufgaben: a typed timer sticks into the next task, and a Dringlichkeit change overwrites it silently #658
The Aufgaben timer default from Dringlichkeit and a typed timer get in each other's way:
Changing Dringlichkeit overwrites a timer the Lagebuchführer typed, without notice (TasksViewModel.cs:191-193; the edit dialog does the same, TaskDialogViewModel.cs:57-58).
After adding a task, only the text is cleared (TasksViewModel.cs:258), so a typed timer carries over into the next task silently. Nothing distinguishes a default timer from an overridden one.
The result is a task that fires at a time nobody chose.
Expected
After adding, the timer resets to the default for the (sticky) Dringlichkeit.
A Dringlichkeit change only rewrites a timer that still holds the default; a typed timer survives.
Notes
Tests for both paths, in the quick-add and the edit dialog.
Activity
fix(aufgaben): keep a typed timer on a Dringlichkeit change, reset it…