Closed KCony closed 3 years ago
@KCony Can you let me know if the text is still disappearing after selecting a specific font size? (ie. the font size isn't blank)
@KCony I believe I have fixed this in #6727 but unfortunately for gradeables that are already affected, the annotations will need to be reset by navigating to /var/local/submtity/<course path>/annotations/<gradeable id>
and deleting the directory associated with the user whose pdf you are annotating. Until the fix is released in production, ensure that pen size and text size are always set before making annotations to avoid this bug.
It doesn't look like it got fixed, unfortunately. I just spend like an hour making a lot of annotations on a student's PDF. Before I started, I made sure I selected the color and the text size. Also, I saved everything, and Submitty was saying "Saved". I leave the page and then come back to check everything still looks good. One annotation is missing but all others are still in place. So, I typed the missing annotation again, saved, left the page, came back, and ... Now, the only annotation that is there is the one that was added last, just one. Everything else has been erased. The entire hour of work is gone. I can't tell you how frustrating it is:
And now, I thought I redo my annotations while I remember them. I did like the first paragraph, saved, left the page, came back, and now my "Title" annotation is gone!
That is definitely quite frustrating... if you get the chance, would you mind going to this pdf and opening the browser console and sending a screenshot of any errors you see there? Also, did you manually delete the annotations from /var/local/submtity/<course path>/annotations/<gradeable id>
to manually reset them? If not, it is likely that whatever garbage that was left over from before is still there and causing the annotations to fail.
It doesn't look like I have the necessary permissions, even when I try it with sudo:
Here are the errors that get logged in the browser:
In the screenshot above note also how the student's name area is screwed up with some weird vertical scroll and text running over some other text on the page.
Here is the full log: Some cookies are misusing the recommended “SameSite“ attribute 20 Uncaught ReferenceError: toolbar_bbox is not defined
When I then add another annotation and Submitty kills all previous ones, it logs an additional error at the very bottom:
Full log is now:
Some cookies are misusing the recommended “SameSite“ attribute 24 Uncaught ReferenceError: toolbar_bbox is not defined
Also this:
Describe the bug When attempting to annotate a student's PDF, typing text is either not working a tall or allows the text to be types but then all text disappears, depending on the browser. Clicking "Save" button has no effect.
Expected behavior Text typed in the annotation node of grading PDFs should remain visible on the page and saved when the "Save" button is clicked.
To Reproduce Steps to reproduce the behavior:
Configuration
Screenshots
Additional context "Text size" combo box that can be accessed by clicking the icon doesn't have any font size selected by default. It just shows blank space.