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

v0.5.0/5.45.0 can't launch electron apps #215

Closed
silvestron opened this issue Dec 9, 2020 · 15 comments
Closed

v0.5.0/5.45.0 can't launch electron apps #215

silvestron opened this issue Dec 9, 2020 · 15 comments
Labels
Software: Electron Issues with Electron apps Status: Fixed in Next Build Fixed in the next Sandboxie version

Comments

@silvestron
Copy link

When I launch electron apps I see only the borders/shadow of the window but the actual window is empty/transparent or white.

This happened with Sbie-Plus when I launched Typora and Xmind 2020.

Using Sbie old UI I could launch Xmind but not Typora and VS Code (didn't try the last one in Sbie-Plus).

The behavior I saw was instances of the apps repeatedly opening and closing.

@DavidXanatos DavidXanatos added the More Info Needed More information is needed to move forward label Dec 19, 2020
@DavidXanatos
Copy link
Member

you mean this one: https://typora.io/#windows ?

@silvestron
Copy link
Author

Yes, sorry I didn't add the links.

Typora
Xmind
VS Code

@DavidXanatos DavidXanatos added Known Issue Old known Sandboxie issues to investigate and removed More Info Needed More information is needed to move forward labels Dec 20, 2020
@DavidXanatos DavidXanatos added Status: Fixed in Next Build Fixed in the next Sandboxie version and removed to investigate labels Dec 28, 2020
@http403
Copy link

http403 commented Jan 11, 2021

Hello. Although it labeled as "Fixed", I'm unable to open some electron based app, namely VSCodium(a no telemetry version of VSCode) and Discord.

@benduckwdesign
Copy link

benduckwdesign commented Feb 4, 2021

I still can't open Discord either. EDIT: It opens, but it's a black screen and you can see the instances opening and terminating on the side.

@zingmars
Copy link

zingmars commented Feb 8, 2021

I'm experiencing the same issue with Discord. Oddly enough, each time I open Discord it's different - sometimes it's just a black screen, sometimes it's just a transparent screen and once in a while I get a window that has the Discord background colour, but it's just a solid colour and nothing else.

@DavidXanatos could you please re-open?

@jzebedee
Copy link

jzebedee commented Mar 2, 2021

This issue is still occuring for me in SB+, as of 0.7.1

Same behavior as above: blank white form, constant relaunching in background

Repro application: https://www.atf.gov/n/sites/default/files/eform4473_win-1.2.0_0.zip

@DavidXanatos DavidXanatos reopened this Mar 2, 2021
@DavidXanatos DavidXanatos added under investigation and removed Status: Fixed in Next Build Fixed in the next Sandboxie version labels Mar 2, 2021
@sihawken
Copy link

This issue is occurring for me as well, in SB+ 0.7.2.

Electron apps won't run when launched from a shortcut, I get a blank window. However. I noticed a really strange behavior.

If I run it by clicking and dragging the program into Sandboxie, the Electron app will start perfectly!

I tested this out with Slack and GitHub Desktop, both which had the same behavior.

Interestingly enough, Google Chrome acted similarly. I would get a dark gray page for everything if loaded via shortcut, but when clicked and dragged, would load perfectly.

@fake-name
Copy link

Not sure if it's related, but I encounter a similar issue when launching Fusion 360 (which uses QtWebEngine internally), and a number of NodeJS based visual novel applications.

All of the above work fine outside the sandbox.

@Pr0mises
Copy link

Pr0mises commented Jun 2, 2021

@sihawken's method also works for discord

@http403 @benduckwdesign @zingmars
How do you guys isolate discord even more as it scans your whole host at startup. Does sandboxie-plus block everything out of the box or do you guys have a specific .ini file that doesn't require admin rights?

@rc-ops
Copy link

rc-ops commented Jun 2, 2021

Tried dragging the discord icon to the sandboxie screen and it gets stuck at "Starting...", with the discord's logo spinning and a constant I/O activity.
image
I've waited 30 minutes, and then decided to close the application.
image
Strangely, if I open it through the explorer context menu, it results in an invisible window but it goes beyond the "Starting..." and judging by the window size, it gets to the login part and even opens the browser in the background so it can detect if a login session is already present.

@DavidXanatos
Copy link
Member

Please try adding
PreferExternalManifest=y
to the ini section of your sandbox where you are using the electron app and please report if that solved the issue

@fake-name
Copy link

Please try adding
PreferExternalManifest=y
to the ini section of your sandbox where you are using the electron app and please report if that solved the issue

That makes discord work for me. Not general NodeJS based apps.

@DavidXanatos
Copy link
Member

what other nodeJS apps fail for you

@DavidXanatos
Copy link
Member

Please disable the external manifest again,
and try this new SbieDll:
https://xanasoft.com/Downloads/SbieDll_5.49.8b.zip

it adds a workaround that should allow electron apps to start properly

@isaak654
Copy link
Collaborator

isaak654 commented Jun 5, 2021

Typora, Xmind, VSCodium, Discord run fine for me after applying SbieDll_5.49.8b.

@DavidXanatos DavidXanatos added Status: Fixed in Next Build Fixed in the next Sandboxie version and removed Known Issue Old known Sandboxie issues under investigation labels Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Software: Electron Issues with Electron apps Status: Fixed in Next Build Fixed in the next Sandboxie version
Projects
None yet
Development

No branches or pull requests