Skip to content

bulky hook detection ignores the case of the font name - #35423

Merged
alexpavlov96 merged 1 commit into
musescore:mainfrom
alexpavlov96:alex/bulky-hook-case-insensitive
Oct 29, 2026
Merged

alexpavlov96 merged 1 commit into
musescore:mainfrom
alexpavlov96:alex/bulky-hook-case-insensitive

Conversation

@alexpavlov96

@alexpavlov96 alexpavlov96 commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

follow up of #34945

@coderabbitai

coderabbitai Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 9ed1129 and ed19ed9.

Files selected for processing: 1
  • src/engraving/rendering/score/slurtielayout.cpp

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

Walkthrough

The slur layout code now lowercases the engraving font name before checking whether it is Gonville or MuseJazz. This makes bulky-hook selection independent of the font name’s capitalization.

Priority: Low

Merge Risk: Minimal · up to ed19e

The change safely adds case-insensitive matching for bulky-hook font names.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description contains only a follow-up reference to an earlier pull request (#34945). It does not state the problem, the motivation, or the fix. It also omits the template's Resolves issue line, an… Add a Resolves line that links the issue, or explain why no issue exists. Describe the problem: bulky hook detection compared font names case-sensitively. Explain the motivation and the fix: the font name is lowercased before comparison. Re…
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title "bulky hook detection ignores the case of the font name" matches the change. The diff lowercases the engraving font name in slurPos before the Gonville and MuseJazz comparison, so bulky-hook…
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "bulky hook detection ignores the case of the font name" matches the change. The diff lowercases the engraving font name in slurPos before the Gonville and MuseJazz comparison, so bulky-hook selection no longer depends on capitalization. The title is short, specific, and states the main point. It does not mention the added stringutils include, which is a minor detail.

Full details: Docstring Coverage

Explanation

Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 1 files.

Full details: Description check

Explanation

The description contains only a follow-up reference to an earlier pull request (#34945). It does not state the problem, the motivation, or the fix. It also omits the template's Resolves issue line, and the checklist items are not marked. The template requires a short description and motivation, so the description is largely incomplete.

Resolution

Add a Resolves line that links the issue, or explain why no issue exists. Describe the problem: bulky hook detection compared font names case-sensitively. Explain the motivation and the fix: the font name is lowercased before comparison. Reference the earlier pull request and explain what it left unresolved. Complete the checklist, and mark the AI assistance item if AI tools were used.

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

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

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.

@alexpavlov96
alexpavlov96 merged commit ee421db into musescore:main Oct 29, 2026
15 checks passed
@alexpavlov96
alexpavlov96 deleted the alex/bulky-hook-case-insensitive branch October 29, 2026 09:44
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.

2 participants