After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 766543 - Missing cursors under Wayland
Missing cursors under Wayland
Status: RESOLVED NOTABUG
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-05-17 03:22 UTC by Michael Catanzaro
Modified: 2016-05-17 15:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Catanzaro 2016-05-17 03:22:15 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.
Comment 1 Michael Catanzaro 2016-05-17 03:38:59 UTC
Note the problematic code in WebKit is in Source/WebCore/platform/gtk/CursorGtk.cpp.
Comment 2 Matthias Clasen 2016-05-17 12:01:44 UTC
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.
Comment 3 Matthias Clasen 2016-05-17 12:17:48 UTC
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_..."
Comment 4 Michael Catanzaro 2016-05-17 14:40:26 UTC
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.
Comment 5 Matthias Clasen 2016-05-17 14:42:25 UTC
talk to your cursor theme dealer about compat symlinks
Comment 6 Michael Catanzaro 2016-05-17 15:01:30 UTC
(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.