Powerful stuff! At some point, some intelligence about when to go parallel (HD1 > HD2, HD1 > USB1) vs. queued would be even better, but I should leave something for the XYcopy 2.0 wish thread, of course...admin wrote:...
If background processing is enabled:
- Copy and move commands are queued IF queuing is enabled, else they are spawned to separate background processes.
- Delete operations are always spawned to separate background processes.
Delete (or Recycle) dialog not modeless
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 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.
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: Delete (or Recycle) dialog not modeless
-
admin
- Site Admin
- Posts: 65471
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Delete (or Recycle) dialog not modeless
Yep, cool. This will be, BTW, very easy to do. The harder stuff is the live progress GUI which is one of the next things I'll do. I'll just might first squeeze in the TXT preview just to get into the coding habit again after 2 weeks of full English breakfast...nas8e9 wrote:Powerful stuff! At some point, some intelligence about when to go parallel (HD1 > HD2, HD1 > USB1) vs. queued would be even better, but I should leave something for the XYcopy 2.0 wish thread, of course...admin wrote:...
If background processing is enabled:
- Copy and move commands are queued IF queuing is enabled, else they are spawned to separate background processes.
- Delete operations are always spawned to separate background processes.
FAQ | XY News RSS | XY X
Re: Delete (or Recycle) dialog not modeless
If I may cheekily squeeze in a wish there -- an ability to move queued jobs up/down the order. As someone who moves gigabytes of data between partitions/HDDs on a daily basis, the order in which files (or batches of files) arrive to their destination is pretty important to me.admin wrote:...The harder stuff is the live progress GUI which is one of the next things I'll do...
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Delete (or Recycle) dialog not modeless
I forgot to ask about intra-partition moves: I assume that, like deletes, they are always spawned to separate background processes and are never queued?admin wrote:If background processing is enabled:
- Copy and move commands are queued IF queuing is enabled, else they are spawned to separate background processes.
- Delete operations are always spawned to separate background processes.
Also, do XYcopy.exe instances handle more than one queue item? By way of an example, when there are two copy jobs in the queue, are they handled (sequentially, of course) by one and the same XYcopy.exe instance or does each queue item always spawns a new XYcopy.exe process?
Re: Delete (or Recycle) dialog not modeless
That's easy to test. Disable queuing, fire up some inter-partition copies and check out Task Manager's process listnas8e9 wrote:Also, do XYcopy.exe instances handle more than one queue item? By way of an example, when there are two copy jobs in the queue, are they handled (sequentially, of course) by one and the same XYcopy.exe instance or does each queue item always spawns a new XYcopy.exe process?
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Delete (or Recycle) dialog not modeless
*Disable* queueing?zer0 wrote:That's easy to test. Disable queuing, fire up some inter-partition copies and check out Task Manager's process listnas8e9 wrote:Also, do XYcopy.exe instances handle more than one queue item? By way of an example, when there are two copy jobs in the queue, are they handled (sequentially, of course) by one and the same XYcopy.exe instance or does each queue item always spawns a new XYcopy.exe process?
For the record, I only see one XYcopy.exe process being spawned to process a 10-item queue, so one XYcopy.exe instance apparently handles more than one queue item.
-
admin
- Site Admin
- Posts: 65471
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Delete (or Recycle) dialog not modeless
What about triggering the jobs in the order you want them right away?zer0 wrote:If I may cheekily squeeze in a wish there -- an ability to move queued jobs up/down the order. As someone who moves gigabytes of data between partitions/HDDs on a daily basis, the order in which files (or batches of files) arrive to their destination is pretty important to me.admin wrote:...The harder stuff is the live progress GUI which is one of the next things I'll do...
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 65471
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Delete (or Recycle) dialog not modeless
1. intra-partition moves are never handled by XYcopy but just done by the XYplorer process.nas8e9 wrote:I forgot to ask about intra-partition moves: I assume that, like deletes, they are always spawned to separate background processes and are never queued?admin wrote:If background processing is enabled:
- Copy and move commands are queued IF queuing is enabled, else they are spawned to separate background processes.
- Delete operations are always spawned to separate background processes.
Also, do XYcopy.exe instances handle more than one queue item? By way of an example, when there are two copy jobs in the queue, are they handled (sequentially, of course) by one and the same XYcopy.exe instance or does each queue item always spawns a new XYcopy.exe process?
2. Yes, by one and the same XYcopy.exe. When a job is finished XYcopy asks XYplorer if there are more jobs pending and if yes it gets fed the next job right away without terminating/restarting a new XYcopy process.
FAQ | XY News RSS | XY X
Re: Delete (or Recycle) dialog not modeless
This was the original design for deletes as well, which you changed to accommodate much larger than average deletes. By the same logic, would it be an idea to farm out intra-partition moves to background processing as well?admin wrote:1. intra-partition moves are never handled by XYcopy but just done by the XYplorer process.
-
admin
- Site Admin
- Posts: 65471
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Delete (or Recycle) dialog not modeless
I don't see a reason for this. These are just modifications of the file tables, no bytes are moved (and no slow DB is updated as is the case with recycle-deletes). They must be fast.nas8e9 wrote:This was the original design for deletes as well, which you changed to accommodate much larger than average deletes. By the same logic, would it be an idea to farm out intra-partition moves to background processing as well?admin wrote:1. intra-partition moves are never handled by XYcopy but just done by the XYplorer process.
FAQ | XY News RSS | XY X
Re: Delete (or Recycle) dialog not modeless
I wasn't aware that recycling files has a much larger overhead. Fine with me.admin wrote:I don't see a reason for this. These are just modifications of the file tables, no bytes are moved (and no slow DB is updated as is the case with recycle-deletes). They must be fast.nas8e9 wrote:This was the original design for deletes as well, which you changed to accommodate much larger than average deletes. By the same logic, would it be an idea to farm out intra-partition moves to background processing as well?admin wrote:1. intra-partition moves are never handled by XYcopy but just done by the XYplorer process.
-
lukescammell
- Posts: 744
- Joined: 28 Jul 2006 13:15
- Location: Kent, UK
- Contact:
Re: Delete (or Recycle) dialog not modeless
I see a reason for it - you've obviously never had to work with Sophos Antivirus installedadmin wrote:I don't see a reason for this. These are just modifications of the file tables, no bytes are moved (and no slow DB is updated as is the case with recycle-deletes). They must be fast.nas8e9 wrote:This was the original design for deletes as well, which you changed to accommodate much larger than average deletes. By the same logic, would it be an idea to farm out intra-partition moves to background processing as well?admin wrote:1. intra-partition moves are never handled by XYcopy but just done by the XYplorer process.
I hate Sophos, but have no choice (at work) in having it removed.
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)
Windows 10 Pro x64 (everywhere except phone…)
-
admin
- Site Admin
- Posts: 65471
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Delete (or Recycle) dialog not modeless
I saw an additional reason: Isn't it a bit strange/confusing that intra-volume moves are missing from the (Background) Status Log? I could easily generate Huh?-moments with users who are not fully aware of the backgrounding conditions.lukescammell wrote:I see a reason for it - you've obviously never had to work with Sophos Antivirus installedadmin wrote:I don't see a reason for this. These are just modifications of the file tables, no bytes are moved (and no slow DB is updated as is the case with recycle-deletes). They must be fast.nas8e9 wrote:This was the original design for deletes as well, which you changed to accommodate much larger than average deletes. By the same logic, would it be an idea to farm out intra-partition moves to background processing as well?admin wrote:1. intra-partition moves are never handled by XYcopy but just done by the XYplorer process.It makes even intra-partition moves slow. I know it shouldn't, but I think it check every single file you're "moving" and hence stuff like that can take an age.
I hate Sophos, but have no choice (at work) in having it removed.
Another possibility would be to make it optional:
Background the following operations:
[ ] Copy
[ ] Cross-volume move
[ ] Intra-volume move
[ ] Delete
[ ] Backup
FAQ | XY News RSS | XY X
Re: Delete (or Recycle) dialog not modeless
I'm a bit confused about the function of the Status Log vs. the Action Log. All file operations are logged by the Action Log, but only background operations are logged in the Status Log. When all file operations are backgrounded, both logs will log all. Other than for diagnostic purposes, what does the Status Log add? Will the Status Log become the queue status window?admin wrote:I saw an additional reason: Isn't it a bit strange/confusing that intra-volume moves are missing from the (Background) Status Log? I could easily generate Huh?-moments with users who are not fully aware of the backgrounding conditions.
Another possibility would be to make it optional:
Background the following operations:
[ ] Copy
[ ] Cross-volume move
[ ] Intra-volume move
[ ] Delete
[ ] Backup
I do like the backgrounding of intra-partition moves, but I'm not sure why people would want to disable backgrounding.
-
admin
- Site Admin
- Posts: 65471
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Delete (or Recycle) dialog not modeless
Action Log and Status Log both can be turned off so they have to be kept independent. Sure they overlap in parts, but internally they are different things for different purposes. "Status Log" might not be a good name for it and add to the confusion.nas8e9 wrote:I'm a bit confused about the function of the Status Log vs. the Action Log. All file operations are logged by the Action Log, but only background operations are logged in the Status Log. When all file operations are backgrounded, both logs will log all. Other than for diagnostic purposes, what does the Status Log add? Will the Status Log become the queue status window?admin wrote:I saw an additional reason: Isn't it a bit strange/confusing that intra-volume moves are missing from the (Background) Status Log? I could easily generate Huh?-moments with users who are not fully aware of the backgrounding conditions.
Another possibility would be to make it optional:
Background the following operations:
[ ] Copy
[ ] Cross-volume move
[ ] Intra-volume move
[ ] Delete
[ ] Backup
I do like the backgrounding of intra-partition moves, but I'm not sure why people would want to disable backgrounding.
The Status Log is your diagnostic interface to the job status of XYcopy. I might add some interaction here later (pausing, deleting, reordering jobs) -- not sure yet.
The live progress dialog will be a different window that's directly owned by XYcopy.
FAQ | XY News RSS | XY X
XYplorer Beta Club