winmerge icon indicating copy to clipboard operation
winmerge copied to clipboard

Wrong copying path

Open msdobrescu opened this issue 5 years ago • 8 comments

Hello, I've been using WinMerge for years, even when it was sleepy, because it was the best fitting tool for me for all kinds of operation, from merge source codes to directory sync, under Linux with Wine too. I was so happy to see it supported again, so I switched fast to the new version. Then, I've tried a directory comparison to sync. I've chosen two directories to compare, A to B, and compared fine, some differences found. But when I copy from left to right or right to left, let's say directory C, I see it creating a path from A/C to B/C/C, in other words creating the directory C under directory C again!

msdobrescu avatar Nov 24 '19 18:11 msdobrescu

I tried to reproduce the bug as follows, but I couldn't reproduce it.

issue#226

Could you tell me how to reproduce it?

sdottaka avatar Nov 25 '19 22:11 sdottaka

Try to copy directory.

msdobrescu avatar Nov 25 '19 22:11 msdobrescu

Could you elaborate?

sdottaka avatar Nov 25 '19 23:11 sdottaka

I have two folders, A and B, A has a folder X inside. I compare. I copy X from A to B with WinMerge. Then, I see B\X\X. If there are files, they go in the "deepest" X.

On Tue, Nov 26, 2019 at 1:02 AM Takashi Sawanaka [email protected] wrote:

Could you elaborate?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WinMerge/winmerge/issues/226?email_source=notifications&email_token=ABXRIFK5CY6LXWQ42A56C2TQVRKPDA5CNFSM4JRAM2E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFEDGRY#issuecomment-558379847, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXRIFNM5GI7PXYVHGCME6LQVRKPDANCNFSM4JRAM2EQ .

-- Mihai Sorin Dobrescu

msdobrescu avatar Nov 25 '19 23:11 msdobrescu

Thank you for your reply. The procedure you described seems to look the same as the procedure I attached. Is there any difference?

sdottaka avatar Nov 26 '19 22:11 sdottaka

Hi, there might be something related to the installation, like a library overridden by some othe application. I see strange things at compare. For instance, the text lines are between black lines and the files are not loaded completely. I've tried to reinstall it, but nothing changers.

msdobrescu avatar Nov 28 '19 14:11 msdobrescu

I'm having the exact same issue. I'm also using Wine *. The difference I notice is that in your case, the "Confirm copy" dialog has a \ at the end of the "To right" path, when in my case, it doesn't:

https://imgur.com/a/H5cHwdN

(*) wine-5.0.2 32bits

gabrielfin avatar Nov 08 '20 21:11 gabrielfin

I haven't been able to reproduce this issue on Windows yet, but I was able to reproduce this issue on wine 5.0 + WinMerge 2.16.14.

image

sdottaka avatar Sep 19 '21 02:09 sdottaka