-
Notifications
You must be signed in to change notification settings - Fork 52
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
Contribution annotation does not disappear #32
Comments
Franz' logfiles Original comment by: fzieris |
Julia's logfiles Original comment by: fzieris |
Stephan's logfiles Original comment by: fzieris |
Your own changes are not colored on your side, so this is fine. It seems that the annotation are not correctly splitted. E.G: A insert 10 characters per C&P, these 10 characters are annotated by a single annotation. B start overwritting some characters from A. If B insert enough characters, every annotation that is older then the last 20 inserted annotions from B, these annotations will be removed and so showing the annotation from A again. Original comment by: kargor |
As stated on the mailing-list, Steffen and I will be working on this issue. Original comment by: ercankk |
This patch fixes the last outstanding issues regarding #32. Annotations that were split are now correctly inserted to the history and so correctly removed. This patch introduces a new method to the annotation helper as well as it reduces LOC in the ContributionAnnotationManager.
This patch fixes the last outstanding issues regarding #32. Annotations that were split are now correctly inserted to the history and so correctly removed. This patch introduces a new method to the annotation helper as well as it reduces LOC in the ContributionAnnotationManager.
This patch fixes the last outstanding issues regarding #32. Annotations that were split are now correctly inserted to the history and so correctly removed. This patch introduces a new method to the annotation helper as well as it reduces LOC in the ContributionAnnotationManager.
This fixes issue #32. Changed the default anchor as my current testing did not produce the result shown in the picture of the issue entry, e.g the notification was shown outside of the WizardPage.
This fixes issue #32. Changed the default anchor as my current testing did not produce the result shown in the picture of the issue entry, e.g the notification was shown outside of the WizardPage.
This fixes issue #32. Changed the default anchor as my current testing did not produce the result shown in the picture of the issue entry, e.g the notification was shown outside of the WizardPage.
I was able to reproduce this always. First defect, the annotation is always inserted twice by the EditorManager. Easy to reproduce Mark some characters (eg. 10). Copy and paste them into the same document. Result: Eclipse will auto expand the annotation however the ContributionAnnotationManager will not update the history nor insert the annotation because there is already a given annotation at the current position. |
Fix: #32 Instead of splitting big annotation if we insert new annotation, this handling only uses annotations of size 1 and stores multiple annotations as one entry in the history. Therefore, the split handling is removed and the issue with auto-expanding annotations is fixed.
Instead of splitting big annotation if we insert new annotation, this handling only uses annotations of size 1 and stores multiple annotations as one entry in the history. Therefore, the split handling is removed and the issue with auto-expanding annotations is fixed. Fix: #32 Furthermore, the history handling for split view is fixed. The old handling assumed that the entries that are removed from the history and have to be removed from the models use the same model as specified in the parameter of insertAnnotation. The new handling uses the model assigned to the annotation to remove the annotation.
Instead of splitting big annotation if we insert new annotation, this handling only uses annotations of size 1 and stores multiple annotations as one entry in the history. Therefore, the split handling is removed and the issue with auto-expanding annotations is fixed. Fix: #32 Furthermore, the history handling for split view is fixed. The old handling assumed that the entries that are removed from the history and have to be removed from the models use the same model as specified in the parameter of insertAnnotation. The new handling uses the model assigned to the annotation to remove the annotation.
Instead of splitting big annotation if we insert new annotation, this handling only uses annotations of size 1 and stores multiple annotations as one entry in the history. Therefore, the split handling is removed and the issue with auto-expanding annotations is fixed. Fix: #32 Furthermore, the history handling for split view is fixed. The old handling assumed that the entries that are removed from the history and have to be removed from the models use the same model as specified in the parameter of insertAnnotation. The new handling uses the model assigned to the annotation to remove the annotation.
What happened:
See attached screenshot for Franz' view (was taken 12:45, thus the corresponding changes happend a few minutes before).
Reported by: fzieris
Original Ticket: dpp/bugs/757
The text was updated successfully, but these errors were encountered: