Closed euu2021 closed 1 year ago
Hi, Hum... I'm sorry, I do not have the same behavior, and I have no clues ! The addon actually use the status line for messages, but it never display the message "Saved".
What Freeplane version do you use ? Have you got the last version of the addon ? If yes, you may help me to figure what's going on.
1 - This addon start a background task that watch to nodes changes, to prevent incorrect use of the addon icons by the user, and to ensure that these icons are always the first in a node icons list. I would like to know if the bug is related to this monitoring task. To disable this task, you have to temporary move the file freeplane_user_dir/scripts/init/BookmarksMonitorIcons.groovy to another place, and restart Freeplane. You will be able to use the addon without this task, and observe if this change something to the bug.
2 - Perhaps you can give me the minimal steps to reproduce the bug. Something like Open Freeplane / Create a new map / Create a node / Save the map (no bug) / Create a regular bookmark in the node / Save the map (here's the bug).
Let me try to explain:
..
To disable this task, you have to temporary move the file freeplane_user_dir/scripts/init/BookmarksMonitorIcons.groovy to another place, and restart Freeplane.
I don't have this script there. Is this the folder?
Latest Bookmarks Add-on Freeplane-Setup-with-Java-1.11.1-pre14
Thank you. Now I see the problem.
In fact, I do have the same behavior. But I haven't noticed it, because most of the time the displayed icon is a check mark next to the "Saved" message, and I thought it was the normal Freeplane behavior.
I don't have this script there. Is this the folder?
Yes. It surprise me.
I do not use the preview version of Freeplane. Perhaps this version put the init addon scripts in another place, something like the addons\bookmarks\scripts\init
folder. Anyway, if the addon works for you this is OK. Can you add or delete the green bookmark icon with the Freeplane icon toolbar (you can find this icon with others user icons) ?
Normally you can't, this is one of the purpose of the monitoring task.
BTW, I know that this is not a very good solution to lock the usage of this icon, but it was the simplest.
Can you add or delete the green bookmark icon with the Freeplane icon toolbar (you can find this icon with others user icons) ?
Yes, I can.
Probably, I accidentally deleted the init script, at some moment. I remember that, some months ago, I was messing around with init scripts, so I may have deleted it then.
OK. If you want to restore it, you can reinstall the addon (I should release really soon an update with the bug fix). The monitoring task do another thing : it ensure that a bookmark icon is always the first icon, when a node had several ones.
Now, it's working fine. And the init script appeared again, as I reinstalled the script:
please, see https://github.com/freeplane/freeplane/discussions/744