Skip to content

Label fixes - #12181

Merged
grliszas14 merged 3 commits into
audacity:masterfrom
grliszas14:label_fixes
Sep 24, 2026
Merged

grliszas14 merged 3 commits into
audacity:masterfrom
grliszas14:label_fixes

Conversation

@grliszas14

@grliszas14 grliszas14 commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Resolves: #11681

  • I signed CLA
  • This PR includes AI assistance
  • If the PR is AI-assisted, I have read, understood and complied with the guidelines for AI-assisted contributions
  • 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 checklist:

@coderabbitai

coderabbitai Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

📝 Walkthrough

Walkthrough

The change adds specialized guideline lookup for label resizing and makes the base lookup virtual. It excludes point labels from left and right linking, with a test for point labels that share a timestamp with each other and a region edge. The timeline history-change handler now emits horizontalScrollChanged() instead of calling updateFrameTime().

Priority: ➖ Normal

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

Severity of issue fixed: Medium

Merge Risk: 🔵 Low · up to e547a

Undo and redo can leave timeline displays and editing interactions using stale frame-time state. Restore the frame-time refresh to avoid inconsistent timeline behavior.

🚥 Pre-merge checks | ✅ 3 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title "Label fixes" relates to the changes, but it is too vague to identify the specific label behavior being corrected. Use a specific title that describes the primary fix, such as "Prevent point labels from being linked during resizing".
✅ Passed checks (3 passed)
Check name Status Explanation
Description check ✅ Passed The description includes the linked issue, required checkboxes, and a QA checklist. It does not include the required short description of the changes and the motivation for making them.
Linked Issues check ✅ Passed PASS. The PR addresses issue #11681. relink() excludes point labels from left and right link detection. This prevents stacked point labels at one timestamp from forming resize links. `TrackLabelsLis…
Out of Scope Changes check ✅ Passed PASS. The changed files support the linked resize behavior. The virtual findGuideline() declaration enables the label-specific override. The timeline history update refreshes the horizontal scrollba…

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: 7480edcd-d54d-4b2e-976d-9a17019fcf0b

📥 Commits

Reviewing files that changed from the base of the PR and between 05df020 and e547a35.

📒 Files selected for processing (5)
  • src/projectscene/view/timeline/timelinecontext.cpp
  • src/projectscene/view/tracksitemsview/trackitemslistmodel.h
  • src/projectscene/view/tracksitemsview/tracklabelslayoutmanager.cpp
  • src/projectscene/view/tracksitemsview/tracklabelslistmodel.cpp
  • src/projectscene/view/tracksitemsview/tracklabelslistmodel.h

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

@grliszas14
grliszas14 merged commit c921664 into audacity:master Sep 24, 2026
28 checks passed
@grliszas14
grliszas14 deleted the label_fixes branch September 24, 2026 08:04
kryksyh added a commit that referenced this pull request Oct 27, 2026
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.

Resizing a point label can cause a drag

2 participants