Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with the highlighted terms when searching for more than one term #1514

Open
joashrajin opened this issue Dec 12, 2022 · 3 comments
Open
Labels
bug Something isn't working. [feature] search Anything related to searching.

Comments

@joashrajin
Copy link

joashrajin commented Dec 12, 2022

Expected

The search functionality should highlight the correct words when opening a note containing those terms.

Observed

When you search for more than one term, the words highlighted aren't related to the search terms.

Reproduced

  1. Ensure you have a lot of notes
  2. Search for some terms which are in a sentence; in my case, I am using "run the"
  3. Open a result
  4. Look at the highlighted words in the note

IMG_01BB30607B62-1

Apple | iPhone 14 Pro Max | 16.1.2 | 4.47

#5757972-zen

@joashrajin joashrajin added bug Something isn't working. [feature] search Anything related to searching. labels Dec 12, 2022
@Nellyjay22
Copy link

Apple | iPhone 13

@erricgunawan
Copy link

erricgunawan commented Dec 17, 2023

Probably also happened on Android:

Note search on android has not been working normally for the last two years
I use different phones. Right now – Android 13 .
When searching, the text in the note is highlighted. But if the note is long, you can’t go to it.

you have to scroll through the note with your hands to find the highlighted text. when you click on the arrow at the bottom, the transition to the text does not occur

https://forums.simplenote.com/forums/topic/problem-with-search-android/?view=all#post-1500


UPDATE from https://forums.simplenote.com/forums/topic/problem-with-search-android/?view=all#post-1782

No. I don’t need automatic scroll. the problem that I can not find highlighted search result inside the note .

pressing the button ( arrow ) takes me somewhere inside the note, but to a random place

@erricgunawan
Copy link

Another report for iOS:

I experience a similar thing in the iPadOS Simplenote app. I search for a word, and open one of the search results. The note opens, positioned many lines (20 or 30) past the word. I have to scroll back to find the highlighted word. If the note contains multiple instances, I can use the arrow buttons (<>) to move to the next instance (correctly), then back to the first instance. This happens even in a small file (700 words). If has been like this for quite a while (years).

I’ve noticed a possibly related issue when opening an existing note. If the note has a mixture of normal lines and very short lines, each broken by a new line, the note opens much farther down the file than its last position. The saved entry point position is misinterpreted somehow. Could this positioning error be related to what happens with search? Maybe. Searching in that file opens at the end, after all occurrences of the search term. Tapping (>) takes me up to the second occurrence, then (<) takes me farther up to the first occurrence.

Simplenote 4.49 on iPad 6, iPadOS 17.1.2.

https://forums.simplenote.com/forums/topic/problem-with-search-android/?view=all#post-1501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. [feature] search Anything related to searching.
Projects
None yet
Development

No branches or pull requests

3 participants