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
Settings cannot be saved in linux mint for flatpack #599
Comments
The app is trying to register itself for autostart but is failing because flatpak doesn't allow it. Also I would recommend to update to 2.10.10 because 2.10.8 have broken selection translation. |
Nah, it tries to communicate with the background portal (which means it has properly detected flatpak sandbox) but fails. @taltamir is
Ugh, I guess we should just allow successful update builds to be published automatically. |
Sounds awesome. Should we automate it using GitHub Actions? |
No, Flathub's update bot already submits PRs following upstream project updates. It's just a matter of flipping a setting to tell the bot that said PRs should be also merged on successful build. |
Oh, got it. Sounds like a reasonable choice. |
thank you. it is installed. version:
That kind of automation does make a lot of sense. It still gives me that error when changing anything in the settings menu. However, it now correctly auto saves main window changes between sessions. Before today's update to crow those settings were lost each time I restarted. Now they are preserved. let me go test this real quick by adding another language and then calling a machine restart while crow remains running |
I confirmed that the problem remains. I just added afrikans to destination languages on main interface and then restart the OS and the change was lost on system reboot. It now appears to me that the "issue" I reported is actually 2 separate issues. issue 1: can't change settings in the settings menu (not just the launch on boot setting. any setting I tried in the settings menu gives that error) issue 2: language, and autotranslate checkbox, changes on main interface are saved correctly. but only if when and if you use the [Quit] button in the system tray. When restarting the OS those changes are lost as the [Quit] button was not pressed and thus did not trigger save. |
It appears that 1.14 is too old and doesn't provide the required interface, see flatpak/xdg-desktop-portal#1014 |
thank you. I am looking into it further on mint side of things to get mint updated to v1.16 (latest official release). I will also investigate some other linux distros and see when they switched (or if they switched) from 1.14 to v1.16. out of curiosity. what method did crow translate use before 1.16? as that version is only from 4 months ago. hmm... or maybe, can flathub be set to note such compatibility problems and automatically use an older version of crow translate on affected OS? Or does flathub only keep a single latest version? |
In flatpak Crow Translate didn't have a working autostart method in before the portal one.
No, xdg-desktop-portal 1.16 was released in December, while Crow Translate added support for it in May. |
What about the rest of the settings menu? It is not just autostart, any setting you try to change fails |
Bug description
Settings cannot be saved in linux mint for flatpack.
Steps to reproduce
Install and run crow translate.
Either
A. make changes in main window then restart the program. all changes lost
B. open settings and make any changes there. hit ok. get error and changes you made to settings are lost.
Expected behavior
Settings getting saved.
Screenshots
Environment
The text was updated successfully, but these errors were encountered: