Opened 14 years ago
Closed 9 years ago
#5546 closed defect (fixed)
relation editor: copying mixes up sorting
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.02 |
Component: | Core | Version: | latest |
Keywords: | relation editor, copy | Cc: |
Description
When copying some members from one relation editor window to another, the sorting is totally mixed up. Additionally, the copied members lose their roles during copying.
Attachments (0)
Change History (8)
follow-up: 2 comment:1 by , 9 years ago
comment:2 by , 9 years ago
Milestone: | → 16.02 |
---|
follow-up: 6 comment:3 by , 9 years ago
At that time relations probably had no guaranteed order yet. That was introduced later as far as I remember.
comment:4 by , 9 years ago
I think there are tree problems.
First the lost of the role. I think this should be fixed.
The second problem is the place where to insert: at the end or marking a place to insert or "sorting" or ... I don't know.
The third problem is that on Copy&Paste the order is reversed. Just prevent the revesing would help a lot, I think.
follow-up: 7 comment:6 by , 9 years ago
Replying to stoecker:
At that time relations probably had no guaranteed order yet. That was introduced later as far as I remember.
HashSet
s aren't not perfect for keeping a specific sorting ;)
Since we are already discussing legacy things: is there a reason for a "custom" implementation of CopyAction
and PasteAction
in contrast to the Swing CCP? → #12478
comment:7 by , 9 years ago
Replying to simon04:
Since we are already discussing legacy things: is there a reason for a "custom" implementation of
CopyAction
andPasteAction
in contrast to the Swing CCP? → #12478
I have no idea.
comment:8 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Drag & drop between two relations editors works fine (roles and order are preserved).
Copy & paste (CTRL-C and CTRL-V) do something, but as described above, roles and order get lost.
I think if this grid didn't support C&P, it should be disabled.