-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Tracker issue: Drag and Drop. #855
Comments
On the note of reactions, could those with this issue, please react to this comment with 👍 ( |
Using Ubuntu 18.04.3 LTS as the server and Windows 10 Pro as the client, I can not drag and drop files. Doesn't seem like there's been an update to this in a few weeks so I wanted to double-check. |
You don't need to double-check. If the issue hasn't been updated, please assume nothing has changed. Which it hasn't. I only say this so the tracker issue doesn't get "noisy" with comments asking if there's been any progress etc.... |
Personally, I would prefer a file transfer that was very clunky (even just pasting the source and destination filenames into text boxes) but worked, rather than something with a smooth interface (like drag and drop) but is unreliable. This is especially the case with Linux - I don't believe drag and drop is even intended to work on Linux but Linux-Windows is my primary use case, so anything at all would be a great help with that. (Apologies for commenting on this high-activity thread but I think this is genuinely new content. Those that agree/disagree with my preference had add their reactions accordingly to this comment.) |
All - this is a tracking issue for the development of this feature. Please only comment constructively. I'm going to delete those comments that merely post logs etc of the current behaviour. I recognise my decision may be controversial, but we really need to keep the issue constructive. Thank you. |
By the way, I know this is a late reply, but thank you for your comment - I think we should bear this in mind for the implementation, as and when. Definitely valuable content, thank you! |
Drag and drop does not work at all on Ubuntu 20.04. If this is the central tracking issue for drag and drop and the last actual status update was "If the issue hasn't been updated, please assume nothing has changed. Which it hasn't." and this was back in Sept 2020, can we now assume that this feature will never happen and is being removed from the feature list of the program? |
No, it will happen, but we just don't have enough devs or manpower yet. Again, assume nothing has changed... |
How can I help make this happen? I have $ and don't like any other software out there. If me throwing $ at you isnt constructive... del this ;) |
Still no update, but we will consider the suggestion of monetary contributions towards the goal. I don't think it will be a straightforward fix, however, and we have a fair few critical issues to go through. |
First off as a side note I find it odd that this was merged with the clipboard issues. I'm running Macmini 9,1 with macOS 11.6 (20G165) for the client, Windows 10 Pro 10.0.19043 Build 19043 as the server, and the clipboard will only successfully copy from client to server, but never from server to client. The client logs do note that the clipboard was updated (though only sometimes, and there are two prints) but it seems the clipboard is only cleared when this happens. |
Did not see a comment about the log message, so here it is:
|
I just got |
Drag and drop has never worked for me since install over a year ago.
Host: Windows 10 20H2 19042.1415 Barrier version currently 2.3.3. I will update and test again. UPDATE: Updated to 2.4.0 on both machines. No longer receive the above, but I now receive
|
Tests on Barrier 2.4.0.1, used on two Windows 10 and command line exclusively : Copy/paste of files not working. Don't know if it's normal. I check the content of clipboards and I see an entry "BarrierOwnership" on the computer that waiting to paste the file. |
Hi, This issue is still present in 2.4.0 But iI don't figure it out why this is impacting copy/paste feature Thanks for this great piece of software, Barrier is awesome ! Jean-Marie |
Yes, the main reason I merged it with them is because of the similar mechanic, and I thought at the time it would be solved with the same fix. But I'm not with the Barrier project now - so I can't change this. I've been meaning to reply to your side note, so I hope this explains my reasoning. |
Having the same issue on 2.4.0 where both drag-n-drop and clipboard sharing is not working, however when I check I see Elevate is set to As Needed on both the client and server, so I'm thinking it could be something else entirely. Also for context, my setup is Window 10 to Windows 10, with SSL disabled (because I couldn't get it working with). |
One thing that I notice, which is weird... I can drag a file, but then as soon as I move the cursor to the other screen, the drag is cancelled on the server's side (and the log window closes, for some reason). Just taking a guess here, but you don't think the drag is being cancelled before Barrier gets notified, and so it ends up trying to read a file drag with no file (hence the "failed to get drag file name from OLE" message)? So maybe the thing to look at is what is causing Windows Explorer to cancel the drag operation prematurely? |
I think I may have a hint as to what is happening. My journey: Behavior: unrelated note: I couldn't actually get barrier to run initially on the clients until I disabled SSL, which is a bug. HOWEVER: I am now finding that if I double tap I can get through with the file seemingly still attached to the cursor, but dropping in finder fails. no file appears, but I try AGAIN and it seems to work. I realize that it worked because this time perhaps somehow I did not trigger something in my menu bar (autohidden) by etnering at a different location. I am entering via the bottom of server into top of client and hitting the menubar/file menu. Or maybe just the file was different, or the folder i dragged into.bar See if I can reproduce: YAY, I think I figured it out!! If I make sure that when I drag out of the finder and over the desktop, not another application, then when I enter the client I can drop, as long as I don't have anything selected in the corresponding finder and i am not meeting other parts of the GUI. I roughly tested again, and double tap seems to be necessary as well. Of course this isn't thorough test, and my diagnosis is probably off, but I think it does give a hint as to what might be happening. Logs attached PS Barrier is really awesome. I just went to a 3 computer setup and being able to have only one set of mouse, keyboard and trackpad (partial...some gestures not working) on the table is great!! |
forgot the client logs, which show at ton of these: related?? I don't understand logspeak. |
does anyone fix this issue ? , i have mac os server and windows 10 client , but cannot drag and drop as well |
I'm also having this issue :( I'm trying to copy/paste and drag/drop from Arch linux <-> Arch linux I can provide logs if needed. Basically, when I try to drag a file, the cursor just stops at the edge of the screen. The log is saying: "try to leave "pc" on the right" Thank you! |
Any update on this? |
Getting this error when trying to drag n drop a large file. Server running on MacOS 12.4, client on Windows 10 Pro. |
@shymega: I am also experiencing this issue, and I did a pretty deep dive into it. I suspect it may have something to do with If (The call to Some other things I've observed:
Host (Server) machine: Windows 8.1, Barrier version I hope this helps! I'd love to see Drag & Drop working someday! |
Same with Mac<>Kubuntu when drag file from Kubuntu to Mac:
when drag file from Mac to Kubuntu:
|
Thanks for the input, but I'm no longer involved with Barrier. I gave up. Now forked to Input Leap and my own hybrid KVM. I am no longer subscribed to this issue either, so I'm afraid you're on your own... |
sad that development for the only working open-source virtual KVM has been abandoned. I got the same problem, can't drag/drop files. If I could copy paste files I wouldn't care, but copy paste only works with text and etc, not files. |
Development is still going on... |
|
There are CI artifacts still being generated, but we have a lot of Barrier references and copyright headers to be updated. You can access the artifacts via GH Actions. Tags still exist, and if you check them out in a local Git clone, you'll be able to build. |
I got a solution to this problem by: I just untrust graphical interfaces (barrier.exe) so i went directly to run the client/server binaries at "C:\Program Files\Barrier"
Ta Da .. I dragged and dropped files from one computer to another and the result was, the files were copied on the "Desktop" of the other computer always (as the binaries also said in the logs), so worked beautifly For you dev guys: I came up with this solution after digging a little bit on the github source code using "grep -rne Xxx" search and "nano ...." to look further on the files (Actually using windows on its ubuntu WSL2 support and some "apt install nano") I realize the error was a problem about not having a "filename = m_dropTarget->getDraggingFilename()" (src/lib/platform/MSWindowsScreen.cpp) which derived from another portion of code at the beggining of the execution of these binaries because where i wasn't reading a message "drag and drop enabled" (src/lib/barrier/App.cpp) when using F2 logging (Menu : Barrier --> Show log) on the GUI binary (barrier.exe) So as you saw, i add these argument manually on the barriec.exe and barriers.exe binaries (--enable-drag-drop) with a little "--help" reading on each one of them to see the right flag to enable. |
@joseveland I was pointed to your comment on the new fork's tracker. Might be a good idea to post your solution on the Wiki as a PR? https://github.com/input-leap/wiki-prs Barrier doesn't seem maintained anymore. Thanks. |
Due to the numerous issues created, without any sign of checking for duplicate issues, I have taken this opportunity to close those issues about drag and drop not working in favour of a centralised tracking issue.
Please only comment on this issue with constructive and positive messages that will facilitate the development and maintenance of drag and drop support. Unconstructive messages will be removed if they do not fit the discussion. Reacting to messages is fine, however, as it indicates the general feeling towards construction and maintenance of drag and drop.
Thank you 😄
The text was updated successfully, but these errors were encountered: