Bug 458550

Summary: Useless 'View stable version on local bundle' button when I open a flatpak bundle without a version number set
Product: [Applications] Discover Reporter: Patrick Silva <bugseforuns>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screen recording

Description Patrick Silva 2022-08-31 13:44:16 UTC
Created attachment 151735 [details]
screen recording

SUMMARY
When I open a flatpak bundle with Discover, a button labeled 'View stable version on local bundle' is available.
If I click on it, Discover returns to the same page. Please watch the attached screen recording.

EXPECTED RESULT
I'm not sure what is the purpose of 'View stable version on local bundle' button. Make it work or remove it.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-08-31 20:01:25 UTC
Not intended for this use case, no.

Where can I get a Flatpak bundle file to test this? I can only find .flatpakref files on flathub.org.
Comment 3 Nate Graham 2022-08-31 20:04:55 UTC
Cannot reproduce with https://github.com/flameshot-org/flameshot/releases/download/v12.1.0/org.flameshot.Flameshot-12.1.0.x86_64.flatpak.

Looks like this happens because the local bundle in question lacks a version number. We should detect this use case.

And the author of the bundle should fix that.
Comment 4 Aleix Pol 2022-09-02 17:48:55 UTC
Can you try if you still get this weird behaviour? This should be addressed as of aa9e92bc5d269b33e64e660ed7d7cd18eb12a3a2, which I worked on the same day of this bug report.
Comment 5 Nate Graham 2022-09-02 18:49:10 UTC
.
Comment 6 Patrick Silva 2022-09-16 15:30:55 UTC
Cannot reproduce on Plasma 5.26 beta.