Skip to content

Via auto-suggest I keep ending up with tasks of Highest priority accidentally #1995

@claremacrae

Description

@claremacrae

Please check that this issue hasn't been reported before.

  • I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

With the default auto-suggest settings:

  "autoSuggestInEditor": true,
  "autoSuggestMinMatch": 0,
  "autoSuggestMaxItems": 6,

When I start typing High for priority, I want a High priority task.

Current behaviour

Since the addition of Highest and Lowest priorities in Tasks 3.9.0, when I type High, I see this:

image

And my muscle memory hits return, to get High.

But I get Highest.

And because the longer word is at the top of the list, there is now no way to select High by typing alone.


If I request the maximum allowed number of suggestions...

  "autoSuggestInEditor": true,
  "autoSuggestMinMatch": 0,
  "autoSuggestMaxItems": 12,

Then I see this:

image

And scrolling down, the list ends in:

image

Steps to reproduce

  1. Start Obsidian with a fresh install of Tasks 3.9.0, and with the default settings.
  2. Create a new note
  3. Switch to Source mode
  4. Start typing these characters:
- [ ] hi<Return>

Where <Return> is the return key:

Expected result:

- [ ] ⏫

Actual result:

- [ ] 🔺 

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version

1.3.4

Tasks Plugin Version

3.9.0

Checks

  • I have tried it with all other plugins disabled and the error still occurs

Possible solution

Move Highest lower than High

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: auto-suggestThe pop-up menu that helps with editing tasks directly in markdown notestype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions