New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preserve Z/T changes #3718
Preserve Z/T changes #3718
Conversation
} | ||
} catch (Exception e) { | ||
MetadataViewerAgent.getRegistry().getLogger() | ||
.warn(this, "Could not save renderign settings"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rendering
Forgot to /cc @gusferguson and @jburel on this, as this would be a noticeable change in user experience. |
Seems to be working fine with the Split-view figure always respecting the latest Z-section. |
@dominikl @will-moore @jburel @pwalczysko Tested using OMERO.insight-5.1.0-452-936e5ef-ice35-b481-mac_Java7+ trout user-3 read-annotate-1. Behaves as expected and split-view figure uses currently viewed z-section. This is quite a substantial change in behaviour as it effectively makes the Z-section selection a "super-rendering setting" i.e. the only rendering setting modality that is saved automatically when changed. I would break it down as follows:
I can't see any other workflows that are affected by this change. but it will cause a Insight-Web discrepancy that would need to be addressed before release in my opinion. What are y'all's thoughts? |
Thanks @gusferguson for the report. |
Added card. To be discussed during next client meeting |
Comment added to card. @dominikl to look at it on his return. |
Closing. Will open a new PR for just enabling the save button on z/t change. |
Fixes Ticket 12709 and also some occasionally appearing problems that thumbnails are not in sync with the rendering settings (unfortunately mixed that altogether in one commit).
Note: With this PR Z/T changes are silently stored, i. e. the user's last selected Z/T frame will be stored in the rendering settings automatically as soon as he moves away from the image (selects a different image, close the image viewer, or just switch from the preview pane to the general pane). Whereas 'real' rendering setting changes (to the channels) are discarded, when moving away from the preview panel.
Is this an acceptable behaviour? Can't treat Z/T changes as 'real' rendering setting changes, because this leads to whole lot of inconsistencies with respect to undo/redo, save, copy/paste, etc.
Test:
For the scope of the ticket:
General: