New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mpv 0.31 does not respect cursor theme on Gnome Wayland session #7307
Comments
This happens because X11 is the better platform. |
mpv is the only app with this bug on my system. |
Last time I checked, it's because GNOME wants everyone to use dbus (lol) to set cursor themes which obviously isn't going to happen here. Currently, mpv reads an environment variable which isn't ideal (why isn't this a protocol yet), but it's not nearly as dumb. |
Even if there was a wayland protocol for this, GNOME wouldn't implement this. But it's not a bad idea to make it a protocol. The problem with environment variables is that changes don't apply until an application is restarted. Can we get KDE and Sway on board to write us a non-dbus wayland protocol spec and implementations for requesting current cursor style and signalling changes in cursor style? I know we have @ddevault as an mpv user, surely someone involved with KDE uses mpv too. |
We've discussed writing a cursor theme protocol extension in the past. It's a bit of a complex issue. For one, Sway doesn't care what your cursor theme is, and it kind of lets you configure it, but not really. lxappearance et al will configure the GTK+ theme, but that's independent of Qt apps or anyone like mpv who rolls their own thing. In other words, even outside of Wayland there really isn't a consistent standard to begin with, so we'd be trodding on completely fresh ground and working uphill to adopt something across the ecosystem. I have been working on some stuff on the side which could potentially unify these things under one standard, alongside icon themes, font preferences, and so on, but it would live independently of Wayland, since your theme preferences have little to do with your display system. No timeframe on that, though. |
So using dbus? |
No, just config files on disk. |
A correction to what I said above. Cursor size is the environment variable that's read (different but related problem). The cursor theme comes from You need to make/edit a |
https://lists.freedesktop.org/archives/wayland-devel/2018-December/039752.html |
Tthis bug persists with mpv 0.32. |
Did you try setting a cursor theme in |
A D-Bus API... motherfucking idiots. Screw Wayland, which I will from now on call Shitland. |
mplayer sucks, therefore mpv sucks. more like shitpv amirite |
The real intentions of the Shitland devs surface. Enjoy your fucked up d-bus rube goldberg contraption where nothing works unless it's gnome, in which case it sort of works but not really. |
I used lxappearance to set cursor, now mpv shows the right cursor. |
No. Applications shouldn't have to poke at compositor-specific files/interfaces. |
No it shouldn't. Thank you emersion for writing the required protocol. |
mpv is the only app that requires additional step to use the cursor theme configured in Gnome settings. That's ridiculous, that's not correct. |
Gnome is the only desktop which demands special treatment. |
why do all other apps use the cursor theme configured in Gnome settings |
Because they capitulate to Gnome's unreasonable demands. |
define "Gnome's unreasonable demands". |
@glaubersm is of course correct, gnome being a major Linux desktop, I can only blame the unreasonable pile of shit of a standard behind it. |
mpv uses |
@glaubersm: imagine a world where each and every application needs to add explicit support to each and every compositor. That's what I'd call "unreasonable". |
is there any Wayland compositor supporting cursor protocol currently? |
@emersion please, the obvious solution is to make GNOME the only software on the planet, no need for standards then :^) |
Are we really going to have yet another argument about Wayland in which we repeat the same stupid bullshit we've said in every other argument about Wayland? Just give it up. Wayland users are perfectly satisfied with mpv's wayland support and Gnome users are idiots. We already agreed that you should just close gnome tickets and move on. |
No, I stopped working on it because I became tired of all of this situation.
Nope. Using it for cursors was just a GNOME idea, nothing standard yet. Today, that xdg-desktop-portal settings API is as much of a standard as my WIP cursor protocol is. |
wip? then no Wayland compositor supports cursor protocol because it is not ready. |
Stupid true bullshit. |
@glaubersm everything else correctly implements |
No, it's fucking not, and that's why it's fucking stupid that we keep arguing about it. Put a fucking lid on it, @wm4. |
As said above, no Wayland compositor supports the xdg-desktop-portal API neither. (Not even GNOME.) |
I will, once Wayland actually works. |
waves in Wayland |
Well, GNOME has sucked at least since I started using GNU/Linux, so surely no one expected it to get better just because we now have a superior replacement for X. |
Why not just exec |
Seems to work for me now using mpv from git and mutter 41.3. Didn't bother to look too deeply into it so I'll just assume this is fixed. |
Hi |
I'm using breeze (the kde theme) and it works for me at least. |
On my system mpv does not respect Breeze cursor theme too. |
If Google brought you here too, you can use it
You can insert it into |
Posting also my solution for gnome that simply takes the cursors folder, finds its location on system and creates a link to it in defaults of (XDG) icons folder.
|
#11701 would fix this too if you still have this somehow. mutter always has the correct cursor theme for me when I try it nowadays so dunno. I remember it used to always pick adwaita. |
mpv version and platform
mpv 0.31, linux
Reproduction steps
open mpv on a linux distribution running Gnome Wayland session.
The bug does not occur on X11 session.
Expected behavior
mpv respects the cursor theme when we hover over it.
Actual behavior
cursor theme changes from Adwaita to Breeze when I hover over mpv on my system.
Log file
output.txt
The text was updated successfully, but these errors were encountered: