@dotstdy With Wayland, you are held hostage by these bad actors. You can easily do something better, but how do you convince everyone to support yet another solution?
Even if you wanted to play nice and just extend the protocol to do the most basic things, like setting the application icon, how would you do that? Transferring a bitmap is embarrassingly trivial. But how do you make it work everywhere?
@dotstdy The protocol specification alone will subject you to endless bikeshedding. Just look at the PRs in the Wayland repository. Simple things languish for years, held up by discussions about the most irrelevant issues and use cases.
But hey, you smart ass, if everything could go in, the protocol would soon be bad, with lots of unused, ill-conceived things! We don't want that!
Well, Diddley-Doo, Wayland is already bad! I wonder how that happened!
@dotstdy And even if you get past that, either by getting the extension accepted or just not caring, what then? Now you either have to wait for the maintainers to pick things up, or implement support yourself.
And I already know that Gnome will reject these changes because "I don't think this is a good idea", or "Copying good solutions is not how we do things", or "You can already set the icon by providing a .desktop file, why do you need another way to do it?", or whatever.
@dotstdy The mouse cursor setting in Wayland is the stupidest thing you can imagine. Each application has to tell the server which bitmap to use for the cursor. This may be good, as an option, for instance games may want to use their own set of custom cursors.
But there is no alternative! There is no way to just use the "default" set of mouse cursors! You will still have to take care of this on your own! In every single application, in a consistent way!
@dotstdy And there is no protocol for the server to tell the application which cursor theme is the default. This is communicated by the XCURSOR_THEME environment variable. Or maybe SWAY_CURSOR_THEME? Or ~/.icons/default/index.theme? Or ~/.config/gtk-3.0/settings.ini? Or some Gnome gsettings thing that nobody else uses?
@dotstdy There is something "in the works" to have cursor themes be managed server-side, with the application just telling the server to show a "pointing arrow" or "pointing finger hand" via an enum. Progress is nowhere to be seen.
@dotstdy The thing is, a solution that covers 99% of use cases can be hacked away right now. You need to provide a cursor theme with a set of binary patterns. You need to tell applications to use that theme. You need to detect these patterns on the server and display the desired cursor instead.
It's as simple as that. All problems with cursors disappear. Changing the scale is no longer an issue. You can switch the cursor theme at will. It will be displayed correctly in all applications.
Sigh.