mpv-player / mpv-player/mpv

[NeedWorkaround] How to prevent scaling of titlebar? Titlebar scales with width of player so VERTICAL video has tiny _[]X buttons. os:win

Open
#8,294 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

scripting:osc
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

So... how to set stable size of a titlebar with Minimize/Close buttons so it would stop changing size with window of mpv in Windows?
Lets say: Height 20 pixels no matter what?

Issue are:

  • vertical video might take a lot of space but still has tiny titlebar.
  • decreasing size of player for simultanious multitask work provides tiny titlebar.

I already tried:
script-opts=osc-vidscale=no
script-opts=osc-deadzonesize=0
script-opts=osc-minmousemove=1
script-opts=osc-seekbarstyle=slider
script-opts=osc-osd-scale-by-window=no

P.S. On additional note, i figure minimum titlebar height would be the best option., You set minimum size and it may enlarge/shrink with window but never decrease size below X pixels.

Contributor guide

No contributing guide indexed for this repository

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

No source file, test, or entry point is named; start by locating mpv's Windows titlebar and window-sizing handling. Clarify whether the desired behavior is a fixed titlebar height or a minimum height, then verify that vertical and narrow player windows retain the requested minimum button size.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.