performant-software / DM

DM is an environment for the study and annotation of images and texts. It is a suite of tools, enabling scholars to gather and organize the evidence necessary to support arguments based in digitized resources.
https://digitalmappa.org/
Other
18 stars 6 forks source link

False "No Annotations" label #150

Open jamiefolsom opened 7 years ago

jamiefolsom commented 7 years ago

DM annotation loading bug - related to a loading bug that Gregor has already fixed, so hopefully easy to patch - see email and video I sent to all of you from Aug 21:

Essentially, if you open up an annotation to an image in search, and that annotation has a highlight with a link to an image that has not been opened yet (including the same image that the annotation itself is linked to), the highlight will display "no annotations" instead of the annotation that is linked to it.

Loading the image in some way (including, as seen in the video, rolling over the corner icon to load the original annotation image link) then changes the highlight rollerover display to correctly - as you can see at the end of the attached video.

I imagine this also holds true if the highlight also links to an image that is not the image that the annotation is linked to.

akstuhl commented 7 years ago

Appears to be duplicate of or at least closely related to #21. One possible approach: there is likely a way to force an initial background load of image resources when the project is first opened, so that differing treatment of previously opened and unopened resources will no longer matter.