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

Impossible to copy selected audio without copying the entire clip #6423

Open
SteveDaulton opened this issue May 11, 2024 · 4 comments
Open
Labels
bug An error, undesired behaviour, or missed functionality Design / UX Bugs, enhancement requests and tasks a designer should look at P2 High priority regression Bug is a regression against previous version
Milestone

Comments

@SteveDaulton
Copy link
Member

Bug description

According to the manual,
"Edit menu > Copy (Ctrl + C)" will copy the selected audio. This is clear and as expected, but is not actually what happens.

Rather than only the selected audio being copied, the entire audio clip is copied.

Steps to reproduce

  1. Make a 2 hour stereo recording
  2. Select about 1 second of the recording
  3. Copy
  4. Select the entire track
  5. Delete
  6. Paste
  7. Save Project

Expected behavior

A small saved project less than 1MB in size.

Actual behavior

A huge saved project about 2.5 GB in size, because we did not only copy the 1 second of selected audio but the entire 2 hours.

Audacity Version

current master / alpha / nightly build

Operating system

Linux

Additional context

The principle of least astonishment, one of the most basic rules of good UI design, is violated.

@SteveDaulton SteveDaulton added bug An error, undesired behaviour, or missed functionality Design / UX Bugs, enhancement requests and tasks a designer should look at UI UI bugs and programming tasks labels May 11, 2024
@petersampsonaudacity
Copy link

@LWinterberg @Tantacrul @dozzzzer @SteveDaulton

This contrasts strongly with the use case of pasting a selection from a clip or project into a different project.

In this case the user can choose to copy either just the selction or the whole smart clip, enabling them to avoid project-bloat if required.

image

This is especially an issue as there is no Compact Project command

@SteveDaulton
Copy link
Member Author

I noticed that today, someone enquired about this exact issue on Audacity Discord.

@LWinterberg
Copy link
Member

This is a regression on 3.1.3 by the looks of it. In the original design, time selections like this were supposed to not be smart clips. I don't believe this got decided in another way.

@LWinterberg LWinterberg added P2 High priority regression Bug is a regression against previous version and removed UI UI bugs and programming tasks labels May 13, 2024
@petersampsonaudacity
Copy link

In the original design, time selections like this were supposed to not be smart clips

That sounds emminently sensible to me @LWinterberg 👍

@dozzzzer dozzzzer added this to the Audacity 3.7 milestone May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error, undesired behaviour, or missed functionality Design / UX Bugs, enhancement requests and tasks a designer should look at P2 High priority regression Bug is a regression against previous version
Projects
Status: To-Do
Development

No branches or pull requests

4 participants