sul-dlss / sul-embed

An oEmbed Service for Stanford University Libraries
Other
19 stars 6 forks source link

Zoom issues in Safari (image disappears above certain zoom levels) #1348

Open blalbrit opened 2 years ago

blalbrit commented 2 years ago

Expected behavior

When zooming in on an image, expect smooth transition at all resolution levels.

Actual behavior

Intermittent, and only in Safari, image zooms to a certain level and then disappears. Tested in Exhibits, PURL, and over on projectmirador.org with consistent replicability. Suspect this might mean a Mirador/Safari intermittent issue rather than sul-embed-specific, but wasn't quite sure where else to report it. (heck - it might even be down at the OpenSeadragon level). See screen caps below. First report of this behavior was 6/13/22, second report of this behavior was today, 6/23/22.

Steps to reproduce the behavior

Tertiary test - wanted to double-check it wasn't the custom manifests causing trouble for Parker only

Final test to make sure it's not a stacks or data problem but seems isolated to interactions within the viewer

Browser / Environment

Example 1: Safari-specific behavior safarizoom1

Example 2: Same action in Firefox (showing non-replicable in non-Safari browser) safarizoom2

Impact

anarchivist commented 2 years ago

Relatedly: this doesn't happen for all IIIF objects, or even all Parker objects in Mirador/SUL Embed on Safari, e.g. https://purl.stanford.edu/bk482mj4247 (a non Parker object.). @blalbrit noted in Slack:

Benjamin Albritton: maybe edge-case jp2 formulas (these were generated back in 2007-2009 - others from that vintage might have same issues but aren’t used as heavily as Parker so aren’t reported/discovered?) Benjamin Albritton: weirdly - not all Parker objects either. Benjamin Albritton: (not even all images within a single object)

anarchivist commented 2 years ago

Per standup today, we're wondering if it's related to a resource limit (see this OSD issue comment, which is about Safari on iOS, not macOS). See also #900 and #1097 - we ran into a similar situation with piano rolls at some point.

dnoneill commented 8 months ago

I was not able to replicated. I however did notice that sometimes when I hit the zoom button it did not work if I just had hit it a second previously so that might have been the solution to this issue.