Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix) Pref Mixer: don't update EQs/QuickEffects while applying #13333

Merged
merged 1 commit into from
Jun 9, 2024

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented Jun 6, 2024

I just noticed a bug in the Mixer preferences:

  • check "Same EQ effect for all decks"
  • change EQ in deck 1 (selected for all decks)
  • Apply
  • = only deck1 EQ is applied, others are reset
  • uncheck + check "Same EQ effect for all decks", apply
  • = deck2 EQ is applied
  • uncheck + check "Same EQ effect for all decks", apply
  • = deck3 EQ is applied
  • ...

Reason was that the effectChanged callback resets the pref UI to the current engine state, i.e. wipes pending changes.
Fixed with yet another bool flag.

I adopted this scheme for the similiar callback for QuickEffects and removed the extra slot (which didn't set m_quickEffectIndiciesOnUpdate anyway, i.e. would needlessly reload the QuickEffect and potentially reset the Super knob).

and simplify QuickEffect update if one has been changed in the skin or via controls
@ronso0 ronso0 added this to the 2.4.2 milestone Jun 6, 2024
Copy link
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thank you

@daschuer daschuer merged commit ab87f0e into mixxxdj:2.4 Jun 9, 2024
14 checks passed
@ronso0 ronso0 deleted the pref-mixer-deck-eq-fix branch June 9, 2024 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants