Bug 459827 - Allows sharing URL of a local Flatpak
Summary: Allows sharing URL of a local Flatpak
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2022-09-29 16:48 UTC by Nicolas Fella
Modified: 2026-10-30 16:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.9.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Fella 2022-09-29 16:48:22 UTC
STEPS TO REPRODUCE
1. Open a local .flatpak file
2. Click "Share"

OBSERVED RESULT
A local URL (e.g. file:///home/nico/Downloads/foo.flatpak) is shared, which doesn't make much sense

EXPECTED RESULT
Sharing is disabled for local URLs

SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 5.15.5-kde
Comment 1 Nate Graham 2022-10-09 21:33:42 UTC
lol
Comment 2 Justin Zobel 2026-08-26 00:50:38 UTC
I suppose it should share `appstream://org.some.foo` instead?
Comment 3 Nate Graham 2026-09-01 22:40:27 UTC
Yeah.
Comment 4 Bug Janitor Service 2026-09-06 08:04:17 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1409
Comment 5 Aleix Pol 2026-10-25 18:50:59 UTC
Git commit f38b215b5e4c9b7f23b637d2bbea0a857c309baa by Aleix Pol Gonzalez, on behalf of Taras Oleksyn.
Committed on 25/10/2026 at 18:42.
Pushed by apol into branch 'master'.

flatpak: Fix sharing local Flatpak files

M  +7    -3    libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
M  +1    -1    libdiscover/backends/FlatpakBackend/FlatpakResource.cpp

https://invent.kde.org/plasma/discover/-/commit/f38b215b5e4c9b7f23b637d2bbea0a857c309baa