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. Reproducible: Always Steps to Reproduce: 1. Install flatpak. 2. Install any GTK or Qt flatpak app. 3. Start this app Actual Results: The app uses some generic X11 cursor. Expected Results: 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): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a95901e1a1b5dfe049b65b24933bcbefb65acc9 commit 3a95901e1a1b5dfe049b65b24933bcbefb65acc9 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2022-05-27 21:12:21 +0000 Commit: Pacho Ramos <pacho@gentoo.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. Bug: https://bugs.gentoo.org/834277 Bug: https://bugs.gentoo.org/834001 Bug: https://bugs.gentoo.org/838451 Bug: https://bugs.gentoo.org/844910 Signed-off-by: Pacho Ramos <pacho@gentoo.org> x11-themes/adwaita-icon-theme/Manifest | 2 + .../adwaita-icon-theme-42.0_p2.ebuild | 97 ++++++++++++++++++++++ 2 files changed, 99 insertions(+)