Thanks for explanations, sorry if I missed that.

The fact is that the current behavior leads to some confusion, as you know (e.g change "temporarily" the audio device, then open startup dialog, click OK, and voila, the audio device is saved...).
So I see mainly 2 options that would fix that:

- saving settings to different files: general/audio/midi
- caching audio and midi settings from initial prefs file reading, and overriding them only when "save audio settings" or "save midi settings" are triggered

#2 is better I guess...




2017-12-27 19:14 GMT+01:00 Dan Wilcox <danomatika@gmail.com>:
In that case,

- Audio and Midi could do as well, instead of their current "Save all
settings" buttons

I felt that way too but, as Miller pointed out, what happens when you use different hot pluggable sound devices? You wouldn't necessarily *want* to save a temporary device each time, that plus the GUI freezes for a bit when you save the preferences. I did enable auto saving for this dialog but it was *pretty* annoying to wait every time you close it.

There are definitely some things to fix regarding consistency, but there are still a few reasons why they don't quite match completely.

On Dec 27, 2017, at 6:36 PM, Antoine Rousseau <antoine@metalu.net> wrote:

IMO the startup flags like this should *not* be saved

However I was referring to another "issue", which is about auto-saving behaviour of (only) some dialogs.


2017-12-27 18:00 GMT+01:00 Dan Wilcox <danomatika@gmail.com>:
IMO the startup flags like this should *not* be saved or be added to the existing settings when saving. They should only act as overrides to the settings. This is true for a number of flags such as -path for which I have a fix on Github: https://github.com/pure-data/pure-data/pull/153

On Dec 27, 2017, at 12:00 PM, pd-list-request@lists.iem.at wrote:

From: Antoine Rousseau <antoine@metalu.net>
To: Alexandros <adrcki@gmail.com>
Cc: Dan Wilcox <danomatika@gmail.com>, Pd-List <pd-list@lists.iem.at>
Subject: Re: [PD] How to get off verbose mode?
Message-ID:
<CAOCG5Hy_ubfh3JSKUUJqSChdJHNvGaZHj6eDd425YjbXbMp-Bw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"


Setting the -verbose flag adds it to the startup flags and if you *save*
the settings the flag is saved as well


In fact, on Linux at least, you don't even need to *save* the settings:
clicking "Apply" or "OK" buttons of Path and Startup dialogs "auto"-saves
(all) the settings.

to pd-devs:
if this is intended, maybe:
- Audio and Midi could do as well, instead of their current "Save all
settings" buttons
- "Preferences/Save all Preferences" menu entry could be removed.