alpheios-project / arethusa

Arethusa: Annotation Environment
http://sosol.perseids.org/tools/arethusa
MIT License
34 stars 26 forks source link

Widget: tree sizing issues #815

Closed monzug closed 4 years ago

monzug commented 4 years ago

go to latin author Ovid in text env and select Metamorphoses. double click on mutatas (first sentence) and open the related diagram. the fonts are huge. see screenshot Screen Shot 2020-06-15 at 2 39 20 PM

balmas commented 4 years ago

this is a problem with the Arethusa application and the way it calculates the "perfect width" of the diagram. This is a really narrow tree, and it seems the algorithm doesn't handle that very well. Moving to the Arethusa repo, it might not be easy to fix so I will not hold up the release for it.

balmas commented 4 years ago

Additional requestion from @rgorman:

is it possible to make the Alpheios/Perseids combo work properly when adjusting display "zoom"?

Often, when using the trees, etc. in a classroom, this means projecting the computer display onto a big screen. In these cases, the display image is often too small for most students to read. But if we re-size it via the browser controls, various navigation buttons and the like are pushed off the screen.

I imagine it is a lot of work to keep things in a good layout when the size is not 100%. If this is not possible incrementally, perhaps a "projection mode" could be considered, where all elements were sized for, say, display = 150% or the like?

balmas commented 4 years ago

The first issue, with the zoom of the narrow trees, is fixed and deployed in https://github.com/perseids-tools/arethusa-widget/releases/tag/v2.1.0 which is now live at trees.alpheios.net. The fix can be verified with https://texts.alpheios.net/text/urn:cts:latinLit:phi0959.phi006.alpheios-text-lat1/passage/1.1-1.30

I could not reproduce the other zooming problems so far.

monzug commented 4 years ago

diagram looks good. tested in Chrome and Firefox (PC). @balmas, how about rgorman request?

balmas commented 4 years ago

I need to follow up with Bob still about the other issue. I'll enter it as a new issue if it needs to be resolved though.