audacity / audacity/audacity

Wrong stereo-to-mono copy/paste behavior

Open
#7,616 1 comment 0 reactions 0 assignees View on GitHub
AU3-bug Tracks
Dominant language
C++
Stars
18.4k
Forks
2.7k
Avg merge
3d 1h
Merged PRs (30d)
78

Description

### Steps to reproduce

1. Generate chirp
2. Add a stereo track and generate chirp
3. Select and copy a region of the stereo chirp
4. Select a region inside the mono chirp
5. Ctrl (Cmd) + V

### Expected behavior

image

### Actual behavior

An attempt to paste the copied data into the mono track pastes it into the stereo track.

https://github.com/user-attachments/assets/b3568d84-0c18-4051-b20f-bee8210a5a0c

### Audacity Version

Audacity 3.7.x

### Operating system

Windows, macOS, Linux

### Additional context

This can only be reproduced if the mono track comes first, and the stereo track second.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Audacity 3.7.x using the listed chirp, mono-track, stereo-track, and Ctrl/Cmd+V steps on a supported desktop platform. Start at the paste action and track-selection handling, then verify that copied stereo data is pasted into the selected mono region when the mono track comes first; done means the reported behavior no longer occurs across Windows, macOS, and Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.