Bug 2172274 - Apps does not load theme icons with Fedora flatpak runtime
Summary: Apps does not load theme icons with Fedora flatpak runtime
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: flatpak-runtime-config
Version: 37
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-21 19:47 UTC by Arnis K
Modified: 2023-02-28 02:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-28 02:57:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
After change (4.00 KB, image/png)
2023-02-21 19:47 UTC, Arnis K
no flags Details
Before change (3.83 KB, image/png)
2023-02-21 19:48 UTC, Arnis K
no flags Details

Description Arnis K 2023-02-21 19:47:14 UTC
Created attachment 1945588 [details]
After change

Created attachment 1945588 [details]
After change

Fedora flatpak runtime does not provide access to theme icons and loads default icons. This can be fixed by updating `metadata` file `/var/lib/flatpak/runtime/org.fedoraproject.Platform/x86_64/f37/active/metadata` and adding `:/run/host/user-share` to `XDG_DATA_DIRS`, for example:

```bash
XDG_DATA_DIRS = /app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share
```

------------------ PACKAGE  -------------------

flatpak info org.fedoraproject.Platform

Fedora Platform - Shared libraries

          ID: org.fedoraproject.Platform
         Ref: runtime/org.fedoraproject.Platform/x86_64/f37
        Arch: x86_64
      Branch: f37
     Version: 37
     License: GPL-2.0+
      Origin: fedora
Installation: system
   Installed: 2,3 GB

      Commit: f1fa59934346c88f1deaac10d2078224f85cb9d39b06bcfaa3f72e45d4114d89
     Subject: build of runtime/org.fedoraproject.Platform/x86_64/f37
        Date: 2023-02-15 14:03:56 +0000
      Alt-id: 6b5fa079c76c62ff9eaccc6bbb0a038ce564f56ce08f7c839a3c62edf13be40a

--------------------- SYSTEM  -----------------

Operating System: Fedora Linux 37 (Kinoite)
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.11-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland

Comment 1 Arnis K 2023-02-21 19:48:39 UTC
Created attachment 1945589 [details]
Before change

Comment 3 Fedora Update System 2023-02-24 18:55:42 UTC
FEDORA-FLATPAK-2023-bf9f8a0868 has been submitted as an update to Fedora 37 Flatpaks. https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2023-bf9f8a0868

Comment 4 Fedora Update System 2023-02-25 05:11:59 UTC
FEDORA-FLATPAK-2023-bf9f8a0868 has been pushed to the Fedora 37 Flatpaks testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2023-bf9f8a0868

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-02-28 02:57:14 UTC
FEDORA-FLATPAK-2023-bf9f8a0868 has been pushed to the Fedora 37 Flatpaks stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.