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

[0.9.8] Edit ini Section is always empty when you double click any template #1287

Closed
isaak654 opened this issue Oct 15, 2021 · 6 comments
Closed
Labels
Status: Fixed in Next Build Fixed in the next Sandboxie version Type: Bug Something isn't working Type: Regression A Sandboxie build broke compatibility, it was working before

Comments

@isaak654
Copy link
Collaborator

Describe the bug
The graphical editor "Edit ini Section" won't show any code if you double click any template on the "App Templates" list.

To Reproduce
Steps to reproduce the behavior:

  1. Go to "Sandbox options" -> "App Templates"
  2. Double click any template to display its code
  3. "Edit ini Section" will appear always empty

System details and installed software

  • What is your Windows edition and version? W10 20H2
  • What is your current Sandboxie edition and version? 0.9.8
  • Please mention in which version this bug got introduced. 0.9.8
@Coverlin
Copy link

reproduced the issue, only affects templates in templates.ini , local/sandboxie ini templates are displayed

@DavidXanatos DavidXanatos added Type: Bug Something isn't working ToDo To be done recently broken Status: Fixed in Next Build Fixed in the next Sandboxie version labels Oct 16, 2021
@Coverlin
Copy link

@DavidXanatos
This issue still affects templates in Templates.ini if the section name is something like : Template_Local_XXXXX
Most users aren't affected by it, though it may be a issue in the future

-w7 64 0.9.8b

@isaak654 isaak654 removed the Status: Fixed in Next Build Fixed in the next Sandboxie version label Oct 19, 2021
@isaak654 isaak654 reopened this Oct 19, 2021
@DavidXanatos
Copy link
Member

you are not supposed to create local templates in the templates.ini
local templates go into sandboxie.ini
and oficial templates go into the templates.ini

please note that you can edit local templates in the opened window, while you cant do that for non local templates.
it is not intended to provide a mechanism to edit the templates.ini

@isaak654 isaak654 added the Status: Fixed in Next Build Fixed in the next Sandboxie version label Oct 19, 2021
@Coverlin
Copy link

you are not supposed to create local templates in the templates.ini local templates go into sandboxie.ini and oficial templates go into the templates.ini

please note that you can edit local templates in the opened window, while you cant do that for non local templates. it is not intended to provide a mechanism to edit the templates.ini

Yes i know that , not a new user
What i mean by that observation was that the issue was not fully fixed for templates.ini, and having the section name without starting with Local : Template_XXXXX but Tmpl.Class=Local will not make a difference between templates, only differences is in what config file the template is saved and that templates.ini cannot be edited with sandman
The issue atm creates only a limitation on ini section name as it won't show in the build in editor if it happens to start with template_local

@DavidXanatos
Copy link
Member

but there are no templates starting with Template_Local_ int he templates.ini so i still don't get where tehre is an issue?

@isaak654
Copy link
Collaborator Author

isaak654 commented Oct 19, 2021

What about a warning message if someone tries on the Plus UI to display/open a template saved mistakenly with the wrong name on Templates.ini? In theory there could be some users trying to fiddle with it locally.

And there would be an additional reason to provide a warning: an empty ini editor could always be interpreted as a bug (like the other one solved here) and not as the consequence of an intended restriction.

If someone here agrees, a new separate feature request may be opened imho.

@isaak654 isaak654 added Type: Regression A Sandboxie build broke compatibility, it was working before and removed ToDo To be done recently broken labels Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Fixed in Next Build Fixed in the next Sandboxie version Type: Bug Something isn't working Type: Regression A Sandboxie build broke compatibility, it was working before
Projects
None yet
Development

No branches or pull requests

3 participants