-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Doesn't save my configurations/Wont auto load #70
Doesn't save my configurations/Wont auto load #70
Comments
I fixed the issue by setting the profile directory to /home/devyn/.var/app/io.github.antimicrox.antimicrox |
Thanks for the tip Devynko! I had the exact same issue on MX Linux 19.3 and your solution works! I'm using AntiMicroX version 3.1.5 By default the profiles were saved in the /home directory and the created files were hidden and have weird names: Saving the profiles in any other directory also results in the same issue. But now that they are saved in .var/app/io.github.antimicrox.antimicrox/ the profiles are not hidden and properly named: So since it does seem like a bug, wouldn't it be best to reopen this issue? |
It is definitely a bug. I think this is also caused by flatpak packaging. Just like #123. |
@gombosg What do you think? Could you take care of it? |
Yes, I'll take a look. :) |
@pktiuk I was able to repro this. This is only in Flatpak version.
I need to figure out how this works, but IMO it's not a flatpak permission issue. (Some portal issue probably) On non-flatpak, native, the file is always named with the correct extension. |
We need to look at what this is doing since this is the save as window. It might not be able to properly access files for renaming, in a flatpak context. |
I narrowed down the problem area to this. Basically, it renames the file by adding an extension to it when the user hasn't set any. What happens is that the flatpak doesn't have access to the host file system, but the file chooser portal makes the selected file available:
Looks like, we get a reference to the selected file as an URI, but when we rename it, we start pointing to a file that doesn't exist in the "portal fuse FS". Let's play with |
I tried manually setting the suffix, with no success. Damn, found 2 related bugs, which point to many other: Looks like this issue is not fixed. I also tried setting a default file name, but it also didn't show up in the dialog. The only workaround I currently see is setting |
I think we should do it, at least until flatpak will fix this. |
There is no risk, so I'm releasing the new version with |
Like the title says, It is not saving my configurations.
I am clicking the save as, naming the config, then saving. When I open my files, its not there.
Configuration
I am using elementary os, and I have downloaded the App Center version 3.1.2
The text was updated successfully, but these errors were encountered: