Problems when trying to open a file
Kike-59 opened this issue · 7 comments
Hello, I'm not sure how to reproduce your problem.
Can you details your steps more specifically... how do you "trying to open an existing notes file"?
Is it specific to Google Drive?
Can you also share the takenotes.ini?
Notepad++ 8.5
Plugins
> Take Notes
> Open existing notes...
nppptn01.mp4
- Create and save a new file with Take Notes.
- Open the saved note.
Notepad++ version | Take Notes version | Error |
---|---|---|
8.4.5 | 1.2.3 | No |
8.4.5 | 1.2.4 | No |
8.4.6 | 1.2.3 | No |
[8.4.6] | [1.2.4] | [Yes] |
8.4.7 | 1.2.3 | No |
[8.4.7] | [1.2.4] | [Yes] |
8.4.8 | 1.2.3 | No |
[8.4.8] | [1.2.4] | [Yes] |
8.4.9 | 1.2.3 | No |
[8.4.9] | [1.2.4] | [Yes] |
8.5.0 | 1.2.3 | No |
[8.5.0] | [1.2.4] | [Yes] |
Windows 10 22H2 64-bit
Notepad++ versions 64-bit (portable)
Take Notes versions 64-bit
Can you check if v1.25 fixes your problem?
https://github.com/francostellari/NppPlugins/blob/main/TakeNotes/TakeNotes_dll_1v25_x64.zip
Hello Franco
Yes, finally version 1.2.5 fixed the problem.
You indicated that you could not reproduce the problem: in essence, it was that when you tried to open an existing note, you selected it through the "o" menu option in Notepad++, and it added spurious characters to the end of the name, so it did not find it and offered you to create a new one.
For example, in the figure, look at the characters inserted after the extension .note
It seems that in version 1.2.5 you changed the file selection function on opening and the problem no longer occurs.
Thank you very much.
I'm not sure where the problem may have been.
Zeroing out the entire buffer before copying the name seems to have done the trick for you.