Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close button minimizes Sandboxie instead of terminating it #3253

Closed
Mitch037 opened this issue Aug 27, 2023 · 6 comments
Closed

Close button minimizes Sandboxie instead of terminating it #3253

Mitch037 opened this issue Aug 27, 2023 · 6 comments
Labels
added in next build Added in the next Sandboxie version Feature request New feature or idea

Comments

@Mitch037
Copy link

Is your feature request related to a problem or use case?

Currently, by default, if you click close button [X] then Sandboxie gets minimized to the System Tray.

Describe the solution you'd like

Add an option to terminate the application by clicking close button [X].

Describe alternatives you've considered

No response

@Mitch037 Mitch037 added the Feature request New feature or idea label Aug 27, 2023
@DavidXanatos DavidXanatos added the added in next build Added in the next Sandboxie version label Sep 2, 2023
@KT907
Copy link

KT907 commented Sep 2, 2023

And now, how do I close the sandbox interface without turning it off? Imagine an action with a browser: let's say you need to transfer a file to a real system. Do you open the interface, transfer the file, click the cross, and the sandbox shuts down in system?
In this case, you will lose your entire workflow and possibly data. If I understood this innovation correctly, then it is very harmful. Especially for such cases, there is a menu with an exit section. Make at least a shutdown request.

@DavidXanatos
Copy link
Member

you can choose in the settings which behavior you want:
grafik

also when the UI is not running there is no box auto clean up this requires the UI component.

@KT907
Copy link

KT907 commented Sep 2, 2023

Thank you. How is it implemented in classic?

@DavidXanatos
Copy link
Member

not at all, classic is not being actively developed we just drag it along and if we break something fix it.

@KT907
Copy link

KT907 commented Sep 2, 2023

Understood. So far there are no more questions. Thank you.

@Mitch037
Copy link
Author

Mitch037 commented Sep 9, 2023

I would like to suggest an improvement to this feature. I believe there should only be two options: "Close" and "Close to Tray". However, "Close" should be considered as "Prompt to Close" in mind. The prompt should be displayed if there is any active process in any of the boxes. Currently, if there is any active process in any of the boxes, and the "Close" option is selected, Sandboxie is being abruptly closed alongside the process. It is not safe. In such case a prompt should be displayed informing user about active process(es) and that closure could result in data loss. User should be given a choice: close all the process(es) and Sandboxie, or cancel.
If there are no processes in any of the boxes then Sandboxie should be closed without a prompt. Alternatively, the prompt could be displayed but it could also be allowed to be hidden by user like one of those messages related to installing/uninstalling Sandboxie service on each run/close (in portable mode).

So, there are two different cases here to keep in mind:

  1. There is an active process -> Close Sandboxie -> Display a prompt (terminate process & close OR cancel) - this prompt cannot be hidden by user
  2. There is no active process -> Close Sandboxie -> Display a prompt by default - this prompt can be hidden by user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
added in next build Added in the next Sandboxie version Feature request New feature or idea
Projects
None yet
Development

No branches or pull requests

3 participants