The screen option: value and display do not match after using sleep mode.
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Important Information
mpv version: 0.35.0-407-g959ef843
Windows 10 Pro 22H2 19045.2965
Source of the mpv binary: https://sourceforge.net/projects/mpv-player-windows/?path=/64bit
Reproduction steps
Requires configuration with three monitors (maybe possible with two).
- Start or restart the PC.
- set "screen=2" in mpv.conf
- run mpv: the mpv window will be displayed on the first monitor
- close mpv
- enter sleep mode
- exit sleep mode
- run mpv: the mpv window will be displayed on the third monitor
Subsequent sleep modes do not change the monitor, it will always third monitor.
Expected behavior
The mpv window should be displayed on the same monitor with the same "screen" option before and after the sleep mode usage.
Actual behavior
The mpv window with the same "screen" option is displayed on one monitor after the PC start and on another monitor after sleep mode.
Log file
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on Windows 10 with three monitors, mpv.conf set to screen=2, and the supplied output.txt log. Trace the screen option's monitor selection before and after sleep mode; done means mpv opens on the same monitor before and after sleep while retaining the configured screen value.
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