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

SampleClip: valid file disappears when replaced with invalid one #6287

Closed
M374LX opened this issue Jan 16, 2022 · 3 comments · Fixed by #7224
Closed

SampleClip: valid file disappears when replaced with invalid one #6287

M374LX opened this issue Jan 16, 2022 · 3 comments · Fixed by #7224
Labels

Comments

@M374LX
Copy link
Contributor

M374LX commented Jan 16, 2022

Bug Summary

When a sample clip contains a valid audio file and the user replaces it with an invalid one, the previous (valid) sample disappears. #6286 is related and should be merged before a fix is proposed.

Steps to reproduce

  1. Create an empty file with the ".wav" extension.
  2. Start LMMS.
  3. Add a sample track.
  4. Add a clip to the sample track and load a valid audio file into it.
  5. Replace the valid file loaded on step 4 with the empty file created on step 1.

Expected behavior

The previous (valid) audio file should be kept intact in the sample clip (and an error message should be shown, which #6286 addresses).

Actual behavior

The sample clip becomes empty.

Affected LMMS versions

1.3.0-alpha.1.163+g0d1b455be (Linux/x86_64, Qt 5.15.2, GCC 10.2.1 20201203).

@Rossmaxx
Copy link
Contributor

Any chance #6610 might have fixed this?

@michaelgregorius
Copy link
Contributor

I can still reproduce this. An error message is shown but the valid clip is removed instead of being kept.

@michaelgregorius
Copy link
Contributor

Pull request #7224 fixes this.

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 a pull request may close this issue.

3 participants