Open will-moore opened 7 months ago
This pull request has been mentioned on Image.sc Forum. There might be relevant details there:
The tooltip works on merge-ci and imho is useful.
Nevertheless, could you please explain what does the message in the tooltip attempt to say ? I genuinely understand only that "some" parameter is bigger than the cutoff for the projection showing. RFE for the tooltip:
bytes
explanation ?x size X x sizeY...
- very hard to read and understand on a small font on a tooltip - the x
in first case means "times", in second case it is the sizeX - very unfriendly, hard to read and understandbytes
. I understand that this is because of a technical problem of implementing the difference between singular and plural in the text ? But still, it further complicates the reading&understanding of the tooltipThank you
This PR aims to address issues on the forum discussion (see description link above). It's mostly meant for a sysadmin to setup their system but it would also be useful for a user who wants to ask their sysadmin to update their config to enable projection for a particular image:
omero.pixeldata.max_projection_bytes
config has been taken into account when calculating the threshold or if a lower threshold might be in place from iviewer config, so we want to include that number in the tooltip.sizeC
is taken into account in this calculation (NB: sizeT makes no difference)It's tricky to explain to regular users what bytes
are or to remove them from the tooltip completely since that's what the message is all about.
How about:
Projection Disabled: Image size XYZ and Channels exceeds the max_projection_bytes limit of 268,435,456.
@pwalczysko - how about the suggested change in my previous comment?
See https://forum.image.sc/t/z-projections-disabled/95042/7
Discussion above shows that we don't give any feedback about why projection is disabled. Users can't tell if the max projection bytes config is being taken into account or if projection is disabled for some other reason.
This adds a useful tooltip to provide info on why projection is disabled (movie is playing or image is tiled or image bytes greater than projection: