When PAUSE is binded to LEFT CLICK, fullscreening (double click) stutters

Open
#18,827 9 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

The report is a input.conf setup where MBTN_LEFT is bound to cycle pause and MBTN_LEFT_DBL to cycle fullscreen, so start by reproducing that exact config and confirming the delayed pause on double-click. The seven comments should be read first, since the expected fix (a delay or exception for fullscreen) is only sketched and may already be contested. Done would mean a reviewed proposal on how double-click and single-click bindings interact, with a test or a clear maintainer decision.

Written by the indexing model from the issue text.

Description

os:linux
mpv Information
$ mpv --version
mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.360.1
FFmpeg version: 8.0.1 (runtime 8.1.3)
FFmpeg library versions:
   libavcodec      62.11.100 (runtime 62.28.103)
   libavdevice     62.1.100 (runtime 62.3.103)
   libavfilter     11.4.100 (runtime 11.14.103)
   libavformat     62.3.100 (runtime 62.12.103)
   libavutil       60.8.100 (runtime 60.26.103)
   libswresample   6.1.100 (runtime 6.3.103)
   libswscale      9.1.100 (runtime 9.5.103)
Other Information
- Linux version: Fedora 44
- Kernel Version:
- GPU Model:
- Mesa/GPU Driver Version:
- Window Manager and Version:
- Source of mpv: RPM System Package
- Latest known working version:
- Issue started after the following happened:
Reproduction Steps
  1. Define Left Click in input: conf
    # Pause on Left Click MBTN_LEFT cycle pause MBTN_LEFT_DBL cycle fullscreen

  2. Pause correctly works, as intended. But now, when trying to fullscreen - by double clicking - it stutters.

Expected Behavior

Don't make this tiny "stutter".
Define some sort of exception that fullscreening doesn't trigger the pause functionality instantly, hence having a smoother experience.

Reference:
On YouTube, you can Pause on left click, but when fullscreening, it doesn't stutter.

Actual Behavior

Small stutter. In my opinion, this is a bug and there should be some exception for fullscreening (small delay to not trigger Pause instantly).

Log File

I use the latest Linux Version. I know that there are newer releases, but no one ever built for Flatpak or my System Packages, hence I am using the latest version available.

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.
Dominant language
C
Stars
38.2k
Forks
3.7k
Avg merge
1d 13h
Merged PRs (30d)
76

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

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.

More from mpv-player/mpv

All issues in mpv-player/mpv

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.