Don't change case of words typed into search/create bar
Completed## Versions:
macOS Catalina 10.15.7
nvUltra 1.0.0 (78)
## Initial Conditions:
Several notes containing the word "knife", no notes containing the word "Knife", no notes containing both "knife" and "sharpening" (in any case combination).
## Action:
Try to create a note called "Knife Sharpening"
## Expected Behaviour:
After typing "Knife", the search list shows all notes containing all case variations of "knife", and the search/create bar shows exactly what I typed: "Knife"
Continue typing "Sharpening", the search list shows no notes, and the search/create bar still shows exactly what I typed: "Knife Sharpening"
## Actual Behaviour:
The search/create bar changes case of what I typed based on the current notes database content. Since I have no notes containing "Knife", but many containing "knife", the search/create bar shows:
"knife Sharpening"
If I hit enter, I get the ugly note title of "knife Sharpening".
If I instead erase what I typed in the search/create bar, and type "Knife Sharpening" again (sometimes this takes several attempts fiddling with backspace), now I finally get "Knife Sharpening" showing up. Incidentally, I can now no longer type "knife sharpening" - again, nvUltra is auto-changing, this time always to "Knife". This happens even in the case where I didn't actually create the note.
Clearing cache and re-loading the folder allows me to go back to my initial conditions and repeat this process.
## Related Cases
Possibly related to https://multimarkdown.zendesk.com/hc/en-us/community/posts/360038303273-Renaming-files-bug-
Duplicate of https://multimarkdown.zendesk.com/hc/en-us/community/posts/360039498093-Search-suggestions-override-typed-case
"Kind of solved" in, but I type too fast for this to be a usable workaround: https://multimarkdown.zendesk.com/hc/en-us/community/posts/360039135374-Autocomplete-of-titles-messes-with-letter-case
-
What filenames do you have that start with "knife"? If you type "Knife", and "knife list" is the first match then the search bar will autocomplete to "knife list" while you type. Once you type "Knife Sharpening", assuming you don't have such a file already, the case will revert to what you typed (e.g. "Knife Sharpening", not "knife Sharpening.")
Perhaps you can submit a video if this is not the behavior you are seeing? I can't replicate it on my end.0 -
Replicating this problem on my own machine has also been challenging :)
Rather than you wasting any more time trying to replicate this, let me create a new empty folder with a few sample notes that reproduce the problem and get back to you. Tomorrow. (it's bedtime :)
0 -
Sounds good. Thanks!!!
0 -
I've gotten my test environment up and running, but am of course struggling to duplicate the problem ;)
I'm out of time for today, but will continue pecking at this again tomorrow.
0 -
No worries. It's either something you did that wasn't quite what you thought, and therefore not really the bug you thought. Or it just required a slightly different way to trigger and you'll stumble across it again. I have plenty of other work do do in the meantime... :)
0 -
Closing for two reasons:
1) Trying to keep the list clean to reduce odds of actionable items getting lost
2) An upcoming beta release will essentially be a full rewrite, so some real edge case issues will go away (and some new ones may appear)0 -
1) Understandable, good idea
2) I'll keep an eye out for this in the re-written beta!
Just my 2 cents: I still think that what I type in the search bar should be what appears/stays in the search bar (it shouldn't have its case changed based on the ongoing search results that appear as I continue to type).
Ongoing Thanks, and Happy Coding!
1 -
The search bar intentionally autocompletes using existing files so that you don't have to type the entire name of an existing file in order to get it to load by hitting the return key.
0 -
Our 2 statements aren't mutually exclusive :) in the case of nvALT both statements are true:
As I type, characters that I put on the search bar are left in the case that I typed them in, while the search bar autocompletes everything *after the cursor* so I don't have to type the entire name to get the note to load by hitting the return key.
0
Please sign in to leave a comment.
Comments
9 comments