Opened 6 years ago

Closed 5 years ago

#1798 closed defect (fixed)

Apparent duplication of standalone attachment after drag

Reported by: simon Owned by: dstillman
Priority: major Milestone: 2.1 Final
Component: interface Version: 2.1
Keywords: Cc:

Description

Expanding an item and then dragging a standalone attachment over the item results in apparent duplication of the standalone attachment. The DB is fine, as can be verified by opening a new window, so this seems to be primarily a UI issue. I will look into this further to see if I can narrow down potential causes.

Change History (5)

comment:1 Changed 6 years ago by simon

  • Priority changed from critical to major

I can reproduce in 2.0.9, so this doesn't seem to be new. Downgrading priority, since no one has complained thus far, but we should still fix this.

comment:2 Changed 6 years ago by dstillman

I can't reproduce this.

comment:3 Changed 6 years ago by simon

I can reproduce this on both Mac and Windows in new profiles, but I now realize that it will only happen when the attachment being dragged is higher in the item tree than the item it is being dragged upon. Here's a better STR:

  1. Sort the item list by Date Added descending
  2. Create a new item
  3. Attach a note or attachment to the item
  4. Expand the item so that the children are visible (it doesn't happen without this)
  5. Create a standalone note or attachment
  6. Drag the standalone note or attachment over the item

comment:5 Changed 5 years ago by dstillman

  • Resolution set to fixed
  • Status changed from new to closed

In [9340]:

Fixes #1798, Apparent duplication of standalone attachment after drag

Trigger change notification for moved item before new parent item so that the tree view can detect that the moved item is in the wrong place, remove it, and then refresh the new parent item's children

Note: See TracTickets for help on using tickets.