Skip to content
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

Resizing a span also resizes other overlapping or stacked spans #5270

Closed
s2fische opened this issue Jan 31, 2025 · 1 comment
Closed

Resizing a span also resizes other overlapping or stacked spans #5270

s2fische opened this issue Jan 31, 2025 · 1 comment
Assignees
Labels
🐛 Bug Something isn't working
Milestone

Comments

@s2fische
Copy link

During Curation, we tried to change the span of an existing annotation. In this sentence (no. 13), there are two overlapping annotations with the exact same span, but the annotations are different layers (one "Codierung", one "Wertung"). We tried to reduce the "Wertung" span but not the "Codierung" span by dragging the orange button of the "Wertung" span to the right. Usually, the "Codierung" would stay the same; however, in this case, both annotations were automatically reduced to the length that we only wanted the "Wertung" to be.

Furthermore, one more annotation ("Trigger-Codierung") within the original "Codierung" and "Wertung"-spans moved with them, even though it wasn't selected, to the point that this annotation was completely broken and couldn't even be selected or deleted any more. In trying to correct this, the whole text became broken somehow; the original user cannot open it at all any more in both Curation and Annotation mode (see Screenshot 1).
Another user can open the text in Curation mode but the sentence above (no. 13) doesn't load anymore (it automatically jumps back to sentence 12 if 13 is selected in the left-hand menu), and in the Annotation pane, it is not possible to skip further than sentence no. 2 (see Screenshot 2). In Annotation mode, if we set the document length to 12 rows, we can still see all 12 sentences, but as soon as we try skipping to 13, another error message appears (see Screenshot 3). This is why we cannot provide screenshots of how the annotations of sentence 13 originally looked like.

Image

Image Image

Please complete the following information:

  • Version and build ID: INCEpTION -- 35.0 (2025-01-14 08:46:31, build fdd4b19)
  • OS: Windows 10 / 11
  • Browser: Chrome
@s2fische s2fische added Triage 🐛 Bug Something isn't working labels Jan 31, 2025
@reckart
Copy link
Member

reckart commented Jan 31, 2025

Ok, that's scary. I can reproduce an issue that if I have two annotations (even on different layers) that are stacked and I resize one of them, the other also resizes simultaneously. I'll look into it. Thanks for reporting!

@reckart reckart added this to Kanban Jan 31, 2025
@github-project-automation github-project-automation bot moved this to 🔖 To do in Kanban Jan 31, 2025
@reckart reckart modified the milestones: 35.1, 35.2 Jan 31, 2025
@reckart reckart changed the title Changing the span of existing annotations in Curation Resizing a span also resizes other overlapping or stacked spans Jan 31, 2025
@reckart reckart self-assigned this Jan 31, 2025
reckart added a commit that referenced this issue Jan 31, 2025
- Only resize token-attached annotations if the annotation being resized is actually a token - not for any arbitrary annotations
reckart added a commit that referenced this issue Feb 2, 2025
…a-span-also-resizes-other-overlapping-or-stacked-spans

#5270 - Resizing a span also resizes other overlapping or stacked spans
@reckart reckart closed this as completed Feb 2, 2025
@github-project-automation github-project-automation bot moved this from 🔖 To do to 🍹 Done in Kanban Feb 2, 2025
reckart added a commit that referenced this issue Feb 2, 2025
* release/35.x:
  No issue: Allow access to maven central and other repos
  #5270 - Resizing a span also resizes other overlapping or stacked spans

% Conflicts:
%	.github/workflows/maven.yml
reckart added a commit that referenced this issue Feb 2, 2025
…e-robust

* main:
  No issue: Allow access to maven central and other repos
  #5270 - Resizing a span also resizes other overlapping or stacked spans
reckart added a commit that referenced this issue Feb 2, 2025
…e-robust

* main:
  No issue: Allow access to maven central and other repos
  #5270 - Resizing a span also resizes other overlapping or stacked spans
@reckart reckart removed the Triage label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
Status: 🍹 Done
Development

No branches or pull requests

2 participants