Nov. 3, 2025
4:53 p.m.
On Mon Nov 3 16:51:33 2025 +0000, Esme Povirk wrote: > I guess a general solution that won't loop infinitely in case of > impossible combinations could be: > * Change only the parameters that are configured differently from their > current value. > * After changing a parameter, recheck all previous parameters, changing > and rechecking the ones before that, if necessary. > * Load the values into the dialog after making all parameter changes. Hm, that would be O(n**2) in normal cases though. We could do better: 1. Check all parameter values. Change those that are configured differently from their current state. Note the last index changed. 2. As long as at least one change was needed, repeat step 1, but only for parameters with index before the last one changed. 3. Load the values into the dialog. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9184#note_120551