May not be a bug but is puzzling when it happens and I don't see that it's been discussed.
In a "::fresh" instance of XY v27.00.0201, under Win 10 x64, with Flatten Folder enabled. If a file in one of the subfolders is locked eg by VLC media player, then Flatten Folder (whether issued in the Tree or the List pane) will just do nothing - which is understandable - but without showing any reason why.
Ideally XY would in this case pop a dialog saying that the folder can't be flattened because a file is in use. However, I kinda get that "file locked" is a Windows function and that may not communicate well. So just noting this here.
(Same in XYTB.)
Flatten Folder quits silently if a file is locked.
Forum rules
READ THIS AND DO IT!!!
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%).
We 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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
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%).
-
admin
- Site Admin
- Posts: 65143
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Flatten Folder quits silently if a file is locked.
It does not check beforehand if a folder can be flattened. Currently, the algorithm works through the moves until a move fails, at which point it silently aborts any further action. This is certainly not ideal. The best I can offer for now is that the algorithm continues and moves all files it can, and finally says "some files could not be moved".
UPDATE: I did that.
UPDATE: I did that.
FAQ | XY News RSS | XY X
Re: Flatten Folder quits silently if a file is locked.
Thanks! IMHO that's the best choice and is consistent with other "Move" commands: they do what they can until they hit a snag; then stop and report it.
I love having Flatten Folder and have used it countless times.
I love having Flatten Folder and have used it countless times.
XYplorer Beta Club