You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #121: Today, plugins cannot detect when settings are changed. Furthermore, some settings, may require a read-all to take effect.
Changes requested:
Add an "OnSettingsChanged" event which provides plugins with an indication that settings have changed and, ideally, provide a before/after values so the plugin can determine what has changed. This would help inform whether a plugin requires a read-all. Ideally, this fires when the settings view for the plugin is closed, not on every individual value change (ie. on every single value change like in a number scroller or something) in order to suppress notifications for intermediate/non-committed values, thereby reducing false-positives.
Add a setting annotation which plugin authors can use to mark a setting as requiring a read-all if changed. When present, core will render the setting with a visual style which indicates that changing the setting will not take immediate effect. It is a visual indication ONLY. When the plugin receives the new "OnSettingsChanged" event, proposed above, and detects if the setting has in fact changed (because it may have been changed, then changed back), it can set the "RequiresReadAll" property, proposed in Feature Request: Provide an API to allow plugins to indicate it would like a re-read all #121, in order to request the read-all.
The text was updated successfully, but these errors were encountered:
A more formal way to be notified of setting value changes would be to implement INotifyPropertyChanged and the interested parties can subscribe to the PropertyChanged event...
Related to #121: Today, plugins cannot detect when settings are changed. Furthermore, some settings, may require a read-all to take effect.
Changes requested:
The text was updated successfully, but these errors were encountered: