| Summary: | Add a link to view an app in store website (e.g. flathub.org) | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | John Veness <john.kde> |
| Component: | Flatpak Backend | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | wishlist | CC: | aleixpol, jgrulich, john.liptrot, travier |
| Priority: | NOR | ||
| Version First Reported In: | 6.3.4 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
John Veness
2025-04-19 11:46:46 UTC
Output of the command "appstreamcli search libreoffice --details" below. Was looking for a URL to flathub.org; Identifier: org.libreoffice.LibreOffice [desktop-application] Internal ID: system/flatpak/flatpak/org.libreoffice.LibreOffice/* Name: LibreOffice Summary: The LibreOffice productivity suite Bundle: flatpak:app/org.libreoffice.LibreOffice/x86_64/stable Homepage: http://www.libreoffice.org/discover/libreoffice/ Icon: org.libreoffice.LibreOffice.png Developer: The Document Foundation Description: LibreOffice is a powerful office suite. Its clean interface and feature-rich tools help you unleash your creativity and enhance your productivity. LibreOffice includes several applications that make it the most powerful Free and Open Source office suite on the market: Writer (word processing), Calc (spreadsheets), Impress (presentations), Draw (vector graphics and flowcharts), Base (databases), and Math (formula editing). LibreOffice supports opening and saving into a wide variety of formats, so you can easily share documents with users of other popular office suites without worrying about compatibility. Default Screenshot URL: https://dl.flathub.org/media/org/libreoffice/LibreOffice/34c3131d84c11c0019465cbcc808061c/screenshots/image-1_orig.png Licence: MPL-2.0 Categories: Office Provided Items: ↓ Media types: - application/vnd.openofficeorg.extension - x-scheme-handler/vnd.libreoffice.cmis - x-scheme-handler/vnd.sun.star.webdav - x-scheme-handler/vnd.sun.star.webdavs - x-scheme-handler/vnd.libreoffice.command - x-scheme-handler/ms-word - x-scheme-handler/ms-powerpoint - x-scheme-handler/ms-excel - x-scheme-handler/ms-visio - x-scheme-handler/ms-access Also tried the command "flatpak search --columns=all libreoffice". No mention of a URL to flathub.org here either. Operating System: KDE Linux 2025-09-20 KDE Plasma Version: 6.5.80 KDE Frameworks Version: 6.19.0 Qt Version: 6.9.2 Kernel Version: 6.16.7-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 2 × Intel® Pentium® 3805U @ 1.90GHz Memory: 4 GiB of RAM (3.7 GiB usable) Graphics Processor: Intel® HD Graphics Manufacturer: LENOVO Product Name: 80EW System Version: Lenovo B50-80 Yeah, I worried that might be the case. Obviously Discover knows which Flatpak repo an app is in (as it is shown in the top-right, next to the Install button), and presumably must know the app id, so could autogenerate a flathub.org/<language>/apps/<appid> URL, but that would break if flathub rearranged their website, wouldn't work for other Flatpak repos, and presumably some Flatpak repos might not even have corresponding store website frontends. So it would be nicer if this was something that was passed through in metadata, but I guess that would need consultation with flatpak devs. (In reply to John Veness from comment #2) > Yeah, I worried that might be the case. Obviously Discover knows which > Flatpak repo an app is in (as it is shown in the top-right, next to the > Install button), and presumably must know the app id, so could autogenerate > a flathub.org/<language>/apps/<appid> URL, but that would break if flathub > rearranged their website, wouldn't work for other Flatpak repos, and > presumably some Flatpak repos might not even have corresponding store > website frontends. So it would be nicer if this was something that was > passed through in metadata, but I guess that would need consultation with > flatpak devs. It's a shame really, because I don't actually think this is too bad of an idea - I just can't realistically see how it would be implemented. Navigating to Firefox in Discover and clicking the 'share' button allows you to copy this >>> appstream:org.mozilla.firefox <<< to your clipboard. This *could* be used to implement a clickable link to flathub's search page >>> https://flathub.org/en/apps/search?q=org.mozilla.firefox But the problem with this, as you pointed out in comment #2, is that if flathub change their website layout, the links won't work anymore. Perhaps you could reconsider your wishlist request to something along the lines of; "Add a link to the website of the hosting platform used". So all apps you see in discover via flathub have a link to 'https://flathub.org/', all snap apps have a link to 'https://snapcraft.io/'. Although it doesn't quite achieve what you're asking for, it is much easier to implement and is probably more likely to be considered by the developers. |