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 reset Main/Intro/Outro behaviour #11482

Merged
merged 4 commits into from
May 4, 2023
Merged

Conversation

daschuer
Copy link
Member

During testing of #11448 I have discovered an issue with the "Reset" context menu.

After resetting Main Intro or Auto cue the disappear instead of reset to their default position. They are temporary removed, which is kind of pointless, because they will re-appear if the track is loaded again. The user has no chance to verify the new position without ejecting and loading the track again. The track is then reanalyzed and after that the new position appears.

The reanalysis is pointless because the removed cues will appear at the exact same position as after the first analysis depending on the Audible Sound cue, which is immutable like the waveform.

The only use case where the Audible Sound changes is after the track samples have been changed. In this case the Waveform, where you can also spot the Audible Sound range needs to be reanalyzed as well. To make sure waveform and Audible Sound cue are always consistent, I have changed that the Audible Sound cue is now reset along with the wave forms.

I consider this PR a bug fix and that's why it is for the 2.3 branch. However we may consider to merge it to 2.4 because it changes the behavior of the reset menu slightly.

Copy link
Member

@ronso0 ronso0 left a comment

Choose a reason for hiding this comment

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

I can confirm the issue you discovered, as well as the fix.
Code LGTM, thanks.

@ronso0
Copy link
Member

ronso0 commented May 2, 2023

@mixxxdj/developers Anyone else cares to take a look?

@Swiftb0y Swiftb0y changed the title Fix reset Main/Intro/Auto behaviour Fix reset Main/Intro/Outro behaviour May 3, 2023
Copy link
Member

@Swiftb0y Swiftb0y 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.

@Swiftb0y Swiftb0y merged commit 16fb7d3 into mixxxdj:2.3 May 4, 2023
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.

3 participants