ActiveBrainAtlas2 / activebrainatlasadmin

This is the ActiveBrainAtlas database portal. This project provides the admin area to edit data associated with the Active Brain Atlas project. It also provides the REST API.
0 stars 1 forks source link

"phantom" annotations that cannot be delted created with paste button next to annotation buttons #236

Closed mm6654 closed 3 weeks ago

mm6654 commented 1 month ago
      1. There are two paste buttons, and hovering over both gives the same information which is "Paste annotation from the system's clipboard" which makes it hard to distinguish between the two buttons. Top paste button is the following: image
  1. The paste function is used when copying and pasting annotations from one section to the next, but only the bottom paste button works for correct polygon propagation. Here I copied polygon created in section z=102, copied child annotation, and pasted using the top paste button to place annotation in section z=103: image

  2. "Phantom" annotation is created after copying a polygon from one section (z=102) and pasting using top paste button - instead of pasting copied polygon, it pastes a series of line segments on the following section (z=103): image

  3. After user navigates away from section z=103, the "phantom" annotation disappears from right panel and only the polygon remains visible: image

  4. Since the "phantom" annotation disappears from right panel, it cannot be deleted. The "phantom" annotations can still be edited (can shift around page and add vertices), but vertices cannot be deleted. Two additional vertices were created and showed up on right side panel correctly on section z=103: image

  5. Deleting the created vertices from right panel does not delete "phantom" annotation from section 103. This is after one vertex has been deleted. There is still one vertex visible on right panel on section z=103: image

  6. Here is "phantom" annotation after the two new vertices are deleted - nothing on right panel displays an annotation on section z=103: image

Joeyonng commented 1 month ago

To propagate the polygons within volumes, users should always use the paste button at the bottom. The description text will be changed so that they can be distinguished.

As for the ghost polygon, this should be a bug and we will investigate it to see what's the problem.

Joeyonng commented 4 weeks ago

The ghost polygon bug is solved. This fix is in the next commit.