Skip to content

fix: prevent repeated load operation on QmlPlayerProxy - #15970

Merged
acolombier merged 1 commit into
mixxxdj:mainfrom
xARSENICx:fix/prevent-repeated-load-playerproxy
Feb 12, 2026
Merged

fix: prevent repeated load operation on QmlPlayerProxy#15970
acolombier merged 1 commit into
mixxxdj:mainfrom
xARSENICx:fix/prevent-repeated-load-playerproxy

Conversation

@xARSENICx

@xARSENICx xARSENICx commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

Add early-return guards to loadTrack() and loadTrackFromLocation() to skip the load if the requested track is already loaded in the player. This prevents unnecessary unload/reload cycles, avoiding audible glitches and redundant signal emissions.

loadTrackFromLocationUrl() is covered implicitly since it delegates to loadTrackFromLocation().

Fixes: #14809

Add early-return guards to loadTrack() and loadTrackFromLocation()
to skip the load if the requested track is already loaded in the
player. This prevents unnecessary unload/reload cycles, avoiding
audible glitches and redundant signal emissions.

loadTrackFromLocationUrl() is covered implicitly since it delegates
to loadTrackFromLocation().

Fixes: mixxxdj#14809
@github-actions github-actions Bot added the qml label Feb 12, 2026
@acolombier acolombier self-assigned this Feb 12, 2026
@xARSENICx

xARSENICx commented Feb 12, 2026

Copy link
Copy Markdown
Contributor Author

Am confused here? Are QML issues not to be touched? I don't know what core dev self-assigning a PR mean, so am sorry if I misunderstood anything.

@JoergAtGithub

Copy link
Copy Markdown
Member

Fixing QML issues is very welcome! I guess Antoine just clicked on the wronk link, which assigned the issue to him, instead of self-requesting a review of your work.

@acolombier acolombier removed their assignment Feb 12, 2026
@acolombier
acolombier self-requested a review February 12, 2026 23:41
@acolombier

Copy link
Copy Markdown
Member

Apologies, this is indeed very welcome! I saw the notification from my phone and I wanted to make sure I wouldn't forget to test and review this PR. As @JoergAtGithub rightfully pointed, I meant to self-request a review but I got yet again confused by the poor Github app.

Sorry for the wrong signal and thank for helping the QML effort!

@acolombier acolombier left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thank you!

@acolombier
acolombier merged commit a3ee814 into mixxxdj:main Feb 12, 2026
28 of 29 checks passed
@xARSENICx
xARSENICx deleted the fix/prevent-repeated-load-playerproxy branch February 12, 2026 23:44
@xARSENICx

Copy link
Copy Markdown
Contributor Author

No worries. Looking forward to make more meaningful changes in qml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prevent repeated load operation on PlayerProxy

3 participants