-
Notifications
You must be signed in to change notification settings - Fork 30
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
Tile loading improvements, spinners and error handling #470
Tile loading improvements, spinners and error handling #470
Conversation
When to use tiled images???The existing behaviour is:
However, for NGFF images they are all So, do we want to use the server's Originally, #456 was created to handle the case of https://idr.openmicroscopy.org/webclient/?show=image-4007801 which is a "large" image |
A few thoughts/questions looking at IDR's image 4007801:
|
Looking for options for loading lower resolution layers in OpenLayers... I tested this, but when playing a movie (in this PR as it stands, we simply try to load the lower resolution(s) AND the correct resolution at the same time for each timepoint (as expected, it doesn't pre-load other timepoints and doesn't avoid loading full current resolution):
|
Also looked at a potential 'hack' of loading tiles from the lower resolution by updating the tile url function, but the lower resolution tiles are not rescaled to the appropriate size by OpenLayers, so the don't fill the space:
|
deployed those changes onto idr-testing |
I don't see any change when playing movie across Z/T |
Attempting to play https://idr-testing.openmicroscopy.org/webclient/img_detail/10647409/?dataset=11901 |
@jburel I think you're not seeing my changes? It took a few minutes for my deployment script on idr-testing to complete, and so I probably commented a bit prematurely above, or possibly something got cached. Could you give it another go? Handling the Stop button when the plane is still loading is a bit tricky. We don't really have a way to cancel the image plane request except to undo the last Z/T increment (IF the plane hasn't loaded yet). |
Much nicer thank you |
Yes, I think so. The cursor spinner was not showing when the mouse was anywhere else but the slider. Now, on idr-testing, the cursor spinner is visible everywhere. This was I believe the point of the last two commits @jburel |
This pull request has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/omero-iviewer-step-size-for-t-z-auto-play/103449/2 |
This replaces (builds on) #464 and #456 and also supports movie playing waiting on image loading.
These PRs are combined to avoid conflicts, since the functionality is all related. Also makes it easier to deploy.