-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subject viewer changes size during classification when 'limit subject height' is enabled #6275
Comments
This is caused by the viewer layout changing when you move from one task to another (which is weird because the viewer styling is supposed to be independent of the task.) Watch how Screen.Recording.2024-09-07.at.11.38.33.movThe height of the task navigation buttons, and the width of the subject controls (play button etc.) change from the drawing task to the question task. Design and layout should be consistent! EDIT: the drawing tasks (drawing and transcription) modify the subject viewer by adding and removing an SVG Instead of adding and removing that rectangle, it might be better to deactivate it by adding the |
Sorry, something else I've noticed in that Science Scribbler video. On the question task, the pencil button is active, even though drawing is disabled. The layout reflow bug is also specific to Science Scribbler. I have a workflow with two drawing tasks followed by a question task: That workflow does not reflow the layout when you go from the drawing tasks to the question task. |
I played around with this in a local branch. The sizing bug is still there even if you don't remove the drawing canvas for question tasks. |
I can reproduce this bug on my staging workflow (single image viewer) if I tick the lab checkbox that limits the subject height. Screen.Recording.2024-09-10.at.13.22.18.movScreen.Recording.2024-09-10.at.13.28.28.mov |
On small-ish screens, the subject doesn't always fill the full width of the screen in the single-column layout. I think that's the same bug as #6061. |
The task typography also changes when the subject size changes. The question task has a smaller font size than the drawing task. Screen.Recording.2024-10-04.at.08.01.30.mov |
FWIW: I tried to see whether this was specific to the Transcription Task, or if there were other weird Firefox-specific 'page jump' issues. Here's an example from Science Scribbler (note change in image size between marking + question task). NB I don't think this is related (it happens on Chrome, too), but wanted to share just in case, since it seems like an odd thing to happen (not sure why subject image size would change mid-classification):
FEM_imagesizechange_Firefox.mov
Originally posted by @snblickhan in #6271 (comment)
EDIT: after some playing around in the project builder, I was able to reproduce this by checking the 'limit subject height' box for a workflow (#6275 (comment).) Checking that box styles the image with
max-height
, which means the image height can vary during a workflow, as long as it never exceeds the maximum. Styling the image withheight
fixes this bug.The text was updated successfully, but these errors were encountered: