Skip to content

libobs: extract obs_sceneitem_set_visible verbatim (Refs #5733) - #5736

Draft
zackees wants to merge 1 commit into
masterfrom
port/5733-sceneitem-set-visible-extract
Draft

zackees wants to merge 1 commit into
masterfrom
port/5733-sceneitem-set-visible-extract

Conversation

@zackees

@zackees zackees commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Behaviour-neutral prerequisite for #5733 (Refs #5733): moves obs_sceneitem_set_visible and its static helper group_item_transition verbatim from libobs/obs-scene.c.h into libobs/obs-scene-item-set-visible.c.h (core-source unity group, alphabetical). No Rust, no signature/header/behaviour change; forward declarations name the same-TU statics.

Evidence: verbatim diff check of the removed vs added body; ci/test_build_groups.py OK; ./lint ok; local Tier 2 Linux 1112/1113 pass, the one failure test_pulse_stream_restart is the known #4064 image failure. Existing C coverage: test_group_active_refs, test_scene_item_set_visibility, test_group_hide_transition_audio, test_preview_only_hide, test_item_transition_empty_source, test_scene_audio_actions.

merge-tree clean against #5630, #5701, #5727, #5728. Rust swap follows under #5733.

🤖 Generated with Claude Code

@obs-rust-project-manager obs-rust-project-manager Bot moved this to In progress in obs-rust Multiview Nov 26, 2026
@zackees
zackees force-pushed the port/5733-sceneitem-set-visible-extract branch from 625a595 to 5fecfdc Compare November 26, 2026 11:43
@obs-rust-project-manager obs-rust-project-manager Bot moved this from In progress to Stalled in obs-rust Multiview Nov 29, 2026
@obs-rust-project-manager obs-rust-project-manager Bot moved this from Stalled to Needs fix in obs-rust Multiview Dec 1, 2026
Move obs_sceneitem_set_visible and its static helper group_item_transition
out of obs-scene.c.h into obs-scene-item-set-visible.c.h, unchanged, in the
core-source unity group. Behaviour-neutral prerequisite for the Rust swap;
existing C tests (test_group_active_refs, test_scene_item_set_visibility,
test_group_hide_transition_audio, ...) cover it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Client-Checks: {"checks":{"base":"e8cbea4dd0142b45229389ff871e402fda40050a","coverage":"all-tracked-applicable-files","diff":["libobs/build/libobs.core-source+.h.c","libobs/obs-scene-item-set-visible.c.h","libobs/obs-scene.c.h"],"head":"2cab326ccf085660d6a9a31cf1f72bca7ed3838d","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21503\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"f62586226c331293213b406b62512f2f6ad55ea31d9468c4abfcde0d3cd20343","tree":"6b22e1deed902c4f8ebce394295cf400d5b1eb98"}}
Ci-Attestation: {"at":1795692967,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e8cbea4dd0142b45229389ff871e402fda40050a"],"secs":90,"stamp":"1c93a448262368d017ac2e132845ae1f","tree":"6b22e1deed902c4f8ebce394295cf400d5b1eb98","v":1,"via":"run"}
Ci-Attestation: {"at":1795692967,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e8cbea4dd0142b45229389ff871e402fda40050a"],"secs":90,"stamp":"393c348c19ba928b57e3b8ec134e0cc1","tree":"6b22e1deed902c4f8ebce394295cf400d5b1eb98","v":1,"via":"run"}
Ci-Attestation: {"at":1795692967,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e8cbea4dd0142b45229389ff871e402fda40050a"],"secs":90,"stamp":"4fc3aa9bebe30c233a04b67ec98a2e42","tree":"6b22e1deed902c4f8ebce394295cf400d5b1eb98","v":1,"via":"run"}
Ci-Attestation: {"at":1795692967,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e8cbea4dd0142b45229389ff871e402fda40050a"],"secs":90,"stamp":"e393d900b93ab4a4a5fde5df2b46c8d9","tree":"6b22e1deed902c4f8ebce394295cf400d5b1eb98","v":1,"via":"run"}
Ci-Attestation: {"at":1796410349,"gate":"general/all/client-lint","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"6db219a4632b53850b54fa258676a218","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795692967,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e8cbea4dd0142b45229389ff871e402fda40050a"],"secs":90,"stamp":"2f11dcb091bff7e214bbade12de43a3b","tree":"6b22e1deed902c4f8ebce394295cf400d5b1eb98","v":1,"via":"run"}
Ci-Attestation: {"at":1796410351,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"36a34a475b84bc70807a39e57c7974f0","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1796410351,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"fef26221aec0bbe023ba215d1390ca2a","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1796410350,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"e8f32a80547db231ccec9790a4d2f633","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1796410350,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"d964cad667d7525c32d2f1022991ebd0","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1796410349,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"acee252909571954b4d7618d626a270e","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1796410350,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"a618e22ba961bb174bfba0cd98a81cc8","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1796410350,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"cac2f56db81e84d1eb584cd3441a12e6","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1796410351,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"3e9f320f17e2612a7f9dfd48b64d2bf7","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1796410350,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"94271e59b3623014c614a15fb333500b","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1796410350,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"f8eda9d68acec2ec651d4eeb67ce8387","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1796410349,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"2f96133fd89af42ef23c72c8d3cdbf86","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1796410349,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"9a14ef5d169c802faeee437c84cb89d923a3da222a8ae10890865299b5d281c0","lane":"client-lint","parents":["f4b266b71bab7a58eac7e2cad3f1c1a6e4e0231b"],"secs":46,"stamp":"9db2ecd050adaa2359cd29505ed84fa7","tree":"b097c59e675f3a153e0f063ee1718958ed43e9c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795693401,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"3e280f0d9c3971093a6c045b3cdf172e88e0abafca0c5da08d9b46e1767e7221","lane":"client-test-x86_64-unknown-linux-gnu","parents":["e8cbea4dd0142b45229389ff871e402fda40050a"],"secs":433,"stamp":"51d7880cf4c1e7270c891527a5433dc2","tree":"6b22e1deed902c4f8ebce394295cf400d5b1eb98","v":1,"via":"run"}
@zackees
zackees force-pushed the port/5733-sceneitem-set-visible-extract branch from 5fecfdc to 9d7b87f Compare December 4, 2026 18:52

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs fix

Development

Successfully merging this pull request may close these issues.

1 participant