Skip to content

frontend: Copy show/hide transitions when pasting source as duplicate #12308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

howellrl
Copy link
Contributor

@howellrl howellrl commented Jun 23, 2025

Description

When a source is copied and pasted as duplicate, copy the show and hide transitions onto the newly created scene item.

Motivation and Context

This fixes #11192 - Show/Hide transitions don't copy when duplicating a source. The ticket describes an issue where copying a source and pasting as duplicate does not bring the show and hide transitions to the pasted item.

How Has This Been Tested?

Tested on Windows 11

Ran OBS Studio before making changes. Followed recreation steps in issue and observed described behavior. Transitions were not being copied.

Made changes, ran OBS Studio and followed recreation steps. Transitions are now copied.

  • Tested Text (GDI+), Image, Window Capture sources.
  • Tested Fade and Swipe transitions.
  • Verified show and hide transitions were both copied.
  • Made changes to source after pasting to confirm the changes did not affect the duplicate - this verified that transitions were duplicated and not referenced.
  • Verified paste as reference was not affected. Paste as reference was not called out in the ticket.
  • Tested undo/redo of paste, transitions were still present on duplicate.
  • After copy and paste, restarted OBS, transitions were still present on duplicate.

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@gxalpha gxalpha added Enhancement Improvement to existing functionality UI/UX Anything to do with changes or additions to UI/UX elements. labels Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improvement to existing functionality UI/UX Anything to do with changes or additions to UI/UX elements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show/Hide transitions don't copy when duplicating a source
2 participants