Inconsistent use of the Enter key in the Find/Replace tool

Steps to reproduce

  • Open sandbox vault, the note “Start here”
  • Open Find/Replace tool.
  • Enter anything to find and replace fields, e.g. no into find and yes into replace
  • Make Find field active and press Enter. The selection in text jumps between all no occurrences, without replacing them, so Enter works as Find Next command.
  • Make Replace field active and press Enter. In that case pattern is searched and replaced as expected.

Did you follow the troubleshooting guide? [Y/N]

Yes.

Expected result

The tooltips for buttons states, that Next is F3, and Replace is Enter. So changing behavior of hotkeys that depends on current active field looks strange.

Environment

SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.12.7
Operating system: Windows 11 Pro for Workstations 10.0.26200
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0

RECOMMENDATIONS:
none

The behavior is intuitively correct, perhaps we should add enter to the tooltip (“F3 or enter”)