Repository navigation
Do not move the playhead when selecting a track by its header - #12071
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Advanced Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between 07e6c36 and 09a9a7a46c8b7b3dcaa7ea81b8c06af4f7fa76d1. 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthrough
Priority: ➖ Normal — Schedule this narrow track-selection UX fix because it prevents the playhead from jumping when users select a track header. Estimated code review effort: 1 (Trivial) | ~2 minutes Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to Selecting a track header now preserves the current playhead position while retaining track audio selection behavior. No current merge-readiness risk is identified. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Warning Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped 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. Comment |
Clicking a track header dispatched a seek to the start of the track's audio, so the playhead jumped away from wherever the user had put it - to the first clip, or to 0 on an empty track. Selecting a track's audio data is a selection change, not a transport command.
09a9a7a to
e198362
Compare
|
@jonata thanks for the contribution! just merged it |
Do not move the playhead when selecting a track by its header (#12071)
Resolves: #11972
PanelTracksListModel::selectAudioData()dispatched a seek immediately aftersetting the selection:
setSelectedTrackAudioDatasets the selection to the track'sGetStartTime()…
GetEndTime(), so the seek moved the playhead to the first clip's start, orto 0 on an empty track. Removing the dispatch leaves the selection behaviour
unchanged.
Verified: builds,
ctest5/5, codestyle clean.Recommended:
QA: