catmaid / CATMAID

Collaborative Annotation Toolkit for Massive Amounts of Image Data
https://catmaid.org
GNU General Public License v3.0
187 stars 57 forks source link

Zoom-level wrong when changing between stack views #1578

Open axtimwalde opened 7 years ago

axtimwalde commented 7 years ago

I have a project with 3 ortho-views that navigate in synchrony. When I zoom in or out in one view all other views zoom accordingly. When I now change the focus to another view, and zoom in or out, the scale jumps to some previous zoom-level setting and goes from there, again well synchronized. I assume that some 'old-zoom' property is not updated properly or not used as it should.

axtimwalde commented 7 years ago

Oh, BTW, using the mouse control Ctrl+Shift+Scroll.

aschampion commented 7 years ago

I'm having trouble reproducing this. The scale bar will jump, but that's because it is stack-space-relative, so the effective scale (project nm-density) should remain constant as you move focus between stacks. I assume you know this and you're seeing actual jumping of scale though. Quite possible there's some race condition between navigator/slider especially if there's a slow tracing overlay.

Could you let me know a few things:

aschampion commented 7 years ago

Nevermind, I've reproduced by adding artificial latency to the tile layer.