sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.35k stars 1.48k forks source link

Some programs are unable to load language files #4073

Open fzxx opened 1 month ago

fzxx commented 1 month ago

Describe what you noticed and did

  1. Run ToYcon directly, the language file loads successfully, and Chinese is displayed
  2. Run ToYcon on the sandbox, the language option disappears, and English is displayed ToYcon.zip

Win10 22h2 right-click to run, the language file loads normally; Drag and drop, the language file does not load properly Win11 23h2 right-click to run, drag and drop, language file does not load.

How often did you encounter it so far?

No response

Expected behavior

The sandbox runs ToYcon, there is a language option, and Chinese is displayed

Affected program

ToYcon

Download link

See the attachment above

Where is the program located?

The program is installed both inside and outside the sandbox.

Did the program or any related process close unexpectedly?

No, not at all.

Crash dump

No response

What version of Sandboxie are you running now?

Sandboxie Plus x64 v1.14.3

Is it a new installation of Sandboxie?

I recently did a new clean installation.

Is it a regression from previous versions?

No response

In which sandbox type you have this problem?

In a standard isolation sandbox (yellow sandbox icon).

Can you reproduce this problem on a new empty sandbox?

I can confirm it also on a new empty sandbox.

What is your Windows edition and version?

Win10 22h2 / Win11 23h2

In which Windows account you have this problem?

A local account (Administrator).

Please mention any installed security software

not

Did you previously enable some security policy settings outside Sandboxie?

No response

Trace log

No response

Sandboxie.ini configuration

No response

offhub commented 1 month ago

It fails because the program's folder is not set as the working directory.

Working Directory Program's Folder SbieHome
Sandboxed No Yes
Unsandboxed Yes No

Workaround

Create a shortcut (or sandboxed shortcut) to the program and set the "Start In" value to the program's directory.

bastik-1001 commented 1 month ago

Can Sandboxie do something about it? If so, this issue should remain open until that is done and replaces the workaround. If not, this could be something for the documentation, like known issues or something like that.

fzxx commented 1 month ago

可以沙盘做些什么呢? 如果是这样,这个问题应当继续开放,直到完成和替换解决方法。 如果不是,这可能是一些文件,如已知的问题或者类似的东西。

1

Maybe the option could be added here, somehow it works? @DavidXanatos