Skip to content

UI: Update show/hide transitions for all selected items - #6453

Closed
cg2121 wants to merge 1 commit into
obsproject:masterfrom
cg2121:tr-all-selected
Closed

cg2121 wants to merge 1 commit into
obsproject:masterfrom
cg2121:tr-all-selected

Conversation

@cg2121

@cg2121 cg2121 commented May 11, 2022

Copy link
Copy Markdown
Contributor

Description

Instead of just updating the currently selected scene item's visibility
transition, when updating show/hide transition or duration, this updates
all of the selected items.

Motivation and Context

Idea from @Warchamp7

How Has This Been Tested?

Made sure when updating show/hide transition, it affected all selected items.

Types of changes

  • Tweak (non-breaking change to improve existing functionality)

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.

@cg2121 cg2121 added the kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. label May 11, 2022
@RytoEX
RytoEX requested a review from Warchamp7 May 14, 2022 23:31
@WizardCM
WizardCM requested review from WizardCM and removed request for Warchamp7 May 14, 2022 23:31
@RytoEX
RytoEX requested a review from Warchamp7 May 14, 2022 23:35
@sebastian-s-beckmann sebastian-s-beckmann added the area/ui-ux Anything to do with changes or additions to UI/UX elements. label May 26, 2022
@Warchamp7

Copy link
Copy Markdown
Member

The transition choice seems to apply to all selected items, but not the configured options.

Ex. Applying a Slide transition to multiple selected items will put Slide on all of them, but only the one that was clicked will get configuration changes, such as swapping the slide direction in the transition settings.

Also got a crash while testing, trying to narrow it down

@cg2121

cg2121 commented Jul 24, 2022

Copy link
Copy Markdown
Contributor Author

Marking as draft, as it needs work with undo/redo. It undo/redos each source at a time instead of all of the selected ones.

@cg2121
cg2121 marked this pull request as draft July 24, 2022 01:16
Instead of just updating the currently selected scene item's visibility
transition, when updating show/hide transition or duration, this updates
all of the selected items.
@cg2121

cg2121 commented Oct 28, 2023

Copy link
Copy Markdown
Contributor Author

This now properly works with undo/redo.

@Warchamp7

Copy link
Copy Markdown
Member

Looks to properly copy and paste transitions, but duration is incorrect. It always uses the global transition duration. However, that is not unique to this PR so may be out of scope to fix here.

@Warchamp7

Copy link
Copy Markdown
Member

Will see if the above issue is solved naturally by #10511

@Warchamp7 Warchamp7 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issues still to be addressed:

  • Copy duration as well when copying transition
  • Don't display a checkmark in the list when the selected sources have mismatched selections

@Warchamp7

Copy link
Copy Markdown
Member

This PR is being closed due to being stale. If you would still like to submit these changes, please open a new PR.

@Warchamp7 Warchamp7 closed this Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ui-ux Anything to do with changes or additions to UI/UX elements. kind/enhancement Enhancements are not bugs or new features but can improve usability or performance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants