Author Topic: Drag files from other application error?!  (Read 6271 times)

adulttw

  • Junior Member
  • **
  • Posts: 18
    • View Profile
Drag files from other application error?!
« on: January 16, 2020, 07:22:03 »

I used mouse to drag folders  from SVN to multi commander.


All files are no contents.


Do the same action by Xplorer2,it works.



Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4271
    • View Profile
    • Multi Commander
Re: Drag files from other application error?!
« Reply #1 on: January 16, 2020, 07:48:20 »
I don't know what drop data it sends. might be that it deletes it before MC gets a chance to read it.

In core Settings under 'drag and drop' you can enable an option that will make MC ask if a workaround way should be used. It is for apps that send wrongs type of data and drop data. (unpack to temp and then deletes before dropped apps is finished)

adulttw

  • Junior Member
  • **
  • Posts: 18
    • View Profile
Re: Drag files from other application error?!
« Reply #2 on: January 16, 2020, 08:02:25 »
It still not work.

I drag other folder from SVN,the files all have no contents.

And I draged to normal windows explorer or desktop,
It works fine.

Just only MC can not work... :'(
« Last Edit: January 16, 2020, 08:20:50 by adulttw »

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4271
    • View Profile
    • Multi Commander
Re: Drag files from other application error?!
« Reply #3 on: January 16, 2020, 09:53:14 »
I don't know what Drag and Drop type SVN uses. maybe they use something that MC do not support
But since you get an empty file it be a support mode else nothing would happen.

Dragging files from normal located on drives are totally different. dragging from SVN you drag a file that does not exists..
SVN must fetch the file, and then send it with to the dropped application in a way.. and there are a couple of way they can do this.
They are probably using one of the simple way that does nto work in all situations..

But I will check after the weekend when I'm back and got svn access


adulttw

  • Junior Member
  • **
  • Posts: 18
    • View Profile
Re: Drag files from other application error?!
« Reply #4 on: January 16, 2020, 09:55:47 »
Thank U very much!!
I am waiting the good news!! ;)

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4271
    • View Profile
    • Multi Commander
Re: Drag files from other application error?!
« Reply #5 on: January 16, 2020, 13:39:28 »
I found some old notes.. I looked at this before.

SVN does not actually send the file data during drop. It sends a SVN references and the target must download them self from the SVN Server.
And TortSVN install a shellextension that handle that via the Windows Shell. BUT MC is not built top of the windows shell. (like some other FileManager because of reasons)
So then MC needs to tell TortSVN by it self to fetch the file to the dropped location. Problem is that I did not really find any documentation on how to do that.
Running svn.exe to fetch is might not work, since it will ask for account info, Need to use tell TortSVN to do it since this process already have that info

« Last Edit: January 16, 2020, 13:45:43 by Mathias (Author) »