Skip to content

Skip IObservable first init in PreferencesViewModel#2205

Open
atouu wants to merge 2 commits into
openutau:masterfrom
atouu:skip-prefs-reactive-first-init
Open

Skip IObservable first init in PreferencesViewModel#2205
atouu wants to merge 2 commits into
openutau:masterfrom
atouu:skip-prefs-reactive-first-init

Conversation

@atouu

@atouu atouu commented Jun 16, 2026

Copy link
Copy Markdown
Member

When opening PreferencesDialog, preferences get resave 43 times (including writing to prefs.json) causing the preferences window to lag for a bit. We can prevent this by adding .Skip(1) to every IObservable.

@atouu atouu changed the title Skip IObservable first init in PreferenceViewModel Skip IObservable first init in PreferencesViewModel Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant