In Inkdrop version 5.6, there is an issue where changing the assigned notebook for a note does not work as intended. It appears to change the notebook of the previous note instead.
The content of the note and the tags are updated correctly. The issue persists even after disabling all plugins and not using the init.js script.
A workaround is to restart or reload Inkdrop while the target note is open.
Ahhhh that makes sense.
You mean the previous revision of the note gets updated when moving the note via the “Move Note” dialog, right? So, the currently editing data gets unexpectedly discarded unless you save it before moving the note.
The app should save the current edit buffer when handling the click event of the dropdown menu.
I’ll fix it!
It seems that instead of the previous revision, the notebook of the note selected before the current one changes.
After switching the note display from A to B, when I change the notebook of B using the “Move to Notebook” dialog, the notebook for A changes.
一つ前のリビジョンではなく、一つ前に選択しているノートのノートブックが変わる様に思いますが、どうなんでしょう。
A から B にノートの表示を切り替えた後、B のノートブックを Move to Notebook ダイアログで変更すると A のノートブックが変わる。
I managed to reproduce it!
Well, that was due to a component state issue where the note ID wasn’t updated correctly in the dialog component when opening another note.
Thanks for elaborating!