igo95862 / bubblejail

Bubblewrap based sandboxing for desktop applications
261 stars 17 forks source link

GUI does not show quotes for arguments #113

Open jim3692 opened 4 months ago

jim3692 commented 4 months ago

Output of bubblejail --version

0.9.0

Your distro name and version

Arch Linux

Description

When I create a new instance with quoted default arguments for example: bash -c "exec ~/.nix-profile/bin/google-chrome-stable"

The TOML file correctly shows:

executable_name = [
    "bash",
    "-c",
    "exec ~/.nix-profile/bin/google-chrome-stable",
]

But in the GUI I only see: bash -c exec ~/.nix-profile/bin/google-chrome-stable

It is not causing issues on startup, since the TOML is correct, but it creates confusion in the config screen.

igo95862 commented 4 months ago

Hello @jim3692

The issue is that GUI will try to use a space-separated arguments even though the actual setting is a list of strings.

I have plans on reworking the GUI I and will address this issue.