Skip to content

Add tooltips to StyledTabButton#82

Open
ajuncosa wants to merge 1 commit into
musescore:mainfrom
ajuncosa:truncated-text
Open

Add tooltips to StyledTabButton#82
ajuncosa wants to merge 1 commit into
musescore:mainfrom
ajuncosa:truncated-text

Conversation

@ajuncosa

@ajuncosa ajuncosa commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Partially resolves: musescore/MuseScore#32604

Adds tooltips over truncated text on StyledTabButtons, without interfering with button interaction.

Related to: musescore/MuseScore#33765

@coderabbitai

coderabbitai Bot commented Jun 10, 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
📝 Walkthrough

Walkthrough

This pull request implements tooltip and hover behavior for styled text components. StyledTextLabel's MouseArea now hides the tooltip when pressed without consuming the click event. StyledTabButton enables hover-based display of truncated text on its label, allowing text to appear when the user hovers over a truncated label.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is incomplete. It lacks the required sections including PR motivation details, CLA confirmation, and a comprehensive checklist of required items. Complete the PR description template by adding the missing sections: CLA signature confirmation, checkbox validations, detailed motivation, and build configuration details.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: adding tooltips to StyledTabButton components.
Linked Issues check ✅ Passed The PR addresses issue #32604 by implementing tooltips for truncated text in UI components, which directly resolves the reported problem of truncated text appearing without helpful user feedback.
Out of Scope Changes check ✅ Passed All changes are directly scoped to implementing tooltip functionality on StyledTabButton and StyledTextLabel to address truncated text display issues.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@mathesoncalum

Copy link
Copy Markdown
Contributor

/build

@github-actions

Copy link
Copy Markdown

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.

Truncated text in Properties>Beam in localized version (ES)

2 participants