obsproject / obsproject/obs-studio

`obs_frontend_set_tbar_position()` frontend API does not update the tbar slider in the UI

Open
#11,372 2 comments 0 reactions 1 assignee View on GitHub

@sebastian-s-beckmann is already working on this.

Since Oct 8, 2024.

Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

30.2.3

OBS Studio Version (Other)

29.1.0-beta1 to 30.2.3

OBS Studio Log URL

https://obsproject.com/logs/AmZiNginghHcbDmy

OBS Studio Crash Log URL

No response

Expected Behavior

Upon calling obs_frontend_set_tbar_position API function, I expect the transition bar in studio mode to move to the specified point, and the transition should also proceed to the specified point.

Calling obs_frontend_get_tbar_position() should return X after calling obs_frontend_set_tbar_position(X)

Current Behavior

Upon calling obs_frontend_set_tbar_position the transition bar did not move at all. The transition did proceed to the specified point as expected.

Calling obs_frontend_get_tbar_position() did not return X after calling obs_frontend_set_tbar_position(X) and instead returned the same value it had prior to the set_tbar call.

Steps to Reproduce
  1. Create a plugin
  2. Call obs_frontend_set_tbar_position(512)
Anything else we should know?

I haven't done a full commit by commit bisect, but this API works as expected in 29.0.2 but not in 29.1.0-beta1. The only obvious change I could find is https://github.com/obsproject/obs-studio/commit/8d4a0b36451218cd13af58828eb7788e1df12551

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.