Operating system
Linux
Joplin version
3.1.23
Desktop version info
Joplin 3.1.23 (prod, linux)
Client ID: 7bc2d95cc9fd43eb99fe1b31a80e59df
Sync Version: 3
Profile Version: 47
Keychain Supported: No
Revision: b3ea127
Admonition markdown extension: 1.1.0
Backup: 1.4.2
Freehand Drawing: 2.12.0
Markmap: 1.7.0
Note encryption: 1.1.1
Note Tabs: 1.4.0
Quick Links: 1.3.2
Resume Note: 0.1.1
What issue do you have?
"Goto Anything... Ctrl+P" doesn't work if the text to seach is longer than 31 characters.
Steps to reproduce:
- add new note
- enter the text "12345678901234567890123456789012"
- open other note
- press Ctrl-P and enter "12345678901234567890123456789012", returns nothing.
- enter instead "1234567890123456789012345678901" and it finds the note.
Log shows this when trying to search with the long string:
2024-11-18 15:25:03: AsyncActionQueue: [warn] Unhandled error: TypeError: Cannot read properties of undefined (reading 'replace')
TypeError: Cannot read properties of undefined (reading 'replace')
at removeDiacritics (/tmp/.mount_JoplinD4mskR/resources/app.asar/node_modules/@joplin/lib/string-utils.js:97:19)
at /tmp/.mount_JoplinD4mskR/resources/app.asar/plugins/GotoAnything.js:276:154
at Array.map ()
at DialogComponent.updateList (/tmp/.mount_JoplinD4mskR/resources/app.asar/plugins/GotoAnything.js:276:83)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async AsyncActionQueue.processQueue (/tmp/.mount_JoplinD4mskR/resources/app.asar/node_modules/@joplin/lib/AsyncActionQueue.js:73:25)