-
Notifications
You must be signed in to change notification settings - Fork 429
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
Streamline the handling of configurations #2107
Comments
This issue is going to be closed due to inactivity |
The method sdrangel/sdrbase/settings/mainsettings.cpp Lines 29 to 34 in 31c20df
|
This issue is going to be closed due to inactivity |
This issue is for describing the state as of commit 75afe41 of 2024/05/12 and modify the code, the online manual, or just have a place to document it.
Configuration file written twice when exiting sdrangel
The file
~/.config/f4exb/SDRangel.conf
is written twice on Linux in a short time becauseMainSettings::save
is called twice when quitting sdrangel when clicking the X button or pressing Ctrl+Q:This is unnecessary and wasteful.
Issue #379 might be related.
Preferences::resetToDefaults called multiple times
Preferences::resetToDefaults
is called 3 times when there is no configuration file (such as when sdrangel is run for the first time) and 2 times when there is a configuration file.When there is no configuration:
When there is a configuration:
Station Position changed unexpectedly
It may happen that the position saved in the configuration for a station that didn't move (such as as desktop PC without a GPS receiver and whose public IP didn't change, with the "geoclue2" provider) when the "Auto-update from GPS" option is selected.
This is unnecessary and wasteful but it is outside of the control of sdrangel so possible fixes are:
The label of the checkbox and the tooltip of the button could also be changed to refer to a generic GNSS and to suggest that position could be:
Order of presets changed after second run
The configuration that is automatically created the first time that sdrangel is run, contains presets for NOAA 18 and NOAA 19 (in this order), but after subsequent runs, the order is unnecessarily swapped in the .conf file.
The text was updated successfully, but these errors were encountered: