-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Bug Description
When assigning a project to a task in the Task Genius viewer, the project
input field autocompletes after a fixed timeout — before the user has
finished typing and without any explicit confirmation (e.g. Enter or Tab).
This causes the project name to be truncated to whatever partial text was
entered at the time the autocomplete fires.
Typing faster allows slightly more characters through, confirming this is
time-based rather than input-based.
Steps to Reproduce
- Open a sandboxed vault with only Task Genius enabled
- Create a markdown checkbox and write a task (e.g.
- [ ] Task 1) - Open the Task Genius task viewer
- Locate the task (e.g.
- [ ] Task 1) Click the + icon below the task to add metadata - Click into the Project field and begin typing a project name (e.g. "application")
Result: After a very short delay, the field autocompletes and commits the
partial input (e.g. "app" or "appl" if the intended project name was "application") without any confirmation from the user.
Expected Behavior
The project field should only commit a value when explicitly confirmed
(Enter, Tab, clicking a suggestion, or clicking elsewhere). Typing speed should have no bearing
on when a value is committed. The input field should not have a timer at all.
Actual Behavior
The field commits whatever partial input exists after a fixed number of
milliseconds, truncating the intended project name. This makes in nearly impossible to write project names longer than 3-4 letters using the Task Genius Viewer.
Environment
- Obsidian version: 1.12.4
- Task Genius version: [9.13.1] (2025-12-11)
- **Task Genius settings: ** Default settings.
- OS: MacOS Sonoma, Windows 11.
- Other plugins enabled: None (sandboxed vault)