performant-software / dm-2

Digital Mappa (DM for short) is a freely available online environment for creating projects out of digital images and texts.
https://www.digitalmappa.org
GNU General Public License v3.0
19 stars 18 forks source link

Make sure that images for all DM projects work on tablets #509

Closed absempere closed 5 days ago

absempere commented 4 months ago

testing notes (QA)

On the DM2 staging instance, visit the following project with an image known to previously be broken on iOS:


Description from Martin:

All images display fine on desktop browsers.

In iOS, images that do not display do so consistently in Chrome and Safari across all three platforms (see below)

I have tested this on a range of iOS devices - my newer iPad (iPad Pro 4th Gen, iOS v. 16.3.1) my iPhone (iPhone SE2020, iOS 17.2.1), and an older iPad (6th gen) running 17.3.1. All the images display or do not display consistently. The issue has been ongoing for at least a year if not more, so it appears operative across all iOS devices and systems, at least that I have seen.

The display or not display is consistent to specific sets of images - that is - images all from the same source - so for instance ALL Paris Psalter images do not load, yet ALL Vercelli Book images do. In the Exeter Book folder, older Exeter Book images load, but a different set we began to use in the middle of the project do not display.

This is an issue with local file uploads - IIIF image serving appears to be working. Images that do not display still have their thumbnail images display in folders, etc.

I don't think it has to do with file size or memory - given the differences of devices - but I cannot say for sure about that.

That's all I have - if you want versions of any of the original image files uploaded for analysis, I can probably provide those too - though I imagine you might just pull those off the image server.

And here's the starting point:

this may be a case of this OpenSeadragon bug, as we're getting these errors:

[Warning] Canvas area exceeds the maximum limit (width * height > 16777216). [Error] Unable to get image data from canvas because the canvas has been tainted by cross-origin data.

The former error indicates it is that bug (though the latter one indicates there could be something else going on here too).