Is it possible to stop background processing?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
John_C
Posts: 336
Joined: 16 May 2018 20:04

Is it possible to stop background processing?

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

jupe
Posts: 3575
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Is it possible to stop background processing?

Post by jupe »

Configuration | File Operations | File Operations | Background Processing | Enable background processing

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

Re: Is it possible to stop background processing?

Post 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.
To see the attached files, you need to log into the forum.

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

Re: Is it possible to stop background processing?

Post by highend »

Why do you select cancel on that popup at all?

Remove the checkmark and click on run...
One of my scripts helped you out? Please donate via Paypal

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

Re: Is it possible to stop background processing?

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

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

Re: Is it possible to stop background processing?

Post 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?
One of my scripts helped you out? Please donate via Paypal

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

Re: Is it possible to stop background processing?

Post 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.)
To see the attached files, you need to log into the forum.

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

Re: Is it possible to stop background processing?

Post 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
One of my scripts helped you out? Please donate via Paypal

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

Re: Is it possible to stop background processing?

Post 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
To see the attached files, you need to log into the forum.

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

Re: Is it possible to stop background processing?

Post by highend »

Sorry but how many times do I need to repeat myself?
One of my scripts helped you out? Please donate via Paypal

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

Re: Is it possible to stop background processing?

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

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

Re: Is it possible to stop background processing?

Post 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...
One of my scripts helped you out? Please donate via Paypal

Post Reply