Skip to content

10395 tooltip refactor - #11802

Merged
embarc-gabriel merged 7 commits into
audacity:masterfrom
embarc-gabriel:10395-tooltip-refactor
Sep 4, 2026
Merged

embarc-gabriel merged 7 commits into
audacity:masterfrom
embarc-gabriel:10395-tooltip-refactor

Conversation

@embarc-gabriel

@embarc-gabriel embarc-gabriel commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Resolves: #10395
Resolves: #10410
Resolves: #11841

Replace GainTooltip, VolumeTooltip and PanTooltip by a single ValueTooltip qml element.

  • 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:

  • Testflow test cases have been run
  • Tooltips from: Volume slider (horizontal and vertical), volume on track header, GraphicEQ, gain automation, pan knob.
  • Test vertical and horizontal mouse move across GraphicEQ sliders and tooltips when key-navigating too

@coderabbitai

coderabbitai Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

Review Change Stack

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: Team

Run ID: b4ff9831-25fa-4c67-b1d5-95410d1478d6

📥 Commits

Reviewing files that changed from the base of the PR and between ed63687 and 8dcd130.

📒 Files selected for processing (15)
  • src/effects/builtin_collection/graphiceq/GraphicEqBoard.qml
  • src/effects/builtin_collection/graphiceq/GraphicEqFader.qml
  • src/playback/qml/Audacity/Playback/components/VerticalVolumeSlider.qml
  • src/playback/qml/Audacity/Playback/components/VolumeSlider.qml
  • src/projectscene/projectscene.qrc
  • src/projectscene/qml/Audacity/ProjectScene/qmldir
  • src/projectscene/qml/Audacity/ProjectScene/tracksitemsview/ClipItem.qml
  • src/projectscene/qml/Audacity/ProjectScene/trackspanel/audio/GainTooltip.qml
  • src/projectscene/qml/Audacity/ProjectScene/trackspanel/audio/PanKnob.qml
  • src/projectscene/qml/Audacity/ProjectScene/trackspanel/audio/PanTooltip.qml
  • src/projectscene/qml/Audacity/ProjectScene/trackspanel/audio/VolumeSlider.qml
  • src/projectscene/qml/Audacity/ProjectScene/trackspanel/audio/VolumeTooltip.qml
  • src/uicomponents/au_uicomponents.qrc
  • src/uicomponents/qml/Audacity/UiComponents/components/ValueTooltip.qml
  • src/uicomponents/qml/Audacity/UiComponents/qmldir
💤 Files with no reviewable changes (5)
  • src/projectscene/projectscene.qrc
  • src/projectscene/qml/Audacity/ProjectScene/trackspanel/audio/GainTooltip.qml
  • src/projectscene/qml/Audacity/ProjectScene/qmldir
  • src/projectscene/qml/Audacity/ProjectScene/trackspanel/audio/PanTooltip.qml
  • src/projectscene/qml/Audacity/ProjectScene/trackspanel/audio/VolumeTooltip.qml
🚧 Files skipped from review as they are similar to previous changes (10)
  • src/uicomponents/qml/Audacity/UiComponents/qmldir
  • src/projectscene/qml/Audacity/ProjectScene/trackspanel/audio/PanKnob.qml
  • src/projectscene/qml/Audacity/ProjectScene/trackspanel/audio/VolumeSlider.qml
  • src/uicomponents/au_uicomponents.qrc
  • src/effects/builtin_collection/graphiceq/GraphicEqFader.qml
  • src/projectscene/qml/Audacity/ProjectScene/tracksitemsview/ClipItem.qml
  • src/playback/qml/Audacity/Playback/components/VerticalVolumeSlider.qml
  • src/playback/qml/Audacity/Playback/components/VolumeSlider.qml
  • src/uicomponents/qml/Audacity/UiComponents/components/ValueTooltip.qml
  • src/effects/builtin_collection/graphiceq/GraphicEqBoard.qml

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


📝 Walkthrough

Walkthrough

The change adds the reusable ValueTooltip component to Audacity.UiComponents. It replaces project-specific volume, gain, and pan tooltips in Graphic EQ, playback sliders, project-scene sliders, the pan knob, and automation envelopes. Call sites now provide generic values, units, prefixes, sizing text, and formatting. Legacy tooltip registrations are removed.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Merge Risk: ⚪ Minimal · up to 8dcd1

The tooltip consolidation is ready to merge based on the available change context, with no identified current risk requiring follow-up.

Sequence Diagram(s)

sequenceDiagram
  participant GraphicEqBoard
  participant GraphicEqFader
  participant ValueTooltip
  GraphicEqBoard->>GraphicEqFader: track the fader during painting
  GraphicEqFader->>ValueTooltip: bind value and configure unitText and sizingText
  GraphicEqBoard->>ValueTooltip: move, show, or hide the shared tooltip
Loading
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title identifies the tooltip refactor and references issue #10395, which covers the main change. It does not mention the other linked issues, but it remains concise and sufficiently descriptive.
Description check ✅ Passed The description includes the linked issues, change summary, motivation, checklist status, and planned QA coverage. The Testflow checkbox remains unchecked, but the description is otherwise substantial…
Linked Issues check ✅ Passed The changes replace the three duplicated tooltip components with ValueTooltip, update all identified call sites, and add GraphicEQ tooltip state and repositioning logic. These changes address the refa…
Out of Scope Changes check ✅ Passed The modified and deleted files support the ValueTooltip refactor, its call sites, resource registration, and GraphicEQ tooltip behavior. No unrelated code changes are evident.

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.

@embarc-gabriel
embarc-gabriel force-pushed the 10395-tooltip-refactor branch 3 times, most recently from 9bdb12e to 5017eb9 Compare August 27, 2026 15:30
@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@embarc-gabriel
embarc-gabriel merged commit 16f2713 into audacity:master Sep 4, 2026
17 checks passed
kryksyh added a commit that referenced this pull request Sep 22, 2026
10395 tooltip refactor (#11802)
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.

dB info disappears when dragging graphic EQ sliders Tooltips for Gain and Volume are Unresponsive QML tooltips refactor

2 participants