obsproject / obsproject/obs-studio

Dock title buttons are truncated

Open
#12,470 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

Ubuntu 24.04

Other OS

Ubuntu MATE 24.04

OBS Studio Version

Git

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/6DJBmiUBxmvfC8hI

OBS Studio Crash Log URL

No response

Expected Behavior

Dock title bar icons fit within boundary of dock title bar.

Current Behavior

Dock title bar icons are truncated or in wrong position within title bar.

Image
Steps to Reproduce

Build OBS from master (or from 31.1.0 onwards). Open OBS.

Anything else we should know?

I'm unsure if this is a Ubuntu MATE-specific issue (which I run), or if other desktops are having this issue, too.

Result of git bisect shows that the bug was introduced here:

46e5bb1c08fb385d19f024199557c792a4e6126 is the first bad commit
commit b46e5bb1c08fb385d19f024199557c792a4e6126
Author: Warchamp7 <warchamp2003@hotmail.com>
Date:   Fri May 16 23:28:44 2025 -0400

    frontend: Fix dock title button sizes

 frontend/data/themes/Dark/close.svg  | 5 +----
 frontend/data/themes/Light/close.svg | 5 +----
 frontend/data/themes/Yami.obt        | 5 +++++
 frontend/forms/images/close.svg      | 5 +----
 4 files changed, 8 insertions(+), 12 deletions(-)

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

Start by comparing the dock-title assets changed in frontend/data/themes/Dark/close.svg, frontend/data/themes/Light/close.svg, frontend/data/themes/Yami.obt, and frontend/forms/images/close.svg in commit b46e5bb1c08fb385d19f024199557c792a4e6126. Reproduce the issue on Ubuntu MATE with a build from master and verify that the dock title buttons fit within the title bar and remain correctly positioned.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, ubuntu
Domain
design, desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.