Page 1 of 1

Is it possible to stop background processing?

Posted: 31 Mar 2022 11:50
by John_C
Sometimes the background processing is processed infinitely (or maybe just for a too long time, I have not tested that much).

Is it possible to stop it somehow? When you don't use the background processing, you can simply press the Escape, but it seems the Escape key won't help if the background processing is enabled.

The Queue File Operations is disabled. (I have read the help, but I don't know what are exact pros/cons to use it.)

Re: Is it possible to stop background processing?

Posted: 31 Mar 2022 21:06
by jupe
Configuration | File Operations | File Operations | Background Processing | Enable background processing

Re: Is it possible to stop background processing?

Posted: 31 Mar 2022 21:55
by John_C
Yes, but I mean something different. Let me explain.

For example, if I select some file and try to copy it somewhere, and the background processing is enabled, Windows will show me the security warning.
warning.png
If I select "Cancel", the window will disappear, and that background processing taks will continue to run, indefinitely.

To stop it, I can disable the background processing itself (as you suggested in the Configuration window or by unpressing the "Background Processing" button on the toolbar). But once I enable it again, that one task will continue.

What I actually ask for is how to tell XY to break a specific background task that takes too long time to finish.

Re: Is it possible to stop background processing?

Posted: 31 Mar 2022 22:17
by highend
Why do you select cancel on that popup at all?

Remove the checkmark and click on run...

Re: Is it possible to stop background processing?

Posted: 31 Mar 2022 22:33
by John_C
This is just an example. I remember that such infinite background tasks are sometimes occur at different circumstances. But I don't remember at which ones exactly.

Re: Is it possible to stop background processing?

Posted: 31 Mar 2022 22:39
by highend
Sorry but what exactly do you want XY to do if you tell the OS to not run what XY needs to run to do it's job?

Re: Is it possible to stop background processing?

Posted: 01 Apr 2022 01:55
by John_C
I simply want to cancel a specific background task. Just cancel it forever. Not the background processing feature itself.

Let me explain.

For example, I can open Windows Explorer, select a file that is about 2.5 GB size, press Ctrl+C and then Ctrl+V. This will start the process of copying.

Since the file is quite large, the copying will take some time. During the file is copied, I can open some another folder and press Ctrl+V again. This will start another copying.

So the file is currently copied to 2 different folders and there are 2 windows, each for its copying process.
copying.png
I can click the "Cancel" button on any of them and it will simply cancel 1 of 2 tasks forever. (Or I can click "Cancel" in both windows to cancel both tasks, of course.)

In XY, when the "Background Processing" is enabled and the background processing became infinite (as I described above when I talked about the Warning window), I don't see a way how to cancel that infinite task. (The only workaround I know is to close XY.)

Re: Is it possible to stop background processing?

Posted: 01 Apr 2022 07:17
by highend
and the background processing became infinite
You did NOT tell XY to cancel something, you told the OS to not allow to run a xycopy.exe instance^^
You are wondering why you can't just cancel that inside XY afterwards? oO

Configuration | File Operations | File Operations | Custom Copy Operations | Configure...
[x] Show progress dialog

You can always cancel such a copy operation directly in the progress dialog (that is a background process) if you allow it to run properly

Re: Is it possible to stop background processing?

Posted: 01 Apr 2022 12:09
by John_C
[quite]
You can always cancel such a copy operation directly in the progress dialog (that is a background process) if you allow it to run properly
[/quite]

The dialog is enabled, but when such infinite processing happens, there is no dialog. Here is an animated version of the whole story:
infinite-background-processing.gif

Re: Is it possible to stop background processing?

Posted: 01 Apr 2022 12:13
by highend
Sorry but how many times do I need to repeat myself?

Re: Is it possible to stop background processing?

Posted: 01 Apr 2022 13:14
by John_C
I do understand your words. XY waits for xycopy instance and it waits for it infinitely because xycopy instance was blocked by OS, right?

What I don't understand is how to stop XYplorer to wait for this particular xycopy instance? It seems XY don't have a callback from the OS when OS blocks xycopy.

Since there is no callback, I expected there might be a button or a context menu to break such infinite waiting manually. And no, I don't talk about disabling the background processing feature itself, this is a different thing.

Re: Is it possible to stop background processing?

Posted: 01 Apr 2022 13:28
by highend
how to stop XYplorer to wait for this particular xycopy instance
By killing the task

I already said how to avoid the whole scenario...