mpv-player / mpv-player/mpv

Can't Alt-Tab when video is paused in fullscreen

Open
#8,192 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Important Information

Provide following Information:

Reproduction steps

Upon further testing it seems to only happen when:

  1. Have gpu-api to either vulkan or opengl
  2. You enter fullscreen and play the video a bit
  3. Pause
  4. Try to Alt-Tab
Expected behavior

When Alt-Tabbing a paused fullscreen video, the usual behavior of Alt-Tab should happen.

Actual behavior

Upon Pause, MPV freezes the paused frame. The frozen frame stays in fullscreen and you can't see the window you Alt-Tabbed to, since the frozen frame stays there no matter what.
Alt-tabbing will work again once you Alt-Tabbed back to MPV and play the video again, though it is a guesswork whether you are in MPV or not, since you only see the frozen frame in fullscreen. (Also the windows OSC like volume/brightness up/down won't show up regardless whether the video is paused or not.)
TL;DR: When you are in fullscreen and pause the video, MPV basically dies and stays on-top of all other windows so your PC can't be used anymore unless you close MPV.

Log file

output.txt

Sample files

Happened with every file I tried so far.

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

Start by reproducing the issue on Windows 10 with mpv 0.32.0, using Vulkan or OpenGL, fullscreen playback, and a paused video; review the attached output.txt log. Trace the fullscreen window behavior during pause and Alt-Tab. Done means Alt-Tab switches to the selected window normally while the video remains paused and fullscreen.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.