Details page of rpm-ostree version is displayed for Fedora Flatpak repo apps opened from Shell Activites Overview on Silverblue
Description of problem:
When searching for an app that is currently not installed using GNOME Shell Activites Overview on Fedora Silverblue, details page for a rpm-ostree version (that should not be normally visible in GNOME Software) is displayed instead of the correct Flatpak one. This seems to happen only for apps that are available in the Fedora Flatpak repository.
The same issue happens on both latest stable GNOME Software 3.32.4 and GNOME Software from Git master.
Version-Release number of selected component (if applicable):
gnome-software-3.32.4-2.fc31.x86_64 (and latest gnome-software from Git master)
gnome-shell-3.33.4-2.fc31.x86_64
How reproducible:
About every second time.
Steps to Reproduce:
- Use fully updated Fedora Silverblue Rawhide.
- Open GNOME Shell Activites Overview (using Meta key) and search for "Tilix" (or, for example, "GNOME Chess").
- Click the result, wait for the GNOME Software details page to open, then scroll it and see what is the app "Source".
- If the Source is "registry.fedoraproject.org", try it a few more times.
Actual results:
Source fedoraproject.org
Expected results:
Source registry.fedoraproject.org
Additional info:
Complete GS verbose log:
11:21:24:0029 Gs trying to activate system/flatpak/fedora/desktop/com.gexperts.Tilix/stable:Tilix for details
11:21:24:0029 Gs pushing back entry for overview
11:21:24:0029 Gs Chaining cancellation from 0x17edca0 to 0x7f9378041e60
11:21:24:0030 GsPluginShellExtensions silo already valid
11:21:24:0030 Gs ignoring: element name mimetypes is unknown in silo
11:21:24:0030 Gs ignoring: element name pkgname is unknown in silo
11:21:24:0030 Gs ignoring: element name summary is unknown in silo
11:21:24:0030 Gs ignoring: element name keywords is unknown in silo
11:21:24:0030 Gs ignoring: element name launchable is unknown in silo
11:21:24:0039 Gs add user/*/*/shell-extension/TilixDropdown_ivkuzev_gmail.com/*
11:21:24:0040 Gs add user/*/*/shell-extension/TilixKeyboardShortcut_jonathan.bluemosh.com/*
11:21:24:0042 Gs search took 12.345000ms
11:21:24:0050 Gs add system/package/rawhide/desktop/com.gexperts.Tilix/*
11:21:24:0096 Gs search took 54.065000ms
11:21:24:0097 Gs add system/flatpak/fedora/desktop/com.gexperts.Tilix/stable
11:21:24:0114 Gs search took 17.398000ms
11:21:24:0114 Gs ignoring: element name mimetypes is unknown in silo
11:21:24:0114 Gs ignoring: element name pkgname is unknown in silo
11:21:24:0114 Gs ignoring: element name summary is unknown in silo
11:21:24:0114 Gs ignoring: element name name is unknown in silo
11:21:24:0114 Gs ignoring: element name keywords is unknown in silo
11:21:24:0114 Gs ignoring: element name id is unknown in silo
11:21:24:0114 Gs ignoring: element name launchable is unknown in silo
11:21:24:0114 Gs ignoring: element name components is unknown in silo
11:21:24:0114 GsPluginShellExtensions silo already valid
11:21:24:0115 GsPluginShellExtensions silo already valid
11:21:24:0128 Gs failed to load icon for com.gexperts.Tilix: Failed to open file ?/var/lib/flatpak/appstream/fedora/x86_64/icons/64x64/com.gexperts.Tilix.png?: No such file or directory
11:21:24:0128 Gs app invalid as hide-from-search quirk set system/package/rawhide/desktop/com.gexperts.Tilix/*
11:21:24:0128 Gs running search with dedupe-flags=18 with refine-flags=require-license,require-description,require-rating,require-version,require-history,require-setup-action,require-review-ratings,require-icon,require-permissions with timeout=10 with max-results=50 with search=Tilix on plugin=flatpak on apps system/flatpak/fedora/desktop/com.gexperts.Tilix/stable,user/*/*/shell-extension/TilixDropdown_ivkuzev_gmail.com/*,user/*/*/shell-extension/TilixKeyboardShortcut_jonathan.bluemosh.com/* took 98ms
11:21:24:0136 GsPluginShellExtensions silo already valid
11:21:24:0138 GsPluginFlatpak found component for wildcard com.gexperts.Tilix
11:21:24:0146 Gs pushing back entry for search with Tilix
11:21:24:0146 Gs Chaining cancellation from 0x137a220 to 0x125fd20
11:21:24:0148 Gs Disconnecting cancellable 0x17edca0
11:21:24:0162 Gs app invalid as hide-from-search quirk set system/package/rawhide/desktop/com.gexperts.Tilix/*
11:21:24:0162 Gs running refine with dedupe-flags=7 with refine-flags=require-license,require-url,require-description,require-version,require-history,require-setup-action,require-origin,require-menu-path,require-addons,require-provenance,require-icon,require-permissions,require-origin-hostname,require-runtime,require-screenshots,require-categories,require-project-group,require-developer-name,require-kudos,content-rating with timeout=60 took 15ms
11:21:24:0165 Gs GsApp: [0x7f938c00c2b0]
kind: desktop
state: available
quirk: needs-reboot,hide-from-search
id: com.gexperts.Tilix
unique-id: system/package/rawhide/desktop/com.gexperts.Tilix/*
scope: system
bundle-kind: package
kudos: my-language|recent-release|modern-toolkit|uses-notifications|has-keywords|has-screenshots|hi-dpi-icon
kudo-percentage: 100
name: Tilix
pixbuf: 0x7f938c1180c0
icon-kind: cached
icon-pixbuf: 0x7f938c1180c0
icon-name: com.gexperts.Tilix.png
icon-prefix: /usr/share/app-info/icons/fedora
match-value: 00052
version: 1.9.3-2.fc31
summary: A tiling terminal for GNOME
description: Tilix is a tiling terminal emulator.
It lets you:
? Layout terminals in any fashion by splitting them horizontally or vertically
? Terminals can be re-arranged using drag and drop both within and between windows
? Terminals can be detached into a new window via drag and drop
? Input can be synchronized between terminals so commands typed in one terminal are replicated to the others
? The grouping of terminals can be saved and loaded from disk
? Terminals support custom titles
? Color schemes are stored in files and custom color schemes can be created by simply creating a new file
? Transparent background
? Supports notifications when processes are completed out of view
The application was written using GTK 3 and an effort was made to conform to GNOME Human Interface Guidelines (HIG). As a result, it does use client-side-decorations, though it can be disabled if necessary.
Tilix has been tested with GNOME and with Unity.
screenshot-00: https://gnunn1.github.io/tilix-web/assets/images/gallery/tilix-screenshot-1.png [<none>]
screenshot-01: https://gnunn1.github.io/tilix-web/assets/images/gallery/tilix-screenshot-2.png [<none>]
screenshot-02: https://gnunn1.github.io/tilix-web/assets/images/gallery/tilix-screenshot-3.png [<none>]
source-00: tilix
url{homepage}: https://gnunn1.github.io/tilix-web/
launchable{desktop-id}: com.gexperts.Tilix.desktop
license: MPL-2.0
license-is-free: yes
management-plugin: rpm-ostree
origin: rawhide
origin-appstream: fedora
origin-hostname: fedoraproject.org
rating: 94
review-rating: [0:0]
review-rating: [1:1]
review-rating: [2:0]
review-rating: [3:0]
review-rating: [4:2]
review-rating: [5:33]
reviews: 0
provides: 12
category: System
category: TerminalEmulator
{GnomeSoftware::PackagingFormat}: RPM
{appstream::source-file}: /usr/share/app-info/xmls/fedora.xml.gz
{GnomeSoftware::Creator}: appstream
11:21:24:0203 Gs content rating system is guessed as IARC from C
11:21:24:0203 Gs Chaining cancellation from 0x137a220 to 0x1a100a0
11:21:24:0203 Gs Chaining cancellation from 0x137a220 to 0x123e320
11:21:24:0203 Gs Disconnecting cancellable 0x137a220
11:21:24:0215 GsPluginShellExtensions silo already valid
11:21:24:0219 GsPluginFlatpak found component for wildcard com.gexperts.Tilix
11:21:24:0231 GsPluginOdrs got review data for com.gexperts.Tilix from /home/asciiwolf/.cache/gnome-software/odrs/com.gexperts.Tilix.json
11:21:24:0233 Gs app invalid as hide-from-search quirk set system/package/rawhide/desktop/com.gexperts.Tilix/*
11:21:24:0233 Gs running refine with dedupe-flags=7 with refine-flags=require-size,require-rating,require-reviews,require-review-ratings,require-runtime with timeout=60 took 30ms
11:21:24:0235 Gs Disconnecting cancellable 0x137a220
11:21:24:0240 Gs app invalid as hide-from-search quirk set system/package/rawhide/desktop/com.gexperts.Tilix/*
11:21:24:0240 Gs running get-alternates with refine-flags=require-origin,require-provenance,require-origin-hostname with interactive=True with timeout=60 on plugin=flatpak on apps system/flatpak/fedora/desktop/com.gexperts.Tilix/stable took 37ms
11:21:24:0241 Gs Disconnecting cancellable 0x137a220
11:22:06:0566 Gs First hourly updates check
11:22:06:0567 Gs Chaining cancellation from 0x16ddae0 to 0x7f9390021460
11:22:06:0567 Gs Getting upgrades
11:22:06:0568 Gs Chaining cancellation from 0x16ddae0 to 0x1a01ca0
11:22:06:0569 Gs running get-langpacks with dedupe-flags=7 with refine-flags=require-icon with timeout=60 with search=C on plugin=fedora_langpacks took 2ms
11:22:06:0569 Gs running get-distro-updates with dedupe-flags=7 with refine-flags=require-setup-action with timeout=60 on plugin=fedora-pkgdb-collections took 1ms
11:22:06:0569 Gs no language pack found
11:22:06:0569 Gs Disconnecting cancellable 0x16ddae0
11:22:06:0570 Gs no upgrades; withdrawing upgrades-available notification
11:22:06:0570 Gs Disconnecting cancellable 0x16ddae0
It can clearly be seen in the log that GS tries to get info for the Flatpak version (11:21:24:0029 Gs trying to activate system/flatpak/fedora/desktop/com.gexperts.Tilix/stable:Tilix for details
), but gets RPM instead (unique-id: system/package/rawhide/desktop/com.gexperts.Tilix/*
) for some reason.
I think the problem may be caused by fedoraproject.org
(rpm-ostree) and registry.fedoraproject.org
(Flatpak) origin-hostname being too similar.