Page 1 of 1

Two bugs related to directory copying

Posted: 25 Jul 2019 21:47
by John_C
There are 2 bug reports here. Tested with Win7 and the freshly unpacked portable version of XY 20.20.0000

The 1st:

1. Enable Custom Copy option.

2. Add the Desktop to the Catalog. Note, that it should be added as Location: Desktop, not Location: C:\Users\Name\Desktop.

3. Now, go to C:\ and create some test directory. Press Ctrl-C to copy it. Click Desktop in the Catalog. Press Ctrl-V. The directory will be copied to Desktop. However, if you try to enter into copied directory, it will not be possible:

Code: Select all

Location currently not available.
Desktop\Dir 1
-----------------------

The 2nd:

1. Create some directory ("New Folder").
2. Create 20 empty text files in it. (To make it quick, I create 3-4 and then copy paste them several times.)
3. Select all files with Ctrl-A and assign color label to them.
4. Create a copy of this directory. See, that about 40-50 % of color labels are missing in this copy.

The most tricky part is that it occurs only sometimes. About ... lets say 50 % of a time. It occurs with one directories and not occurs with another. For example:

Code: Select all

C:\Users\Name\Desktop\Test
C:\Users\Name\Desktop\Test - Copy (copied version)
may work fine. All color labels will be preserved. However,

Code: Select all

C:\Users\Name\Desktop\FooBar\MyDir
C:\Users\Name\Desktop\FooBar\MyDir - Copy (copied version)
may cause the bug. I.e. the copied version will lost about a half color labels.

It will not take long time to reproduce it. Less then 5 minutes in my case. But you should try different places (as shown above). If you don't see the bug, there is no need to copy-and-paste this one directory again. Instead, try another one.

Custom Copy is disabled. Though, it seems that it doesn't make difference.

Re: Two bugs related to directory copying

Posted: 06 Aug 2019 09:27
by John_C
Don, can you confirm the second bug, i.e. the bug with missing labels? Metadata is a part of user data. The lost of user data seems to be very critical, to be honest.

Re: Two bugs related to directory copying

Posted: 06 Aug 2019 09:39
by highend
Unable to reproduce the first bug.

Second bug: Happened on the first try here...
Fresh 20.20.0200 instance, only the custom copy checkmark was set
Configuration | File Operations | File Operations | Custom Copy Operations | Use Custom Copy

Created 20 empty files (New-01.txt ... New-20.txt) in Desktop\Test folder
Assigned orange as their label
Ctrl+c on Desktop\Test, Ctrl+v

and this is the result after entering Desktop\Test-01:
2019-08-06_093845.png

Re: Two bugs related to directory copying

Posted: 06 Aug 2019 11:01
by John_C
> only the custom copy checkmark was set

For me, it doesn't make the difference, i.e. the bug happens in any case.

Re: Two bugs related to directory copying

Posted: 07 Aug 2019 16:04
by John_C
@highend Do you see any workarounds? I use labels very extensively, they are the basis of my workflow. Almost each file, which is not considered as rough draft, have them.

Re: Two bugs related to directory copying

Posted: 07 Aug 2019 16:29
by highend
It needs to be fixed by Don...

Re: Two bugs related to directory copying

Posted: 07 Aug 2019 18:32
by admin
Unable to reproduce the first bug.

But the 2nd bug, wow, that's a serious bug. :tup: And not totally easy to fix. But I think I squashed it. Check out the next beta.