Two bugs related to directory copying

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
John_C
Posts: 336
Joined: 16 May 2018 20:04

Two bugs related to directory copying

Post 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.

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Two bugs related to directory copying

Post 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.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Two bugs related to directory copying

Post 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
To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Two bugs related to directory copying

Post 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.

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Two bugs related to directory copying

Post 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.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Two bugs related to directory copying

Post by highend »

It needs to be fixed by Don...
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Two bugs related to directory copying

Post 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.

Post Reply