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

Open With not working in sandboxed explorer instance #1138

Open
davi-ro opened this issue Aug 26, 2021 · 4 comments
Open

Open With not working in sandboxed explorer instance #1138

davi-ro opened this issue Aug 26, 2021 · 4 comments
Labels
documentation Improvements or additions to documentation Feature request New feature or idea Known issue Old known Sandboxie issues UWP Related to Windows modern apps Workaround Temporary or alternative solution

Comments

@davi-ro
Copy link

davi-ro commented Aug 26, 2021

Describe the bug
Open with functionality not working with sandboxie, sandboxie can not open the "Open with" dialog.

To Reproduce
Steps to reproduce the behavior:

  1. In an sandboxed explorer instance when trying to right click on a file and choosing "Open With" nothing happens. You can not use open with function to run something sandboxed
  2. Even if you open an instantce of explorer unsandboxed and go to a sandboxed file, for example let's say "c:\Sandbox\Usr\DefaultBox\D\file.docx" when you try to open the file normally it would open it sandboxed in the default app assigned to open that file type, but if you right click and choose "open with" and than another program that can open that file, that program will open unsandboxed even though that file is in a sandbox and should open sandboxed.

Expected behavior
The Open With dialog should appear and show the apps that can open that file type, and after selecting an app, that app should run sandboxed.

System details and installed software (please provide the following information):

  • Tested with both windows 10 21h1 and 1909 versions
  • Tested on windows 21h1 with latest sandboxie version 0.94 and on the 1909 vm with 0.7.4 version
@DavidXanatos
Copy link
Member

I am afraid that this issue is for the time being not resolvable.
The Open With dialog is in modern windows 10 versions a modern APP.

And Sandboxie does not support Modern/UWP APPs, only normal win32 programs

So if I ever add UWP support this issue will be fixed for free, until I don't this issue is not fixable properly.

I could look into the possibility of somehow intercepting the start attempt of the Open With App possibly i can catch it and start some own replacement dialog.

@davi-ro
Copy link
Author

davi-ro commented Aug 26, 2021

Ok, ty, understood. I've tried openwith enhanced (it's an alternative to the default open with dialog in windows, and the only alternative i could find) but in my tests in a windows 10 vm it crashes when showing the apps, although sandboxie catches it and auto sandboxes the rundll32.exe that calls the app.

@DavidXanatos
Copy link
Member

DavidXanatos commented Aug 27, 2021

oh awsome, there is already an app for that :D
I'll check it out asap...

EDIT: for me this open with also not work unsandboxed, i.e. it just closed after a second,
but that does not mather, now i know how to integrate an own open with handler, so i only need to write one, lol

@isaak654 isaak654 added Feature request New feature or idea Known issue Old known Sandboxie issues labels Sep 26, 2021
@DavidXanatos DavidXanatos added the added in next build Added in the next Sandboxie version label Dec 24, 2021
@DavidXanatos
Copy link
Member

DavidXanatos commented Dec 24, 2021

will be in 1.0.6 (workaround introduced in commit f85991b).


Note

Issue reopened on Jul 15, 2024 due to the following discussion: #3589

@isaak654 isaak654 added the documentation Improvements or additions to documentation label Apr 21, 2022
@isaak654 isaak654 added the UWP Related to Windows modern apps label Aug 10, 2023
@isaak654 isaak654 reopened this Jul 15, 2024
@isaak654 isaak654 added Workaround Temporary or alternative solution and removed added in next build Added in the next Sandboxie version labels Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Feature request New feature or idea Known issue Old known Sandboxie issues UWP Related to Windows modern apps Workaround Temporary or alternative solution
Projects
None yet
Development

No branches or pull requests

3 participants