hiding top bar OSC title removes taskbar thumbnail preview title

Open
#18,597 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Start by tracing how script-opt='osc-title= ' and --title=' ' set the OSC and window titles on Windows, then inspect the taskbar thumbnail title handling. The report gives no source files or test names, so locate the relevant Windows window and OSC code first. Done means hiding both OSC titles leaves the taskbar or minimized preview title visible, as it did in mpv v0.38.

Written by the indexing model from the issue text.

Description

os:win
mpv Information
mpv v0.41.0-1122-gaccb7b282 Copyright © 2000-2026 mpv/MPlayer/mplayer2 projects
 built on Oct 11 2026 00:13:51
libplacebo version: v7.375.0 (v7.360.0-153-g1dd0226-dirty)
FFmpeg version: N-127313-g8d8c75f2b
FFmpeg library versions:
   libavcodec      63.18.101
   libavdevice     63.2.100
   libavfilter     12.5.100
   libavformat     63.8.100
   libavutil       61.13.100
   libswresample   7.3.101
   libswscale      10.2.100
Other Information
Windows version: Windows 10 22H2 Build 19045.4170)
GPU model, driver and version: intel HD Graphics 4600, driver: 20.19.15.5171
Source of mpv: shinchiro github
Latest known working version: v38.0
Issue started after the following happened: using latest mpv version
Reproduction Steps

try to remove all titles from the OSC top bar and bottom bar with script-opt='osc-title= '
--title=' '
then play a video and check the taskbar thumbnail preview title

Expected Behavior

The ability to remove top and bottom bar OSC titles without affecting the taskbar thumbnail preview title.
In mpv v.38 you could remove the top and bottom bar OSC titles and keep the taskbar/minimized preview title with

title= 
windowcontrols_title= 

now on the latest mpv build I can use script-opt='osc-title= ' --title=' ' but this removes the title also from the taskbar preview

the taskbar preview title stays visible like (on the left side) in the previous mpv version like v.38
I want to remove all OSC titles top and bottom but keep the taskbar/minimized preview title like on the left side

Image

these OSC top and bottom titles are removed
Image

Actual Behavior

the taskbar/minimized preview title is no longer visible like marked in red on the right side
--title=' '
Image

Log File

output.txt

Sample Files

No response

I carefully read all instruction and confirm that I did the following:
  • I tested and confirmed that the issue exists with the latest release version or newer.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.
Dominant language
C
Stars
38.2k
Forks
3.7k
Avg merge
1d 13h
Merged PRs (30d)
76

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No 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.

More from mpv-player/mpv

All issues in mpv-player/mpv

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.