Closed stefanhahmann closed 1 month ago
I could not reproduce with beta-29 on Mac or on Windows. Could you try with a 'fresh' Fiji? Or on another computer?
I could not reproduce with beta-29 on Mac or on Windows. Could you try with a 'fresh' Fiji? Or on another computer?
I could reproduce the bug yesterday on three independent machine (2 windows, 1 ubuntu) with beta-29. I could just reproduce it again with a 'fresh' Fiji and beta-29. I added one more step to the steps to reproduce description to make the step description more precise.
I could reproduce the bug! Thanks for your accurate step description. Apparently not moving the mouse is important to have the bug. This hints an issue with not having a focused vertex when the mode is selected. I tried to check that happened to the 'focus' using a TrackScheme window on the side.
My best guess would be that the crash is actually linked to NOT having a focused vertex, when the display mode 'Track of focused vertex' is selected.
I will check what happens when the visibility mode is changed in this case. A first suspect to interrogate would be: https://github.com/mastodon-sc/mastodon/blob/master/src/main/java/org/mastodon/views/bdv/overlay/Visibilities.java#L329
My best guess would be that the crash is actually linked to NOT having a focused vertex, when the display mode 'Track of focused vertex' is selected.
Yes, exactly. This is the reason, which causes the freeze / deadlock.
My PR (https://github.com/mastodon-sc/mastodon/issues/295), which suppresses the problem feels more like a workaround than a real solution.
I will check what happens when the visibility mode is changed in this case. A first suspect to interrogate would be: https://github.com/mastodon-sc/mastodon/blob/master/src/main/java/org/mastodon/views/bdv/overlay/Visibilities.java#L329
I also have the impression that the line you mention in conjunction with https://github.com/mastodon-sc/mastodon/blob/373a2a95901c0d496a18a78b4a5ee37ada822a7b/src/main/java/org/mastodon/views/bdv/overlay/Visibilities.java#L338 causes the problem.
@tinevez I noticed that you have merged https://github.com/mastodon-sc/mastodon/pull/297 which was targeted to circumvent the bug described in this issue. I would suggest to close this issue, unless you are still up for a better solution to it?
No this is the right fix for this bug.
Steps to reproduce
a
button in the BDVv
to set Overlay visibility to Track of focused vertexa