View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002095 | Double Commander | File operations | public | 2018-07-03 00:52 | 2021-02-13 10:00 |
Reporter | kandrey89 | Assigned To | Alexx2000 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Projection | none | ETA | none | ||
Platform | macOS | OS | High Sierra | OS Version | 10.13.5 |
Product Version | 1.0.0 (trunk) | Product Build | 8189 | ||
Target Version | 1.0.0 | Fixed in Version | 1.0.0 | ||
Summary | 0002095: In Place File Copy - Clipped File Name | ||||
Description | I 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 | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 9635,9660 | ||||
Operating system | MacOSX | ||||
Widgetset | |||||
Architecture | 64-bit | ||||
|
>> 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)" |
|
.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. |
|
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". |
|
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. |
|
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). |
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 |