I've noticed this bug in FAR2 and the latest nightly build of FAR3 is still affected. The issue occurs if there's a file name ending in ~1.
Steps to reproduce:
1, create a folder containing files:
a~1.ex
file.ex
file.ex2
2, select all files, press F6 to rename them to *.exe and confirm the action
Problem: instead of prompting the user for an action when a file with the same name already exists, the other file.ex2 is simply lost. Result: the folder contains only a~1.exe and file.exe.
Renaming files causes file loss when ~1 is part of file name
- John Doe
- Бюрократ
- Posts: 13862
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 74 times
- Been thanked: 428 times
- Contact:
Re: Renaming files causes file loss when ~1 is part of file
unable to reproduce
Code: Select all
╔═══════════════════════════ Warning ════════════════════════════╗
║ File already exists ║
║ file.exe ║
╟────────────────────────────────────────────────────────────────╢
║ New 0 25.04.2012 14:47:14 ║
║ Existing 0 25.04.2012 14:47:09 ║
╟────────────────────────────────────────────────────────────────╢
║ [ ] Remember choice ║
╟────────────────────────────────────────────────────────────────╢
║ { Overwrite } [ Skip ] [ Rename ] [ Append ] [ Cancel ] ║
╚════════════════════════════════════════════════════════════════╝
Re: Renaming files causes file loss when ~1 is part of file
The only way to reproduce is to disable the warnings for Move (Options->Confirmations and uncheck the "Move").
But in that case i believe it's "user error", since FAR won't warn of problems since the user ASKED NOT TO BE WARNED .
Code: Select all
╔═══════════ Confirmations ═══════════╗
║ [x] Copy ║
║ [ ] Move ║
║ [x] Overwrite and delete R/O files ║
║ [x] Drag and drop ║
║ [x] Delete ║
║ [x] Delete non-empty folders ║
║ [x] Interrupt operation ║
║ [x] Disconnect network drive ║
║ [x] Disconnect SUBST-disk ║
║ [x] Detach virtual disk ║
║ [x] HotPlug-device removal ║
║ [x] Reload edited file ║
║ [x] Clear history list ║
║ [x] Exit ║
╟─────────────────────────────────────╢
║ { OK } [ Cancel ] ║
╚═════════════════════════════════════╝
But in that case i believe it's "user error", since FAR won't warn of problems since the user ASKED NOT TO BE WARNED .
Sorry for writing in English in the Russian forums, but i don't speak Russian and don't trust online translators.
"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA
"There’s no teacher who can teach anything new He can just help us to remember the things we always knew." ~ ENIGMA
Re: Renaming files causes file loss when ~1 is part of file
I'd add that this issue DOES NOT occur with x64 version (it does when using x86 version on Win7 x64). On WinXP and Win7 x86, the files were lost as described in my initial post. I can provide a demonstration video but I think it won't be necessary as I've reproduced it on 3 independent systems.
Re: Renaming files causes file loss when ~1 is part of file
Strange enough, it doesn't happen with FAR2 on my home computer running Win7 x86. However, it happens with FAR3 installed in a different folder than FAR2 (uninstalling FAR2 doesn't make any difference). I'll try it with FAR3 on a machine that has never had FAR installed before.