igo95862 / bubblejail

Bubblewrap based sandboxing for desktop applications
239 stars 16 forks source link

GUI does not show quotes for arguments #113

Open jim3692 opened 1 month ago

jim3692 commented 1 month 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 1 month 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.