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

Can't open Typora #310

Closed
silvestron opened this issue Jan 3, 2021 · 11 comments
Closed

Can't open Typora #310

silvestron opened this issue Jan 3, 2021 · 11 comments
Labels
Software: Electron Issues with Electron apps Status: Fixed in Next Build Fixed in the next Sandboxie version Type: HW Acceleration Hardware acceleration issues

Comments

@silvestron
Copy link

The same issue reported in #215 is still present in v5.45.2 even though it is labeled as fixed in the next built.

@DavidXanatos DavidXanatos added under investigation More Info Needed More information is needed to move forward labels Jan 3, 2021
@DavidXanatos
Copy link
Member

When I was testing it I could install and open Typora in a sandbox on windows 20H2
please post your sandboxie ini and a log from the resource monitor using the latest build
Also please try if it makes a difference where Typora is installed in our out side the box.

@silvestron
Copy link
Author

Typora is installed inside its own sandbox but I just tried to launch VS Code which is installed outside the sandbox and it has the same issue. Still, not all electron apps seem to have the problem. I was able to successfully launch Mark Text, which is another app similar to Typora in terms of functionality.

However I'm running Windows 10 1909, I haven't upgraded to 20H2 yet.

Here's my sandvoxie.ini, I've edited out the settings of the other sandboxes:

[GlobalSettings]

ActivationPrompt=n
AutoRecover=n
BlockNetworkFiles=y
BorderColor=#00FFFF,off
BoxNameTitle=y
ClosedFilePath=C:\Program*\brave.exe
ClosedFilePath=C:\Program*\chrome.exe
ClosedFilePath=C:\Program*\firefox.exe
ClosedFilePath=C:\Program*\iexplore.exe
FileRootPath=C:\Sandboxie\%SANDBOX%
NotifyInternetAccessDenied=y
NotifyStartRunAccessDenied=y
Template=Windows10CoreUI
Template=FireFix_for_Win7
Template=WindowsRasMan
Template=WindowsLive
Template=OfficeLicensing
Template=7zipShellEx
Template=AutoRecoverIgnore
Template=BlockPorts
Template=LingerPrograms
Template=WindowsDefender

[Notes]

Enabled=y
ConfigLevel=7
CopyLimitKb=100000
DropAdminRights=y
NeverDelete=y

Here's the resource monitor log. By the way, as soon as I clicked on copy content to clipboard and close window I got a SBIE2301 message, and the message had no actual text, just the code.

@MarcelFine
Copy link

Starting VS Code with "code.exe --disable-gpu" solved the issue for me.

@silvestron
Copy link
Author

I just tested it and can confirm that worked with Typora too.

Regarding the issue itself, I upgraded to Windows 20H2 and the problem is still persistent. The bug has been introduced in version 5.45.0 (if not earlier, I might have missed some updates) because this problem wasn't present before.

@DavidXanatos
Copy link
Member

could you please test with which build the issue was introduced exactly

@silvestron
Copy link
Author

I tested a bunch of builds, these are the results:

  • 5.43.5 works
  • 5.43.6 works
  • 5.43.7 works
  • 5.44.0 works
  • 5.44.1 doesn't work

@DavidXanatos DavidXanatos added ToDo To be done and removed More Info Needed More information is needed to move forward labels Jan 29, 2021
@DavidXanatos
Copy link
Member

I don't get it why it does not fail for me, could you try the plus UI and send me the resource access log from there, there its mroe verbose also send the message log in case there were any.

Also can you zip and upload the exact typora instalation you have someware
I tested with version 0.9.98.0

@silvestron
Copy link
Author

I am using version 0.9.96, however I just tried 0.9.98 in a new sandbox and it has the same issue.

I was thinking, since disabling GPU acceleration seems to circumvent the problem, could the the issue be related to hardware or graphics drivers? I am using Intel integrated graphics, according to Intel ARK, Intel HD Graphics 630.

@DavidXanatos
Copy link
Member

I was thinking, since disabling GPU acceleration seems to circumvent the problem, could the the issue be related to hardware or graphics drivers? I am using Intel integrated graphics, according to Intel ARK, Intel HD Graphics 630.

Possibly... I ever only tested it in a VM which may not have all the fancy acceleration features a real system has, I'll test it on my host machine lets see if that changes anything.

@DavidXanatos
Copy link
Member

could you pelase try the workaround in #440
does it help here to?

@silvestron
Copy link
Author

I tried it and with hardware acceleration enabled the transparent/empty window issue is still there. However when I tried Typora with hardware acceleration disabled I saw some improvements. Launching the app was very fast. Without OpenWinClass=# the app used to be a little slow, either at launch or during use.

@DavidXanatos DavidXanatos added Status: Fixed in Next Build Fixed in the next Sandboxie version and removed ToDo To be done under investigation labels Jun 5, 2021
@isaak654 isaak654 added the Type: HW Acceleration Hardware acceleration issues label Jan 16, 2022
@isaak654 isaak654 added the Software: Electron Issues with Electron apps label Jul 17, 2022
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 Type: HW Acceleration Hardware acceleration issues
Projects
None yet
Development

No branches or pull requests

4 participants