Skip to content

11368 Vertical ruler navigation - #12176

Merged
embarc-gabriel merged 11 commits into
audacity:masterfrom
embarc-gabriel:vertical-ruler-navigation
Sep 22, 2026
Merged

embarc-gabriel merged 11 commits into
audacity:masterfrom
embarc-gabriel:vertical-ruler-navigation

Conversation

@embarc-gabriel

Copy link
Copy Markdown
Contributor

Resolves: #11368

Add navigation for track vertical ruler.

  • 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

@coderabbitai

coderabbitai Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

Understand this PR’s impact

Explore downstream dependencies and potential security impact with Blast Radius.

View blast radius →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: f30f1910-0e66-4525-b31e-02730b212d85

📥 Commits

Reviewing files that changed from the base of the PR and between d7ba0c9 and 02e5d11.

📒 Files selected for processing (11)
  • src/projectscene/qml/Audacity/ProjectScene/tracksitemsview/TrackClipsContainer.qml
  • src/projectscene/qml/Audacity/ProjectScene/tracksitemsview/TrackItemsContainer.qml
  • src/projectscene/qml/Audacity/ProjectScene/tracksitemsview/TrackLabelsContainer.qml
  • src/projectscene/qml/Audacity/ProjectScene/tracksitemsview/TracksItemsView.qml
  • src/projectscene/tests/trackitemsmovecontroller_tests.cpp
  • src/projectscene/view/tracksitemsview/trackclipslistmodel.cpp
  • src/projectscene/view/tracksitemsview/trackitemslistmodel.cpp
  • src/projectscene/view/tracksitemsview/trackitemsmovecontroller.cpp
  • src/projectscene/view/tracksitemsview/tracklabelslistmodel.cpp
  • src/trackedit/internal/trackeditactionscontroller.cpp
  • src/trackedit/tests/trackeditactionscontroller_tests.cpp

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The change adds vertical rulers to keyboard navigation. It introduces TrackFocus for track, item, and ruler targets. It adds per-track ruler navigation panels and ruler-to-ruler movement that skips label tracks. Ruler controls receive focus, scrolling, and accessibility metadata. Ruler context-menu actions open the matching customization popup. Track list scrolling is centralized in TracksListView. Existing focus call sites and tests use the new API.

Priority: ⬇️ Low

Estimated code review effort: 4 (Complex) | ~60 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Keyboard
  participant TrackNavigationController
  participant TrackNavigationModel
  participant VerticalRulersPanel
  Keyboard->>TrackNavigationController: move focus to ruler
  TrackNavigationController->>TrackNavigationModel: publish TrackFocus::ruler
  TrackNavigationModel->>VerticalRulersPanel: activate matching ruler
  Keyboard->>TrackNavigationController: press Up or Down
  TrackNavigationController->>TrackNavigationController: skip label tracks
  TrackNavigationController->>TrackNavigationModel: publish adjacent ruler focus
Loading
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: adding vertical ruler navigation.
Description check ✅ Passed The description links issue #11368, states the change and motivation, and completes the main checklist items. It omits the two AI-assistance checklist entries from the template, but the description re…
Linked Issues check ✅ Passed The changes satisfy the coding requirements in [#11368]. TrackNavigationModel adds one ruler panel after the track, header, and item panels. VerticalRulersPanel omits ruler controls for label trac…
Out of Scope Changes check ✅ Passed The changes remain within [#11368]. The TrackFocus API migration enables track, item, and ruler focus. TracksListView refactoring supports ruler visibility and focus activation. Popup, model, cont…

Warning

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: e8376658-eb1a-441e-9634-8cbfe6b7b389

📥 Commits

Reviewing files that changed from the base of the PR and between d0cc0ab and 5d6cb57.

📒 Files selected for processing (17)
  • src/appshell/internal/applicationactioncontroller.cpp
  • src/appshell/internal/applicationuiactions.cpp
  • src/appshell/qml/Audacity/AppShell/ProjectPage/ProjectPage.qml
  • src/projectscene/qml/Audacity/ProjectScene/trackruler/TrackRulerCustomizePopup.qml
  • src/projectscene/qml/Audacity/ProjectScene/trackruler/WaveformRuler.qml
  • src/projectscene/qml/Audacity/ProjectScene/tracksitemsview/TracksItemsView.qml
  • src/projectscene/qml/Audacity/ProjectScene/tracksitemsview/VerticalRulersPanel.qml
  • src/projectscene/view/trackruler/trackrulermodel.cpp
  • src/projectscene/view/trackruler/trackrulermodel.h
  • src/trackedit/internal/itracknavigationcontroller.h
  • src/trackedit/internal/tracknavigationcontroller.cpp
  • src/trackedit/internal/tracknavigationcontroller.h
  • src/trackedit/tests/mocks/tracknavigationcontrollermock.h
  • src/trackedit/tests/tracknavigationcontroller_tests.cpp
  • src/trackedit/tests/tracknavigationmodel_tests.cpp
  • src/trackedit/view/tracknavigationmodel.cpp
  • src/trackedit/view/tracknavigationmodel.h

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@embarc-gabriel
embarc-gabriel force-pushed the vertical-ruler-navigation branch from 5d6cb57 to 7fc93f1 Compare September 17, 2026 12:58

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: a6828f10-d7ca-4c3d-8190-78975c24bebe

📥 Commits

Reviewing files that changed from the base of the PR and between 5d6cb57 and 3322399.

📒 Files selected for processing (28)
  • src/appshell/internal/applicationactioncontroller.cpp
  • src/appshell/qml/Audacity/AppShell/ProjectPage/ProjectPage.qml
  • src/effects/effects_base/internal/effectexecutionscenario.cpp
  • src/projectscene/qml/Audacity/ProjectScene/trackruler/TrackRulerCustomizePopup.qml
  • src/projectscene/qml/Audacity/ProjectScene/trackruler/WaveformRuler.qml
  • src/projectscene/qml/Audacity/ProjectScene/tracksitemsview/TracksItemsView.qml
  • src/projectscene/qml/Audacity/ProjectScene/tracksitemsview/VerticalRulersPanel.qml
  • src/projectscene/tests/trackitemsselection_tests.cpp
  • src/projectscene/view/trackruler/trackrulermodel.cpp
  • src/projectscene/view/trackruler/trackrulermodel.h
  • src/projectscene/view/tracksitemsview/selectionviewcontroller.cpp
  • src/projectscene/view/tracksitemsview/trackclipslistmodel.cpp
  • src/projectscene/view/tracksitemsview/trackitemslistmodel.cpp
  • src/projectscene/view/tracksitemsview/tracklabelslistmodel.cpp
  • src/projectscene/view/trackspanel/paneltrackslistmodel.cpp
  • src/record/internal/recordcontroller.cpp
  • src/trackedit/internal/au3/au3tracksinteraction.cpp
  • src/trackedit/internal/itracknavigationcontroller.h
  • src/trackedit/internal/trackeditactionscontroller.cpp
  • src/trackedit/internal/tracknavigationcontroller.cpp
  • src/trackedit/internal/tracknavigationcontroller.h
  • src/trackedit/tests/mocks/tracknavigationcontrollermock.h
  • src/trackedit/tests/trackeditactionscontroller_tests.cpp
  • src/trackedit/tests/tracknavigationcontroller_tests.cpp
  • src/trackedit/tests/tracknavigationmodel_tests.cpp
  • src/trackedit/trackedittypes.h
  • src/trackedit/view/tracknavigationmodel.cpp
  • src/trackedit/view/tracknavigationmodel.h

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@embarc-gabriel
embarc-gabriel force-pushed the vertical-ruler-navigation branch from 3322399 to bc477af Compare September 18, 2026 12:00
@embarc-gabriel
embarc-gabriel force-pushed the vertical-ruler-navigation branch from d7ba0c9 to 02e5d11 Compare September 21, 2026 15:30
@embarc-gabriel
embarc-gabriel merged commit 449da37 into audacity:master Sep 22, 2026
28 checks passed
kryksyh added a commit that referenced this pull request Sep 22, 2026
11368 Vertical ruler navigation (#12176)
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.

Add track vertical ruler into main keyboard navigation hierarchy

2 participants