You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a Cut, File / Manage does not copy/paste but always cut/move
The button Copy works but when you paste a resource somewhere, it disappears from the original location.
To reproduce open File / Manage :
1/ Select a resource click on Cut
2/ Select a resource click on Copy
3/ Move to another collection then Paste
4/ Back to original collection, selected resource has disappeared, moved instead of copied.
A cut sets this.clipboardMode = "move"; then calls copy()
But when doing a Copy after a Cut, copy() never sets this.clipboardMode = "copy"; and performs "move"".
You cannot just add this.clipboardMode = "copy"; in copy() as it will break cut().
After a Cut, File / Manage does not copy/paste but always cut/move
The button Copy works but when you paste a resource somewhere, it disappears from the original location.
To reproduce open File / Manage :
1/ Select a resource click on Cut
2/ Select a resource click on Copy
3/ Move to another collection then Paste
4/ Back to original collection, selected resource has disappeared, moved instead of copied.
The culprit is there
eXide/src/resources.js
Line 512 in c9739ff
A cut sets this.clipboardMode = "move"; then calls copy()
But when doing a Copy after a Cut, copy() never sets this.clipboardMode = "copy"; and performs "move"".
You cannot just add this.clipboardMode = "copy"; in copy() as it will break cut().
Related to #125
Here is a pull request #202
Rémi
The text was updated successfully, but these errors were encountered: