obsproject / obsproject/obs-studio

Inconsistent dock toolbar spacing before theme change

Open
#13,909 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Operating System Info

macOS 26

Other OS

No response

OBS Studio Version

32.2.2

OBS Studio Version (Other)

32.2.2

OBS Studio Log URL

https://obsproject.com/logs/ccG0x38vZKqk1bBv

OBS Studio Crash Log URL

No response

Expected Behavior

I'm expecting the visual height of the dock toolbars to be consistent for a given Appearance font size and density setting. Right now changing to a setting and then changing it back results in a different visual layout.

Current Behavior

Visual layout of the dock toolbars is different before and after making a change to the appearance settings.
Starting with font 10 and density Normal:

  • When OBS is started, the toolbar height is 32 pixels
  • After change either font size or density, and then changing back to 10 / Normal, the toolbar height is 30 pixels
  • After closing OBS and reopening, height is back to 32 pixels.
Steps to Reproduce
  1. Start OBS, Go to Settings->Appearance, Choose font 10, density normal
  2. Close OBS
  3. Start OBS and screenshot the docks
  4. Go to Settings->Appearance and choose any other font/density combination and save
  5. Go to Settings->Appearance again and go back to font 10, density normal
  6. Screenshot the docks again.
  7. Compare the two screenshots. They should be identical but they are not

I've reproduced this on MacOS and Windows

Before:
Image

After:
Image

...

Anything else we should know?

I discovered this issue when trying to make a plugin dock match the stock OBS docks exactly. I've not attempted to root cause this yet.

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.

Research direction

Reproduce the issue using the Appearance font and density settings on macOS or Windows, comparing dock toolbar screenshots before and after changing the settings. Trace the dock toolbar layout and Appearance-setting update paths, then verify that returning to font 10 and Normal density restores the original height without requiring a restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.