Drag and Dropping automatically deleting emails in Kinetic 2023.1

We noticed after the upgrade to 2023.1, in Kinetic UX when we drag and drop an email as an attachment into Epicor, it automatically deletes the email from Outlook. It did not do this in Kinetic UX 2022.2. Epicor support says they cannot replicate it so there is nothing they can do. Its happening to all our users that drag and drop. Is anyone aware if this is an Outlook setting that somehow changed with 2023.1?

Michaela,
It is doing the same for me in 2023.1.5. Any emails from Outlook that are attached via Drag-and-Drop are deleted in Outlook. I think this is because the Kinetic application is treating the Drag and Drop operation as a ‘Move’ instead of a ‘Copy’. Move typically deletes the item from its source location.

Copy normally shows a little ‘plus’ symbol on the mouse cursor when doing the drag/drop. As you drag the attachment around the screen, it seems to flicker, but ultimately is showing the ‘move’ cursor.

Copy
image

Move
image

I don’t know for sure but I would guess that Epicor could change this behavior in Kinetic, to treat it as a ‘Copy’ operation, and this issue would go away.

I didn’t notice that change. That makes sense. The weird thing was the support person said they couldn’t replicate it on their end and I have to submit an Epicor Idea. If that is the behavior, why can’t they replicate? Seems a little goofy to me.

James Franco Reaction GIF

Escalate.

1 Like

@andrew.johnson are you using Kinetic.exe or Web Browser? I am curious, they both are simply WebViews and WebViews typically dont have access to your File System to delete files… I wonder if Outlook with all their latest updates is the one deleting it?

https://answers.microsoft.com/en-us/outlook_com/forum/all/drag-and-drop-works-however-deletes-email-can-we/865f60c3-7980-4465-8a19-4d60b0ae5aba

Perhaps it is an option now in JavaScript @bconner

$(document.body).on('dragover', function (e) {
e.originalEvent.dataTransfer.dropEffect = 'copy'; // 1 line of code fix
e.preventDefault();        

       // whatever
}).on('drop', function (e) {
// whatever
});
1 Like

Here is the code in main.419c69ce0bb331bc.js:

                handleDragOver(e) {
                    e.dataTransfer.dropEffect = this.allowDrop ? "move" : "none",
                    this.epEventHandler("epOnDragOver", e),
                    e.preventDefault(),
                    e.stopPropagation()
                }

If you are trying to find where the file was moved to, its in your Temp folder.

Open start menu and type %temp% > press [Enter]

The highlighted here are the emails I dropped into Kinetic from Outlook.

image

That should probably be “copy” : “none”

1 Like

I opened a case about this. The solution ended up being to add an idea to the Epicor Idea’s page. So i did.

https://epicor-manufacturing.ideas.aha.io/ideas/KIN-I-3725

Looks like Outlook is doing a Move and not a Copy based on the target. I can’t imagine that Kinetic has access to the Outlook Inbox to delete it. :person_shrugging:

1 Like

It’s the standard windows behavior mark, the drop target controls the drag drop. Outlook is just going along with it.

It doesn’t care, because it’s a user initiated activity.

I just did a drag and drop into OneDrive via web. It did the same thing, moved it. So it must be how outlook interacts with a web browser because when you drag drop into a smart classic menu, it does not move it, it copies it.

Outlook doesn’t care what it’s interacting with.

The browser allows web pages to control the drop target.
Kinetic has it’s drop target set to move.

So this could be something that Epicor can fix?

Yes, I thought we might get a response from where @hkeric.wci pinged @bconner, so we
could confirm and maybe sidestep the bug reporting process, but there is none as of yet.

I guess we need to report it :rofl:

Edit: I forgot, you did :slight_smile:

I’ll see if I can remember to report it.

I have been working with an Epicor Support Manager and they talked with Development and were told that there is no way Kinetic has the ability to control that. It is an outlook setting and in no way can Kinetic dictate that. So for me it was a dead end. My users also tell me the copy and move seems to be sporadic. Sometimes it will just copy it and sometimes it will just move it.

Well, they are incorrect.

Please send me both of your case numbers and I will explain it to them.
Maybe they’ll listen to a developer, since I can show them the evidence.

1 Like

I just did a couple tests of Drag Drops into different websites

OneDrive - Moved it
Egnyte - Copied it
Google Drive - Copied it
Kinetic - Moved it

CS0003730366