appml / neutrinote

neutriNote - the original extensible Markdown + Math note app. Non-commerical. No lock-ins. Only 3 MB footprint & highly optimized. Designed for plaintext purists.
GNU General Public License v3.0
359 stars 24 forks source link

"Enter" fails to submit the search term. #86

Open GfEW opened 2 months ago

GfEW commented 2 months ago

Describe the bug In any note, when the search widget has been opened (e. g. by Ctrl+F) and the search term been typed in, pressing Enter (or Return) fails to submit the search term. Instead, the search widget remains in the state it was before Enter pressed, with no search results being found or highlighted even if there are many matches.

Supposedly, this behavior is also not compliant with android guidelines, as most apps that offer a search widget allow to submit the typed-in term and start searching for it by pressing Enter.

To Reproduce Steps to reproduce the behavior:

  1. Open NeutrinoteCE on a device with external keyboard.
  2. Open any note.
  3. Press Ctrl+F.
  4. Type in a search term that is matched by at least one occurrence in the text.
  5. Press Enter.

Currently, no match is found or highlighted. (You'd have to tap the looking glass to do so.)

Expected behavior The existing match(es) should be found and highlighted, the same way they are if you tap the looking glass.

Smartphone (please complete the following information):