audacity / audacity/audacity

Auto-fit track height preference not honored during recording

Open
#1,743 2 comments 0 reactions 0 assignees View on GitHub
AU3-bug concurrency & multiprocess P3
Dominant language
C++
Stars
18.4k
Forks
2.7k
Avg merge
3d 3h
Merged PRs (30d)
85

Description

**Describe the bug**
If you have chosen to set "Auto-fit track height" to be "on" on Tracks preferences, this setting will not be honored during recording

Originally logged on Bugzilla (back in 2015) as bug 1212
https://bugzilla.audacityteam.org/show_bug.cgi?id=1212

**To Reproduce**
Steps to reproduce the behavior:
1) Reduce window size height such that the gray area is smaller then the default waveform height
2) In Prefs>Tracks set "Automatically fit tracks vertically zoomed" to be "on"
3) Press Record
4) Observe: The waveform shows at full size while recording
5) Press Stop
6) Observe: Now the zoom to fit is effected

**Expected behavior**
"Auto-fit track height" preference should be honored during recording.

**Screenshots**
None

**Additional information (please complete the following information):**
- OS: all OS
- Version: all Audacity - originally reported against 2.1.2

**Additional context**
a) "Automatically fit tracks vertically zoomed" is not honored during the actual recording but only after the recording has been stopped.
b) However it is possible while recording to use View>Fit Vertically and Audacity then performs the vertical fit while the recording is taking place.
c) In contrast when using File>Import the vertical fit is honored immediately while the file is importing.
d) If the vertical height of the window is small enough then even after Stopping the recording the zoom to fit vertically does not work properly.

Contributor guide

Open the contributing guide

Research direction

First reproduce the issue using Tracks preferences, a small window, and an active recording. Compare the recording behavior with View > Fit Vertically and File > Import, then verify that auto-fit applies during recording and still behaves correctly after stopping in a small window.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.