Open dforsi opened 1 month ago
This issue is going to be closed due to inactivity
The method Preferences::resetToDefaults
called multiple times called multiple times seems due to the fact that it is called also by m_audioDeviceManager(nullptr)
, on line 30 here, and the directly on line 32:
This issue is for describing the state as of commit 75afe418c184e87aca65dd683144cb80e74fc9ec 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.