freeplane icon indicating copy to clipboard operation
freeplane copied to clipboard

Bug when searching with Jump In activated

Open euu2021 opened this issue 1 year ago • 13 comments

First reported at: https://github.com/lilive/Freeplane-Jumper/issues/18#issue-2069295844


In this example map: example map bug.zip

Steps:

  • with the Root selected, use Edit->Find->Find… to search for "aaa"
  • Jump Into the node that contains the "aaa" text
  • Search for "bbb"
  • try to select the "aaa" node with the mouse by hovering over it (I use the "select on Hover" setting")
  • the bug happens: the map view gets frozen and errors start to kick in

Steps demonstration:

gcI6TW4vUM

This is the resulting log (the problem starts at the first STDERR):

bug log.zip

euu2021 avatar Jan 07 '24 23:01 euu2021

Preview 1.11.9_09

dpolivaev avatar Jan 09 '24 21:01 dpolivaev

Thank you for your excellent bug report

dpolivaev avatar Jan 09 '24 21:01 dpolivaev

Thanks!

The bug is solved for when I use Edit->Find->Find…. But, I still get the bug if I use Jumper (v1.0.4) instead of Edit->Find->Find…, as described at https://github.com/lilive/Freeplane-Jumper/issues/18#issue-2069295844. Is it a Jumper bug?

euu2021 avatar Jan 09 '24 23:01 euu2021

I think I can make it safer on the Freeplane side. Currently, Freeplane does not expect that scrips fold nodes not visible after jump-in.

dpolivaev avatar Jan 10 '24 08:01 dpolivaev

Please check preview 1.11.9_10 I do not know how exactly to use jumper, but believe you can test both find dialog and jumper with the new preview version.

dpolivaev avatar Jan 13 '24 18:01 dpolivaev

I tried freeplane-1.11.9-pre11 and the bug still happens when I use Jumper in the described situation.

But, it looks a bit worse, now. Now, the FP UI freezes completely, and there is not even a log or error beeps. On the previous version, the current map view got frozen, but, if it was an undocked map view, I could still continue using the other map views normally.

euu2021 avatar Jan 14 '24 19:01 euu2021

I have installed jumper, and I do not know how to use it and how to configure it to see the behavior you describe. I need very detailed instructions including how relevant jumper options are set and what you do.

dpolivaev avatar Jan 14 '24 19:01 dpolivaev

I have installed jumper, and I do not know how to use it and how to configure it to see the behavior you describe. I need very detailed instructions including how relevant jumper options are set and what you do.

I will test what are the relevant Jumper settings, and then I post here.

euu2021 avatar Jan 14 '24 19:01 euu2021

I tried recording a video:

https://github.com/freeplane/freeplane/assets/77707706/e2112109-631f-48d2-a530-3cd5016ab102

After I searched bbb, I clicked on it, in order to navigate to it. This is how Jumper works: when the user selects a node, the node is selected and Jumper closes automatically.

euu2021 avatar Jan 14 '24 20:01 euu2021

On my computer Jumper behaves differently in many ways. Are you sure you use the same jumper version? I use version 1.0.3

dpolivaev avatar Jan 14 '24 22:01 dpolivaev

On my computer Jumper behaves differently in many ways. Are you sure you use the same jumper version? I use version 1.0.3

I'm using version v1.0.4, which is the version updated to be compatible with the Jump in feature. Lilive released it as a preview here: https://github.com/lilive/Freeplane-Jumper/issues/11#issuecomment-1879026661

euu2021 avatar Jan 14 '24 23:01 euu2021

I do not see anything wrong with this jumper version too. I have seen that your map has formatting conditions using external scripts. I do not know if it makes a difference. Currently, I can not reproduce the reported problem.

dpolivaev avatar Jan 15 '24 13:01 dpolivaev

Ok, thanks. I will make more tests.

euu2021 avatar Jan 15 '24 14:01 euu2021