Skip to content

Inconsistent touch and pen input reactions #17068

@diaphragm-workplace

Description

@diaphragm-workplace

mpv Information

mpv v0.40.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.351.0
FFmpeg version: 8.0
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

- Linux version: postmarketOS (edge)
- Kernel Version: Linux google-gru 6.12.57 #3-postmarketos-rockchip SMP PREEMPT Sat Nov 15 00:42:55 UTC 202 aarch64 GNU/Linux
- GPU Model: Mali T860MP4
- Mesa/GPU Driver Version: 3.1 Mesa 25.2.7
- Window Manager and Version: sway 1.11 (sxmo autogenerated configuration)
- Source of mpv: Alpine repository
- Latest known working version: ?? (in september this year)
- Issue started after the following happened: routine update

Reproduction Steps

Tap the OSD buttons with a touchscreen, or the menu with a stylus. As the only app in the workspace or in fullscreen (see actual behavior notes).

This is the same without configs, but just for the sake of disclosure, my config is:
profile=fast
hwdec=rkmpp # <-- doesn't actually do anything yet because not enabled in alpine
framedrop=decoder+vo

Expected Behavior

Inputs are equivalent to mouse, or otherwise work reasonably.

Actual Behavior

For touch, it's similar to what is described in #9771: some buttons react visually but never do anything. In the menu (if opened via other means), touching entries moves the selection and touching something else closes the menu, without ever selecting the entry. For pen/stylus controls, the OSD works properly but the menu does not: same as touch except hovering over stuff also changes the visual selection.

What's even more strange is that it seems to sometimes work reliably and as intended when in a layout with another app, although the buttons are too small to be useful in this case. Sometimes because it happened only 3 times and I couldn't reproduce it.

Yes, it works fine with an external mouse.

Log File

gpu-debug.log
input-test.log

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • 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