symless / synergy-core

Open source core of Synergy, the cross-platform keyboard and mouse sharing tool (Windows, macOS, Linux)
https://symless.com/synergy
Other
10.15k stars 3.61k forks source link

Drag and drop between computers (Windows and Mac) #37

Closed nbolton closed 9 years ago

nbolton commented 9 years ago

Imported issue:

This is an enhancement request.

Just as text copy/paste between the client and server is supported today,
it would be great to have file copy/paste supported.

As a possible implementation, perhaps the server could run an FTP server
and copy/paste would send files via FTP. Although a direct byte stream
might fit better with the current design.

nbolton commented 9 years ago

Hi Nick, I'm not sure if this approach would work for Synergy or not, but is there any reason not to approach this as a file sharing extension for Mac/Linux/Windows? Meaning, if we present a user space file system (likely FUSE driven) and simply publish directory entries (and maybe inodes?) then allow retrieval from the host machine to the target machine through the FUSE interface. Realistically it's a data stream that needs to materialize on the client box in some fashion, this might be the "easy" way to go on this feature. Since the majority of users seem to be using this in a LAN setting, it makes sense to do a publish/consume model to me. Feel free to tell me I'm on crack, too though :-). Also, examples of FUSE file systems exist for Mac, Linux, and Windows, and the project is supported externally. Adding it as a dependency might make sense.

nbolton commented 9 years ago

Why not just transfer it asynchronously as has been suggested and simple show a replica of the windows/linux/osx file transfer window to show the progress. This would be no different/worse than the current user experience of copying a file locally. You could limit the bandwidth to prevent interruption of the controls?

nbolton commented 9 years ago

Could you please publish a copy/paste solution (Strg+C / Strg+V) BEFORE the drag/drop one?

I think this is much easier to accomplish and the file transmission is also needed.

When you have accomplished this, publish as a new version and afterwards continue to work on drag/drop ;)

nbolton commented 9 years ago

Are you saying this only works with mac and windows"

nbolton commented 9 years ago

Good point. I would love to use this with Linux, too

Are there any plans or is it already working and the issue title is wrong?

nbolton commented 9 years ago

I also would like to have file drag and drop on Linux. Currently when I try to start the new version's server (on Linux Mint 14) it fails with this error:

Option not supported on Linux: --enable-drag-drop

nbolton commented 9 years ago

So excited to get an e-mail about window sharing between PC's. Immediately donated and upgraded. Now I'm getting an error when I try to start the server: Option not supported on Linux: --enable-drag-drop

...what gives?

nbolton commented 9 years ago

Another sad day for a premium user. I just upgraded and now end up with a broken installation. I have the same error on Linux (Ubuntu 13.10).

But ... I then installed the nightly 1.4.15 and that one works. I also installed it on my brand-new reinstalled Win 8.1 laptop and got an error. I ignored it and it works fine now.

nbolton commented 9 years ago

drag and drop fail:

tried clicking on a several files for example - a shortcut - click > drag to second monitor... icon stops at the edge of the screen and nothing appears on the other side except for the mouse. releasing the mouse button doesn't do anything either.

nbolton commented 9 years ago

Same here. Drag and drop does not work Setup: Mac <-> Win 7 <-> Win 8

nbolton commented 9 years ago

Drag/Drop works for me after logging in as premium - BTW should add an option to login in the help/settings menu instead of having to open the wizard.

Would be great if there was some indicator that a drop/copy was in progress!

Thanks for this feature!

nbolton commented 9 years ago

Drag/Drop doesn't work for me. Running v1.4.15 and I used the wizard to log into my Premium account. I am going from Win 7 <--> Win 7. Server is Desktop and Client is a Laptop which happened to be VPN'd into another network. Love this product and have used for the last year. Any thoughts on why Drag/Drop will not work?

nbolton commented 9 years ago

Got Synergy with premium account. But no file d&d. Please, give us a solution.

nbolton commented 9 years ago

Is it going to be implemented for Linux?

nbolton commented 9 years ago

Is there a plan to implement this on linux?

nbolton commented 9 years ago

I have logged in as premium account but I can only drag/drop from server -> client and not client -> server. Is there any reason or fix for this?

nbolton commented 9 years ago

I am a Linux user, this feature would be great for Linux as well

nbolton commented 9 years ago

I can drag&drop from client to server, but it copies to desktop all the time. Any chance to copy it to specified folder?

nbolton commented 9 years ago

Please add support for Windows<->Linux drag'n'drop and Linux in general.

nbolton commented 9 years ago

Using 3 macs, i can go from client to server and drag and drop a file however from server to it does show an icon or anything, but when i do click on desktop it does copy file. However it then traps my cursor on the client, until i grab a window and try and drag it to the edge of the screen.

nbolton commented 9 years ago

+1 for Linux support

Premium user: Linux servers, OSX 10.9.2 client

nbolton commented 9 years ago

+1 for linux support

nbolton commented 9 years ago

hope to see this on windows and also linux.