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) Sound preferences: don't set m_settingsModified in update slots #13450

Merged
merged 2 commits into from
Jul 19, 2024

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented Jul 7, 2024

Currently the m_settingsModified is set in DlgPrefSound::slotUpdate() which will cause a sound pause when pressing Apply in any pref page, because DlgPrefSound::slotApply() would reapply the current (unchanged) sound config.
#13070 (comment)

Fixed by moving the keylock dual-threading checkbox update to a dedicated method and call then when necessary.

@acolombier please check if I got everything right.

@ronso0 ronso0 marked this pull request as ready for review July 7, 2024 22:10
@ronso0 ronso0 added the soundio label Jul 7, 2024
@ronso0 ronso0 force-pushed the soundpref-apply-keylockdualthread branch from f53f991 to c75a420 Compare July 8, 2024 12:48
Copy link
Contributor

@acolombier acolombier left a comment

Choose a reason for hiding this comment

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

I haven't had a chance to test it due to time, but reviewed the code, and I can see no missing logic. Thanks for the fix!

@ronso0 ronso0 force-pushed the soundpref-apply-keylockdualthread branch from c75a420 to 5321f91 Compare July 8, 2024 20:56
@ronso0
Copy link
Member Author

ronso0 commented Jul 17, 2024

@mixxxdj/developers This fixes an annoying bug in main, please someone take a look.

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 and thank you for the control proxy refactoring

@daschuer daschuer merged commit fd4d342 into mixxxdj:main Jul 19, 2024
13 checks passed
@ronso0 ronso0 deleted the soundpref-apply-keylockdualthread branch July 19, 2024 17:40
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.

None yet

3 participants