morphonets / SNT

The ImageJ framework for quantification of neuronal anatomy
https://imagej.net/plugins/snt
GNU General Public License v3.0
42 stars 18 forks source link

Canvas position occasionally jumps to random spot when tracing #139

Open carshadi opened 2 years ago

carshadi commented 2 years ago

Describe the bug Sometimes when tracing while zoomed in to a region in the canvas, when you left-click to add an anchor the camera location will jump to some random spot.

To Reproduce Zoom into region of image and start tracing a path

Expected behavior The canvas position should not change unless the user moves it manually.

Fiji details (If possible, please paste here the contents of Plugins>Debug>System Information): SNT v4.1.11 Fiji 2.9.0

tferr commented 2 years ago

Bummer. But I cannot reproduce this: Just tried the op1 demo image and did not verify any jumps. Could it be an IJ1 preference in the way? Does it still happen after resetting SNT preferences and running IJ's Edit -> Options - Reset...?

carshadi commented 2 years ago

I tried resetting as you suggested, but it still occurs. I can go a while (30+ mins) without seeing it, but then something will "trigger" it, and it starts happening frequently (every ~10 clicks). Not clear what triggers it yet.

tferr commented 2 years ago

tried for a while, still unable to reproduce it, sorry. Not sure how to go about it