You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the expected behavior? (add screenshot)
That the viewer immediately reloads.
What went wrong? (add screenshot)
The "Do you want to leave this page"-dialog comes up, since the AnnotationStorage isn't empty.
This is probably fallout from PR #15163, since that one meant that we always initialize the Ink-editor immediately. However I don't believe that it's correct to insert a new Ink-Annotation into the AnnotationStorageunless the user has actually drawn something.
The text was updated successfully, but these errors were encountered:
Snuffleupagus
changed the title
Ink-editor being commit to the AnnotationStorage too soon
Ink-editor being commited to the AnnotationStorage too soon
Jul 29, 2022
Attach (recommended) or Link to PDF file here: N/A
Configuration:
master
Steps to reproduce the problem:
What is the expected behavior? (add screenshot)
That the viewer immediately reloads.
What went wrong? (add screenshot)
The "Do you want to leave this page"-dialog comes up, since the
AnnotationStorage
isn't empty.This is probably fallout from PR #15163, since that one meant that we always initialize the Ink-editor immediately. However I don't believe that it's correct to insert a new Ink-Annotation into the
AnnotationStorage
unless the user has actually drawn something.The text was updated successfully, but these errors were encountered: