Flatten Folder Failure
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%).
Re: Flatten Folder Failure
Hi Papoulka,
You got it.
You got it.
- Attachments
-
- My Daily Test Folders
- XY07.jpg (10.87 KiB) Viewed 3411 times
Re: Flatten Folder Failure
The Flatten Folder's performance is random and inconsistent.
An hour ago it worked, but now failed.
An hour ago it worked, but now failed.
- Attachments
-
- Error msg when Flatten Folder fails.
- XY08.jpg (7.1 KiB) Viewed 3411 times
Re: Flatten Folder Failure
armsys - what Windows are you running? I'm on Win7 32-bit. There may be some relevant difference between 7 and later.
Also, try a "::fresh" instance of XY (type that without the quotes in the address bar). In a ::fresh instance I find no failures of the menu "Flatten folder" command. And if my personal XY has just been restarted, it too works reliably.
But if my personal XY has been running for a while, the menu "Flatten folder" command always fails. This is on both the C: drive and other drives. "Fails" means no changes are made, no messages etc - just nothing happens.
My only use of Flatten is the script version where I've never had such a problem.
Also, try a "::fresh" instance of XY (type that without the quotes in the address bar). In a ::fresh instance I find no failures of the menu "Flatten folder" command. And if my personal XY has just been restarted, it too works reliably.
But if my personal XY has been running for a while, the menu "Flatten folder" command always fails. This is on both the C: drive and other drives. "Fails" means no changes are made, no messages etc - just nothing happens.
My only use of Flatten is the script version where I've never had such a problem.
Re: Flatten Folder Failure
That's exactly the core issue. It happens to my XY.Papoulka wrote:But if my personal XY has been running for a while, the menu "Flatten folder" command always fails. This is on both the C: drive and other drives. "Fails" means no changes are made, no messages etc - just nothing happens.
OS: Windows 7 Ultimate (Service Pack 1), 64-bit (6.1)
I don't like ::fresh because it loses all my charming XY settings.
Re: Flatten Folder Failure
No, ::fresh does not affect your settings. And it's the only way for everyone to be on the same sheet of music.
-
admin
- Site Admin
- Posts: 65174
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Flatten Folder Failure
I could fix the "only empty folders" issue. I could not repro anything else.
FAQ | XY News RSS | XY X
Re: Flatten Folder Failure
The error described by OP appeared again, but this time with different message:
"folder was flat already"
"folder was flat already"
Re: Flatten Folder Failure
Excuse me, what's 'OP'?xman wrote:The error described by OP appeared again, but this time with different message:
"folder was flat already"
Reproducible Cause of Flatten Folder Bug
I've just re-tested the Flatten Folder (right-click context menu command) and confirm it still fails. That's, no folders are flattened but it still shows a faulty status report.
After existing and re-starting XY, the Flatten Folder works as expected.
On the other hand, this time I discover a repeatable/reproducible cause of the Flatten Folder failure:
After stopping 'getting folder size" by pressing ESC, the Flatten Folder will fail.
Correction 2015.09.18 Fri 03:52:24 PM HKT
After exiting and re-starting XY, the Flatten Folder works as expected.
After existing and re-starting XY, the Flatten Folder works as expected.
On the other hand, this time I discover a repeatable/reproducible cause of the Flatten Folder failure:
After stopping 'getting folder size" by pressing ESC, the Flatten Folder will fail.
Correction 2015.09.18 Fri 03:52:24 PM HKT
After exiting and re-starting XY, the Flatten Folder works as expected.
- Attachments
-
- Faulty Status Report
- XY12.jpg (5.79 KiB) Viewed 3346 times
Last edited by armsys on 18 Sep 2015 09:53, edited 2 times in total.
Re: Flatten Folder Failure
Good job figuring it out
.
I just tried content search, cancelled it using escape and got the same message. And it worked before the search, I tried.
I just tried content search, cancelled it using escape and got the same message. And it worked before the search, I tried.
Re: Flatten Folder Failure
In fact, just pressing the escape without running a search or doing anything else triggers this bug. And I tried in ::fresh and it works there too.
Re: Flatten Folder Failure
In my case, the ::fresh creates a new instance of XY, which forgets all my own settings c:\ArmSys.ini. I hate it.xman wrote:In fact, just pressing the escape without running a search or doing anything else triggers this bug. And I tried in ::fresh and it works there too.
::fresh; will force the data path to %appdata%\xyplorer\fresh.
Above all, ::fresh; is hardly a charming solution.
An anomaly is an anomaly.
Re: Flatten Folder Failure
You seem to have misunderstood the use of ::fresh.armsys wrote:In my case, the ::fresh creates a new instance of XY, which forgets all my own settings c:\ArmSys.ini. I hate it.![]()
::fresh; will force the data path to %appdata%\xyplorer\fresh.
Above all, ::fresh; is hardly a charming solution.
An anomaly is an anomaly.
It's use is solely to eliminate the influence of your settings in making a bug possible or show its ugly face, which is why it creates an environment with factory defaults without any user customized settings (in all cases not just yours).
It is not intended to use this fresh instance instead of your customized one for your daily XYing.
Ralph 
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)
Re: Flatten Folder Failure
Oh! Thanks RalphM for explaining the original purpose of ::fresh.
XYplorer Beta Club