[snap] Fallback cursor theme is ugly on Wayland
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: olivier, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Steps to reproduce:
I'm using the firefox snap on Ubuntu 21.04 in a Wayland session, and my desktop is configured to use a custom cursor theme (Oxy-blue) which isn't available in the gtk-common-themes provider snap.
Actual results:
The mouse cursor theme in use is a very ugly one, where hovering over a hyperlink doesn't even display a hand with a raised index finger.
Expected results:
As my custom cursor theme isn't present in gtk-common-theme, firefox should fall back to using the default DMZ-White theme (per https://gitlab.gnome.org/Community/Ubuntu/gtk-common-themes/-/merge_requests/26).
| Reporter | ||
Updated•4 years ago
|
| Reporter | ||
Comment 1•4 years ago
|
||
It turns out it's not a firefox-specific problem. I can observe the same issue with the gedit and inkscape snaps on Wayland.
Comment 2•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
| Reporter | ||
Comment 3•4 years ago
|
||
I can confirm the problem isn't in firefox itself. In libwayland-cursor, wl_cursor_theme_load() calls xcursor_load_theme() with the current theme name (in my case "oxy-blue"), and if the resulting theme is empty, it calls load_default_theme(), which doesn't try to load the xcursor theme called "default", instead it loads a default hardcoded cursor theme (that ugly theme I'm seeing).
| Reporter | ||
Comment 4•4 years ago
|
||
Reported as https://gitlab.gnome.org/Community/Ubuntu/gnome-sdk/-/issues/6, let's close this bug.
| Reporter | ||
Updated•4 years ago
|
Description
•