Gentoo installs X cursor themes into /usr/share/cursors/xorg-x11/ directory, whereas flatpak expexts that cursors are in /usr/share/icons directory. Flapak passes through into the sandbox the /usr/share/icons directory (it is available as /run/host/share/icons/), but does not pass through the /usr/share/cursors/xorg-x11/ directory. For that reason in Gentoo flatpak apps do not have a proper cursor theme.
Steps to Reproduce:
1. Install flatpak.
2. Install any GTK or Qt flatpak app.
3. Start this app
The app uses some generic X11 cursor.
The same cursor as i non-flatpak apps.
Obviously the problem is not only with Adwaita icon theme, but with any X11 cursor theme.
I assign it to flatpak, because this seems to be a design problem of flatpak.
The bug has been referenced in the following commit(s):
Author: Pacho Ramos <email@example.com>
AuthorDate: 2022-05-27 21:12:21 +0000
Commit: Pacho Ramos <firstname.lastname@example.org>
CommitDate: 2022-05-27 21:20:04 +0000
x11-themes/adwaita-icon-theme: Package legacy icons and fix cursors path
adwaita-icon-them dropped many legacy icons breaking many different
applications. We were waiting for pieces to get fixed but, for now, it has
turned into never ending disputed among different upstreams and breakage
being kept for Gnome 42 cycle affecting many different apps.
We follow Debian for now until this is better solved in the future in one
way on another.
Also keep upstream default location for cursor themes. Gentoo location is
kept for backwards compatibility but that location is highly Gentoo
specific. As a consequence, upstreams keep breaking in several ways and not
fixing their apps to honour our PATH.
Signed-off-by: Pacho Ramos <email@example.com>
x11-themes/adwaita-icon-theme/Manifest | 2 +
.../adwaita-icon-theme-42.0_p2.ebuild | 97 ++++++++++++++++++++++
2 files changed, 99 insertions(+)