Skip to content

Window appears tiny if changing maximized state after idle #17527

@Keith94

Description

@Keith94

mpv Information

mpv v0.41.0-dev-g35443a74c Copyright © 2000-2026 mpv/MPlayer/mplayer2 projects
 built on Mar  3 2026 02:19:01
libplacebo version: v7.361.0
FFmpeg version: 1834eb4
FFmpeg library versions:
   libavcodec      62.11.100
   libavdevice     62.1.100
   libavfilter     11.4.100
   libavformat     62.3.100
   libavutil       60.8.100
   libswresample   6.1.100
   libswscale      9.1.100

Other Information

- Windows version: 11 25H2
- GPU model, driver and version: 3070 ti mobile. driver 591.86
- Source of mpv: nightly.link master builds
- Latest known working version:
- Issue started after the following happened:

Reproduction Steps

  1. Add this to mpv.conf
window-maximized

[idle-non-maximimzed]
profile-cond=idle and not p["current-tracks/video"]
profile-restore=copy-equal
window-maximized=no
  1. Double-click on a file from file explorer to launch it in mpv.
    Note: The issue is not reproduced if launching from terminal, only file explorer.
  2. Click on the restore button on title bar

Expected Behavior

Window size follows default behavior

Actual Behavior

Window is a very small 122x93 pixels

explorer_SmcQYeLdDS.mp4

Log File

output.txt. Note: The issue is not reproduced if launching from terminal, only file explorer.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions