Skip to content

Add middle-mouse drag panning to TrackPanel - #9565

Merged
kryksyh merged 1 commit into
audacity:audacity3from
AJenbo:panning
Oct 8, 2025
Merged

kryksyh merged 1 commit into
audacity:audacity3from
AJenbo:panning

Conversation

@AJenbo

@AJenbo AJenbo commented Oct 4, 2025

Copy link
Copy Markdown
Contributor

Resolves: #693

Implemented smooth horizontal panning in the TrackPanel using the middle mouse button.

  • Pressing and holding the middle button allows dragging the waveform left/right.
  • Scrollbar and viewport update in sync for natural movement.

untitled

While this feature is planned for 4.0, adding it to the 3.x branch improves usability and addresses a longstanding frustration of mine. The behavior matches other creative tools like GIMP, Inkscape, Kdenlive, and Blender, helping frequent Audacity users work more naturally until 4.0 is released.

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Autobot test cases have been run

@kryksyh
kryksyh self-requested a review October 4, 2025 20:38
@kryksyh

kryksyh commented Oct 6, 2025

Copy link
Copy Markdown
Member

@AJenbo thank you!

@kryksyh kryksyh linked an issue Oct 6, 2025 that may be closed by this pull request
@AJenbo

AJenbo commented Oct 6, 2025

Copy link
Copy Markdown
Contributor Author

The failing CI seems unrelated to the PR as it's failing during dependency installation before compiling.

@kryksyh
kryksyh merged commit 32e5e34 into audacity:audacity3 Oct 8, 2025
@AJenbo
AJenbo deleted the panning branch October 8, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow "track view panning" with middle/any mouse button

2 participants