Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing drag and drop operations #14

Open
WhiteChairFromIkea opened this issue Jul 2, 2021 · 4 comments
Open

Failing drag and drop operations #14

WhiteChairFromIkea opened this issue Jul 2, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@WhiteChairFromIkea
Copy link
Contributor

WhiteChairFromIkea commented Jul 2, 2021

Issue

Drag and drop operation from SFTP client file explorer to DC file panel drops kind of GUID file, instead of real file:

see: https://youtu.be/9mAuucn2sRQ

Steps to reproduce

  1. Install https://www.bitvise.com/ssh-client-download
  2. Login to test.rebex.net:22, login information: demo/password;
  3. Drag and drop file from SFTP server to regular explorer ("MS explorer.exe", or "free commander");
  4. File transfer is successful, file is created on local drive with correct filename;
  5. Repeat step 3 with DC. Something is transfered from SFTP to local PC, but filename is not correct.

Edit 2021-07-05: I Confirm, part below is fixed in nightly (revision 9843 as per comment by alexx2000):
# EDIT: MUCH EASIER STEPS TO REPRODUCE:
https://youtu.be/quwksI6WeoQ
1. Go to public ftp with ms explorer.exe: ftp://speedtest.tele2.net/
2. Drag and drop some file from ftp server to explorer and DC. DC fails, explorer OK.

Double Commander
Version: 0.9.10 beta
Revision: 9640M
Build date: 2021/01/10
Lazarus: 2.0.8.0
FPC: 3.0.4
Platform: x86_64-Win64-win32/win64
OS version: Windows 10 Home 2009 x86_64
@WhiteChairFromIkea WhiteChairFromIkea changed the title Failing drag and drop operation from "Bitvise SSH client" Failing drag and drop operations Jul 2, 2021
@TheNicker TheNicker added the bug Something isn't working label Jul 2, 2021
@alexx2000
Copy link
Collaborator

alexx2000 commented Jul 2, 2021

Drop from Explorer fixed (revision 9843).

On my system drag&drop from Bitvise SFTP does not work with Explorer too (file with GUID created instead).

@WhiteChairFromIkea
Copy link
Contributor Author

WhiteChairFromIkea commented Jul 5, 2021

On my system drag&drop from Bitvise SFTP does not work with Explorer too (file with GUID created instead).

By saying "Explorer" do you mean "default MS Windows explorer.exe"? I am sure I didn't have any issues with explorer.exe (working only on windows 10 with latest updates). As can be seen from the video in OP, "GUID" string is replaced to user-friendly filename string after file is finished copying.

More info: there is no issues when drag-dropping from bitvise SSH to freecommander.exe (https://freecommander.com/en/downloads/) or explorer++ (https://github.com/derceg/explorerplusplus). 2nd is an open source project, so maybe parts of drop code can be borrowed from this project..?

@alexx2000
Copy link
Collaborator

Yes, MS Windows Explorer. Drag&drop from Bitvise SFTP does not work with all file managers on my system (Windows 10 21H1 x86_64). As I see Bitvise use some hackish method for drag&drop, it passing file in CF_HDROP clipboard format with GUID file name. So after drop, file with GUID name created and nothing else happen.

@Neustradamus
Copy link
Collaborator

@WhiteChairFromIkea: The official and good organization/repository:

Please open at the good place.

Linked to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants