Dragging and dropping files into MPV doesn't work in Wayland sessions

Bug #1730625 reported by Daniel van Vugt on 2017-11-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
mpv (Ubuntu)
Nominated for Bionic by Daniel van Vugt

Bug Description

Dragging and dropping files into MPV doesn't work in Wayland sessions. Only Xorg sessions.

I have no idea right now if this is an MPV, Wayland protocol or Gnome Shell issue.

Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

tags: added: wayland
tags: added: wayland-session
tags: added: dnd
Daniel van Vugt (vanvugt) wrote :

That's odd. Even using the proposed fix for bug 1739625, this still doesn't work.

no longer affects: gnome-shell (Ubuntu)
no longer affects: wayland (Ubuntu)
Changed in mpv (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Daniel van Vugt (vanvugt) wrote :

Triaged, I think. Upstream bug link added. A fix is in mpv 0.28.0 in theory:

affects: mpview → mpv
Doug McMahon (mc3man) wrote :

It would be fixed in 0.28+ but only if mpv is started with --gpu-context=wayland
Obviously that can't be a default parameter & to duly note there would be no window deco either.
Could be demonstrated by
 mpv --player-operation-mode=pseudo-gui --gpu-context=wayland --idle=yes

Or a wayland only user probably could put in ~/config/mpv.conf a section

Daniel van Vugt (vanvugt) wrote :

mpv (0.29.0-1ubuntu1) cosmic; urgency=medium

  * Rewrote 08_fix-lp1698287.patch to work with the latest mpv source code,
    allowing VAAPI to work in Wayland sessions out-of-the-box. (LP: #1698287)
  * Reintroduce mpv.conf.ubuntu to enable VAAPI acceleration by default.
    (LP: #1708102)
  * Rebased on latest Debian version 0.29.0-1.

 -- Daniel van Vugt <email address hidden> Thu, 09 Aug 2018 18:04:13 +0800

Changed in mpv (Ubuntu):
status: Triaged → Fix Released
Changed in mpv:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.