Background option for cm_PackFiles and cm_UnpackFiles
Moderators: petermad, Stefan2, white, Hacker
Background option for cm_PackFiles and cm_UnpackFiles
I would like cm_PackFiles and cm_UnpackFiles to have an analog of B1 for cm_Copy/cm_RenMov.
I think it's not difficult to add.
I think it's not difficult to add.
Overquoting is evil! ๐
- ghisler(Author)
- Site Admin

- Posts: 51909
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Background option for cm_PackFiles and cm_UnpackFiles
I will consider it, thanks for the suggestion.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Background option for cm_PackFiles and cm_UnpackFiles
Why didn't you add the option to 11.50? 
Overquoting is evil! ๐
Re: Background option for cm_PackFiles and cm_UnpackFiles
Have you considered it?
Overquoting is evil! ๐
- ghisler(Author)
- Site Admin

- Posts: 51909
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Background option for cm_PackFiles and cm_UnpackFiles
I tried to add it, but there is currently no way to start a pack or unpack operation directly in the background. You can currently only click on "Background" during an ongoing operation, but only when it is supported by the packer/unpacker, which isn't clear from the start (e.g. archive having wrong extension).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Background option for cm_PackFiles and cm_UnpackFiles
For the user or you, as a developer (which I doubt)?but there is currently no way to start a pack or unpack operation directly in the background.
If the problem is only this, then what prevents implementing a background operation according to the result of pressing the 'Background' button?but only when it is supported by the packer/unpacker
Overquoting is evil! ๐
- ghisler(Author)
- Site Admin

- Posts: 51909
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Background option for cm_PackFiles and cm_UnpackFiles
Because it can only go to background once the operation has already started.If the problem is only this, then what prevents implementing a background operation according to the result of pressing the 'Background' button?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Background option for cm_PackFiles and cm_UnpackFiles
But we have /G for this. What prevents you from making /G1 for the background?Because it can only go to background once the operation has already started.
Overquoting is evil! ๐
- ghisler(Author)
- Site Admin

- Posts: 51909
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Background option for cm_PackFiles and cm_UnpackFiles
At the moment when the operation starts it's not clear whether it can actually go to the background. The operation first needs to start in the foreground, so it can open the archive and determine whether background operation is possible, then the background button can be shown. But by then the background progress has already been shown, no way to start directly in the background.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Background option for cm_PackFiles and cm_UnpackFiles
It sounds weird. How can the check depend on the presence of a GUI? Why can't you perform the check before the GUI appears?The operation first needs to start in the foreground, so it can open the archive and and determine whether background operation is possible
Even if the problem concerns only third-party archivers with their own GUI (like 7zG), then again, nothing prevents running such applications minimized, even if they fail.
Overquoting is evil! ๐
- ghisler(Author)
- Site Admin

- Posts: 51909
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Background option for cm_PackFiles and cm_UnpackFiles
Because the check can take a long time, when a large archive needs to be opened, or when there are multiple parts.How can the check depend on the presence of a GUI?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Background option for cm_PackFiles and cm_UnpackFiles
But this is only relevant for cm_UnpackFiles. But what about cm_PackFiles?
Overquoting is evil! ๐
- ghisler(Author)
- Site Admin

- Posts: 51909
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Background option for cm_PackFiles and cm_UnpackFiles
Same problem, cm_PackFiles can add files to an already existing archive.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Background option for cm_PackFiles and cm_UnpackFiles
Can you do it only for new archives (with a note about this in the description, of course)?
Overquoting is evil! ๐
