Skip to content

[Search] Match position indicator does not update when matches number changes #2809

Open
@pachlava

Description

@pachlava

Expected

If the note is edited while search mode is active, the position indicator (2 of 5 thing) should update the current position digit, if matches number changes.

Observed

Current position indicator never changes regardless of matches number:

Screen.Recording.2021-03-24.at.16.46.07.mov

Reproduced

  1. Have a note with multiple instances of word in it
  2. Search for word
  3. Move the current match position in a note with > button or with Ctrl/Cmd+G, so that it becomes greater than one (e.g. 5 of 5)
  4. Start removing the instances of word until one remains ~> the indicator will show 5 of 1

Where did you see the bug

For example in

  • System Make: Parallels Desktop on MBP 16"
  • OS: Windows
  • OS version: 10 Home 20H2 build 19042.508
  • Simplenote app version: 2.9.0-beta1 desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    [feature] searchAnything related to searching.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions