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

Windows Compatibility settings cannot be applied if a program is run directly inside a sandbox #1265

Closed
gexgd0419 opened this issue Oct 9, 2021 · 2 comments
Labels
fixed in next build Fixed in the next Sandboxie version

Comments

@gexgd0419
Copy link
Contributor

Describe the bug
Users can specify compatibility settings for a program in the "Compatibility" tab of its Properties dialog. One of the most frequently used tweaks is to change the DPI scaling action to prevent the program's UI from being blurry.

I have a program with that scaling issue. In order to run that program without blurriness inside a sandbox:

  • First I changed the DPI compatibility setting in a Explorer window opened inside the sandbox. Then I launched the program in the same sandbox, but the compatibility setting took no effect.
  • Then I found that I have to change the compatibility setting outside the sandbox to let the change take effect both outside the sandbox and inside any sandbox. (maybe this can be in another issue report)

And although I have changed the compatibility setting outside the sandbox, the change still won't take effect in every situation.

  • It will take effect if I first launch a cmd.exe or an Explorer window in the sandbox, and then launch the program with that.
  • It won't take effect, however, if I directly run the program with the sandbox's "Run" menu, by dragging the program into Sandboxie's main window, or through the "Run sandboxed" shell menu.

Expected behavior
The compatibility setting should be applied to the program no matter how I launch the program inside the sandbox.

System details

  • Windows 10 Home 21H1
  • Sandboxie Plus v0.9.5 (just updated to v0.9.6 but this issue is not fixed)
@isaak654 isaak654 changed the title Compatibility settings cannot be applied if a program is run directly inside a sandbox Windows Compatibility settings cannot be applied if a program is run directly inside a sandbox Oct 9, 2021
@DavidXanatos
Copy link
Member

ah that one will be fun... i remember that the old sbie dev's broke some things around compatibility assistant on purpose, so fixing that may be complicated...

@DavidXanatos
Copy link
Member

DavidXanatos commented Oct 16, 2021

I have added a change that allows start.exe to load the required apphelp.dll but without a lot of testing I can't tell if that does not have any additional unwanted side effects, hence I'll include this change only in the over next build which will be a pre-release build

@DavidXanatos DavidXanatos added fixed in next build Fixed in the next Sandboxie version and removed ToDo To be done under investigation labels Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in next build Fixed in the next Sandboxie version
Projects
None yet
Development

No branches or pull requests

2 participants