GNOME Bugzilla – Bug 766543
Missing cursors under Wayland
Last modified: 2016-05-17 15:01:30 UTC
The Wayland backend seems to be missing a bunch of cursors, including important ones like hand2. Reproducer is to hover over any link in Epiphany. I guess Wayland might not provide all the same cursors as X11 for whatever reason, but if so there really ought to be some way to query this and find out if a cursor will be supported, or if it will just fail. Ideally there would also be a graceful fallback to the normal cursor, rather than a disappearing cursor.
Note the problematic code in WebKit is in Source/WebCore/platform/gtk/CursorGtk.cpp.
The cursor names that we strive to support are the same that are specified by css. They are documented here: https://developer.gnome.org/gdk3/stable/gdk3-Cursors.html#gdk-cursor-new-from-name If any of those names does not give you a suitable cursor, please file a bug. For any others, its the luck of the draw, and not a bug.
and of course, the cursor theme also figures into this. I should have said: "If any of those names does not give you a suitable cursor _with the Adwaita cursor theme_..."
OK then... I suppose I don't expect GDK_GUMBY to work in Wayland, but it would have been nice to have more compatibility mappings. E.g. map GDK_CROSS to "crosshair", GDK_HAND[2] to "pointer", etc.
talk to your cursor theme dealer about compat symlinks
(In reply to Matthias Clasen from comment #5) > talk to your cursor theme dealer about compat symlinks I'm using Adwaita. Somehow these cursors that I complained about missing yesterday are working fine today. I don't think I've changed anything on my system (vanilla F24), so something wonky must be going on.