On Fri Aug 29 05:10:25 2025 +0000, Esme Povirk wrote:
I think using the registry would make this significantly cleaner, enough that I don't plan to review it further while it uses files. I'd consider multiple configurations an advanced feature, and that's still possible for the UI to provide based on the registry. Transferring configurations across different machines is going to be even less common. I don't think the improvement in discoverability for that use case is worth it.
I have changed the principle of saving settings. Currently, they are saved in the registry under the path HKEY_CURRENT_USER\Software\ScannersSettings<Vendor><Product>. I have also removed the array with existing optno, and instead, I check the opt.is_active flag when saving.