obsproject / obsproject/obs-studio
Inconsistent dock toolbar spacing before theme change
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
- Start OBS, Go to Settings->Appearance, Choose font 10, density normal
- Close OBS
- Start OBS and screenshot the docks
- Go to Settings->Appearance and choose any other font/density combination and save
- Go to Settings->Appearance again and go back to font 10, density normal
- Screenshot the docks again.
- Compare the two screenshots. They should be identical but they are not
I've reproduced this on MacOS and Windows
Before:
After:
...
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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