mpv-player / mpv-player/mpv

Window doesn't close

Open
#18,261 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

mpv Information

Other Information
- Windows version: 11 (26200.8737)
Reproduction Steps

After updating to 0.41.0-724-g71ebd0840, when a video ends, the window doesn't close automatically.

Expected Behavior

When the play is finished, the window should close.

Actual Behavior

The window remains open.

Image
Log File

these commands don't do anything on windows

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.

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

Reproduce the behavior on Windows 11 with mpv 0.41.0-724-g71ebd0840, using a video that reaches the end, and determine whether the close-on-finish setting is being honored. Start by tracing the playback-finished path and window-close handling, then verify the fix with a Windows-compatible log and a repeat of the reported reproduction steps.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.