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

Feature request: Add option to enable or disable properties #706

Open
choppeh opened this issue Jul 21, 2024 · 4 comments
Open

Feature request: Add option to enable or disable properties #706

choppeh opened this issue Jul 21, 2024 · 4 comments

Comments

@choppeh
Copy link

choppeh commented Jul 21, 2024

I sometimes configure environment variables to test certain application options, and I find it interesting to be able to quickly enable or disable these settings without having to delete a previously defined environment variable.

For example.
I set the variable.

QT_QPA_PLATFORM=wayland

But to disable this setting, I end up removing this option, but I just wanted to test without it temporarily.

@rusty-snake
Copy link

This is not supported by flatpak override. If we find some hacks to implement it inside the flatpak overrides, this is not guarantee to continue to work. And implementing outside of flatpak overrides is much work for little use IMHO.

What you are more interested in is flatpaks command-line, e.g. flatpak run --env=QT_QPA_PLATFORM=wayland --filesystem=~/Downloads/test --unshare=wayland --share=x11 com.example.App.

@choppeh
Copy link
Author

choppeh commented Jul 21, 2024

This is not supported by flatpak override. If we find some hacks to implement it inside the flatpak overrides, this is not guarantee to continue to work. And implementing outside of flatpak overrides is much work for little use IMHO. ...

It's not a flatpak feature, but a UI feature

Something like applying the settings if it's enabled.

Instead of just allowing deletion, also disable (without losing the settings added)

image

Like this

image

Or

image

Disable custom properties without removal

@rusty-snake
Copy link

So you are fine with in-memory only state? I.e. when you close/restart flatseal the UI is reset to the state (enabled or deleted, not disabled) when you closed flatseal?

@choppeh
Copy link
Author

choppeh commented Jul 21, 2024

So you are fine with in-memory only state? I.e. when you close/restart flatseal the UI is reset to the state ...

Sorry, disregard the ‘temporary’ in the previous messages, it's just a feature to disable and enable settings in the UI, but in the sections where the user can enter configuration.

But I don't mind if it's just in-memory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants