View Issue Details

IDProjectCategoryView StatusLast Update
0002095Double CommanderFile operationspublic2021-02-13 10:00
Reporterkandrey89 Assigned ToAlexx2000  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
ProjectionnoneETAnone 
PlatformmacOSOSHigh SierraOS Version10.13.5
Product Version1.0.0 (trunk)Product Build8189 
Target Version1.0.0Fixed in Version1.0.0 
Summary0002095: In Place File Copy - Clipped File Name
DescriptionI have a file ".bash_profile", when I copy it in place (copy paste from-to same directory), the resulting file is a "(2)".

I am using "OTHER" mode for file copying ie filename(x).ext

I think I saw a bug recently where a related copy-file-inplace was addressed so this may be a regression.

I expected the ".bash_profile" to be (2).bash_profile
TagsNo tags attached.
Fixed in Revision9635,9660
Operating systemMacOSX
Widgetset
Architecture64-bit

Activities

Skif_off

2018-07-22 20:40

reporter   ~0002689

>> I expected the ".bash_profile" to be (2).bash_profile

Why? ".bash_profile" is not extension, it's name of _hidden_ file "bash_profile".
Result is should be ".bash_profile(2)"

kandrey89

2018-07-24 06:32

reporter   ~0002695

.bash_profile is an extension, besides how is DC going to know how to treat files? It can only find the last period in a filename if exists and then add iterator just before it. It's not practical to have DC understand what is and what isn't an extension beyond the period.

Alexx2000

2018-07-24 07:01

administrator   ~0002697

Under Unix-like systems (Linux, macOS etc.) it's not extension. First dot in the file name means hidden file. So in this case it's the file with name ".bash_profile" and without extension.

Under Windows it is a file with empty name and extension ".bash_profile".

kandrey89

2018-07-26 03:30

reporter   ~0002699

If you want to treat Unix-Linux hidden files as special cases then go ahead, I was just thinking it'd be easier to use a single case to treat the text to the right of the last period as extension and add the iterator just before the last dot.

selenium

2019-04-10 23:29

reporter   ~0003130

Windows 7, 8, and 10 up to version 1809 treat it as a file with empty name but with extension bash_profile.
FreeBSD, Linux, Windows 10 from build 18342 / version 1903 on (yet to be released in May 2019) treat it as a file with name .bash_profile (no more error when trying to create it in Windows).

Issue History

Date Modified Username Field Change
2018-07-03 00:52 kandrey89 New Issue
2018-07-20 22:28 Alexx2000 Status new => confirmed
2018-07-20 22:28 Alexx2000 Target Version => 0.9.0
2018-07-22 20:40 Skif_off Note Added: 0002689
2018-07-24 06:32 kandrey89 Note Added: 0002695
2018-07-24 07:01 Alexx2000 Note Added: 0002697
2018-07-26 03:30 kandrey89 Note Added: 0002699
2019-01-20 13:07 Alexx2000 Widgetset QT4 =>
2019-01-20 13:07 Alexx2000 Target Version 0.9.0 => 0.9.1
2019-02-14 10:56 Alexx2000 Target Version 0.9.1 => 0.9.2
2019-03-10 13:20 Alexx2000 Target Version 0.9.2 => 1.0.0
2019-04-10 23:29 selenium Note Added: 0003130
2021-01-06 12:52 Alexx2000 Fixed in Revision => 9635
2021-01-06 12:52 Alexx2000 Status confirmed => resolved
2021-01-06 12:52 Alexx2000 Fixed in Version => 1.0.0
2021-01-06 12:52 Alexx2000 Resolution open => fixed
2021-01-06 12:52 Alexx2000 Assigned To => Alexx2000
2021-01-06 12:52 Alexx2000 Severity major => minor
2021-02-13 10:00 Alexx2000 Fixed in Revision 9635 => 9635,9660