Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834001 - sys-apps/flatpak: x11-themes/adwaita-icon-theme cursor theme not available inside flatpak sandbox
Summary: sys-apps/flatpak: x11-themes/adwaita-icon-theme cursor theme not available in...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL: https://github.com/flatpak/flatpak/is...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-24 19:17 UTC by Sorrow
Modified: 2022-05-27 21:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sorrow 2022-02-24 19:17:38 UTC
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.
Comment 1 Sorrow 2022-02-24 19:19:03 UTC
Obviously the problem is not only with Adwaita icon theme, but with any X11 cursor theme.
Comment 2 Jonas Stein gentoo-dev 2022-02-26 02:58:24 UTC
I assign it to flatpak, because this seems to be a design problem of flatpak.
Comment 3 Larry the Git Cow gentoo-dev 2022-05-27 21:20:13 UTC
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(+)