frontend: Fix TBar slider doesn't change when set via api.#13116
Open
psyirius wants to merge 1 commit intoobsproject:masterfrom
Open
frontend: Fix TBar slider doesn't change when set via api.#13116psyirius wants to merge 1 commit intoobsproject:masterfrom
psyirius wants to merge 1 commit intoobsproject:masterfrom
Conversation
psyirius
added a commit
to obzessed/obs-super-suite
that referenced
this pull request
Feb 12, 2026
TBar works properly when this lands on upstream. obsproject/obs-studio#13116
psyirius
added a commit
to obzessed/obs-super-suite
that referenced
this pull request
Feb 13, 2026
9557369 to
746b36a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Set the TBar value when it's not received from itself.
i.e:when TBar position is set via api:obs_frontend_set_tbar_position.Motivation and Context
when TBar position is set via
obs_frontend_set_tbar_positionit callsOBSBasic::TBarChangedwhich is also thevalueChangedsignal handler of TBar.Which in context of the signal handler shouln't set the value back.
but in context of calling externally (via api) we should set it.
so that the getter api
obs_frontend_get_tbar_positionwhich returns the value oftBar->value()will return a valid value.Fixes: #11372
How Has This Been Tested?
set
obs_frontend_set_tbar_positionvia plugin.visually noticed the tbar moving.
return value verified using
obs_frontend_get_tbar_position.Types of changes
Checklist: