mpv-player / mpv-player/mpv

Please add Windows Transparency and click through

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

Nobody has claimed this yet.

core:video meta:feature-request os:win
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Expected behavior of the wanted feature

Would allow setting transparency leve and clickthrough for MPV. Via Config File.

Alternative behavior of the wanted feature

setting a hotkey to change transparency value of window, or a hotkey to enable disable click through.

I believe this would be possible to implement using SetLayeredWindowAttributes for transparency, and SetWindowLongA / GWL_EXSTYLE / WS_EX_TRANSPARENT. from WinUser.h

I apologize for not being able to try to implement and test myself.

I am not able to get a log file at the moment and will do so at my nearest convenience.

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 clarifying the requested configuration and hotkey behavior for Windows transparency and click-through. Review the proposed SetLayeredWindowAttributes and SetWindowLongA/GWL_EXSTYLE/WS_EX_TRANSPARENT APIs, then determine the relevant window entry points and a Windows test approach. Done means both behaviors have an agreed interface and work reliably through the selected configuration or hotkey path.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.