Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughLyric visibility changes are propagated from Changes
Sequence Diagram(s)sequenceDiagram
participant Caller as Property Setter
participant Lyrics as Lyrics Item
participant Sep as Lyrics Separator (Spanner)
Caller->>Lyrics: setProperty(Pid::VISIBLE, bool)
Lyrics->>Lyrics: setVisible(bool)
alt separator exists
Lyrics->>Sep: setVisible(bool)
end
sequenceDiagram
participant EngravingCompat as Compat
participant MasterScore as MasterScore
participant Score as Score
participant Spanners as UnmanagedSpanners
participant LL as LyricsLine
participant Lyrics as Lyrics
EngravingCompat->>MasterScore: setLyricLineVisibility(master)
MasterScore->>Score: for each score
Score->>Spanners: iterate unmanagedSpanners
Spanners->>LL: select isLyricsLine()
LL->>Lyrics: ll->lyrics()
alt visibility differs
LL->>LL: setVisible(lyrics->visible())
LL-->>EngravingCompat: mark changed
end
EngravingCompat-->>Caller: return changed?
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 8c72c9ab-102c-4233-9f0a-6d0e320d6ccd
📒 Files selected for processing (3)
src/engraving/compat/engravingcompat.cppsrc/engraving/compat/engravingcompat.hvtest/scores/lyrics-33.mscz
|
A couple of remaining possible refinements raised separately as #32961. Tested and approved on Ubuntu 24.04.4 LTS. |
Resolves: #32926
Lyric line's visibility can now be set separately from its lyric. Setting the visibility setting for lyrics still changes the lyric line's visibility, but this can be overriden.
Summary by CodeRabbit
Bug Fixes
Chores