Repository navigation
Description
Upstream OBS bug, reported by BakaKuma-uwu in obsproject/obs-studio#10448 (OBS 30.1.0, still open; Guffyf confirmed it, and OBS's Warchamp7 called it a known issue he would like fixed). With several sources selected in the Sources list, right-click > Show Transition (or Hide Transition) > Fade gives the transition to one of them only. Opening the menu again on the same selection shows Fade as picked, but every other selected source still has its old transition. Still present upstream and in this fork.
Location
frontend/widgets/OBSBasic_Transitions.cppCreateVisibilityTransitionMenu()(line 1041): thesetTransitionaction (line 1063) and the duration box (setDuration, line 1114) changeGetCurrentSceneItem(), the current (top selected) item, and ignore the rest of the selection.- The Paste entry of the same submenu (line 1171) already loops over
GetAllSelectedSourceItems(), and so do Paste Filters and Paste Transform.
Class
Wrong result for a user action: the choice made for a multi-selection is applied to one item. No crash, no data loss.
How it is reached
Add three sources to a scene, select all three in the Sources list, right-click > Show Transition > Fade. Only the top one gets Fade. Same for Hide Transition and for the duration box in either submenu.
Reproduced in the current release
AppImage v0.1.0-beta.20261014, headless (private Xvfb, private HOME, dbus-run-session, --multi), with a small test module that adds three Color Sources, selects all three in the Sources list, opens the Sources context menu the way a right click does, picks Show Transition > Fade (or Hide Transition > Fade) and then presses Undo and Redo:
| Step | Color 1 | Color 2 | Color 3 (current item) |
|---|---|---|---|
| Before (all three selected) | none | none | none |
| After Show Transition > Fade | none (bug) | none (bug) | Fade, 300 ms |
| Hide Transition > Fade instead | none (bug) | none (bug) | Fade, 300 ms |
Proposed fix and failing test
Fix: the menu applies the picked transition, None and the duration to the current item and to every other selected item, including selected items inside groups, like Paste in the same submenu. Each item gets its own transition named after its source, an item that already has a transition of the picked type keeps it, and one undo entry covers every changed item. The logic moves into a small Qt-free helper (frontend/utility/visibility-transition.c) that the menu calls.
RED test (cmocka, test_visibility_transition, Linux, needs a display like the other transition tests): builds a scene of real libobs sources and a group, registers two minimal transition types, selects items and applies the menu choice. 6 of 8 cases fail today in both libobs lanes (three items for show, hide, another type then None, undo/redo and duration; an item inside a group). The two controls pass (one selected item; an item that already has a transition of the picked type keeps it).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
rdoupe commentedon Oct 14, 2026
Claiming: this issue.
test_visibility_transitionbuilds a scene with real libobs sources and a group, selects several items and applies a Show/Hide Transition choice throughfrontend/utility/visibility-transition.c(a stub with the current logic). 6 of 8 cases fail: only the current item changes.PR today.
test/cmocka: Add failing test for Show/Hide Transition with several s…
frontend: Apply Show/Hide Transition to every selected source
rdoupe commentedon Oct 14, 2026
@BakaKuma-uwu you reported this in obsproject/obs-studio#10448 (with several sources selected, Show Transition / Hide Transition in the Sources context menu only changes one of them), so a heads-up: it's fixed here in obs-rust by #758, merged today with a regression test.
Cause: the menu applied the choice to the current scene item only, while Paste in the same submenu already acted on every selected item. Now the transition choice, None and the duration reach every selected item, including items inside groups, and one undo entry covers the whole change ("Show Transition on 3 sources"). Guffyf confirmed the bug upstream, and cg2121 had proposed a fix there (#6453) that was closed without merging.
Workaround on stock OBS: set the transition on each source one at a time.
It will be in the next obs-rust daily release after 0.1.0-beta.20261014: https://github.com/obs-rust/obs-studio/releases (Windows, macOS and Linux builds; on Arch it's
obs-studio-rust-gitin the AUR). obs-rust is an AI-assisted fork of OBS.If you get a chance to try it, a reply here on whether all the selected sources now get the transition would really help.
BakaKuma-uwu commentedon Oct 14, 2026
Stop pinging me, nobody cares about your AI slop
BakaKuma-uwu commentedon Oct 14, 2026
my issue was fixed years ago by actual humans
frontend: Apply Show/Hide Transition to every selected source (obs-ru…