Skip to content

Suppress programmatically setting playhead position on drag operations #11176

Description

@teetow

Description

The playhead currently moves whenever a selection is made, which in turn happens whenever a clip is clicked (on mousedown, to boot). This causes jank in certain operations like dragging a clip with its boundaries outside the viewport (presumably if keep-playhead-in-view is toggled on.)

Suggested design:

  1. Do not move the playhead immediately on mousedown. Instead, wait for a mouseup event, then determine if the playhead should be moved.
  2. If the user is dragging anything other than the playhead itself, we don't move it
  3. If the user is dragging a selection, make sure playhead is not moved during dragging.

Expected behavior:
1. Clips can be dragged during playback without playback being interrupted (because the playhead moved) (out of scope, will be addressed in #11503)
2. Long clips will no longer jank because the is viewport shifts mid-drag
3. Peace and good will towards humankind

Activity

  1. added theissue type on Jun 16, 2026
  2. added
    Task
    on Jun 16, 2026
  3. removed theissue type on Jun 16, 2026
  4. added theissue type on Jun 16, 2026
  5. moved this from Design - Todo to Ready for Dev in [AU4] Main Board(archive)on Jun 16, 2026
  6. added
    playback
    on Jun 18, 2026
  7. 6 remaining items

  8. moved this from Code Review to Ready for QA in [AU4] Release Maintenanceon Jul 27, 2026
  9. moved this from Ready for QA to In QA in [AU4] Release Maintenanceon Jul 28, 2026
  10. self-assigned this
    on Jul 28, 2026
  11. moved this from In QA to Ready for Merge in [AU4] Release Maintenanceon Jul 28, 2026
  12. moved this from Ready for Merge to In Progress in [AU4] Release Maintenanceon Jul 28, 2026
  13. dozzzzer commented on Jul 28, 2026

    @dozzzzer
    Contributor

    Please rename play cursor to play head

    Image
  14. moved this from In Progress to Ready for QA in [AU4] Release Maintenanceon Jul 28, 2026
  15. luapmartin commented on Jul 28, 2026

    @luapmartin
    Contributor

    done

  16. luapmartin commented on Jul 28, 2026

    @luapmartin
    Contributor

    also the PR associated with this issue might fix also that one: #11148

  17. moved this from Ready for QA to In QA in [AU4] Release Maintenanceon Jul 28, 2026
  18. dozzzzer commented on Jul 28, 2026

    @dozzzzer
    Contributor

    @luapmartin

    #11148 still stands in #11474

  19. moved this from In QA to Ready for Merge in [AU4] Release Maintenanceon Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Taskplayback

Type

Fields

Priority

Urgent

Effort

None yet

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions