Bug 495389

Summary: The flatpak Backend is unable to communicate correctly with the UI of Discover and/or is unable to download (almost) anything
Product: [Applications] Discover Reporter: Paul Degenhard <degenhardpaul>
Component: Flatpak BackendAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aleixpol, jgrulich, nate, travier
Priority: NOR    
Version First Reported In: 6.2.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paul Degenhard 2024-10-26 16:01:12 UTC
SUMMARY


STEPS TO REPRODUCE
1. Open Discover (on a fresh KDE Neon install)
2. Select any item from Flatpak
3. Click on "install from Flathub"

OBSERVED RESULT
The progress bar in the bottom left corner stays at 0% with no error messages popping up (even after waiting several hours)

EXPECTED RESULT
The progress bar schould display any form of progress or, at least, display a bug/crashhandler message

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: KDE Neon 6.2
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2 (Compiled against 6.7.2)

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-10-28 02:44:46 UTC
Does `flatpak install` in a terminal window for the same app work?

Can you run Discover from a terminal window with `plasma-discover` and paste the text that appears when you reproduce the bug?
Comment 2 Paul Degenhard 2024-10-28 19:24:59 UTC
I will do that after a clean re-install tomorrow.

Currently, Flatpak installs from command line do work but are not detected as installed by discover (some exceptions exist though. Like mangohud...)
Comment 3 Nate Graham 2024-10-28 20:18:28 UTC
Sounds a bit like something strange is going on, yeah. I'll interested to hear if it all goes away after a clean re-install.
Comment 4 Paul Degenhard 2024-10-28 20:30:51 UTC
Will send pictures and video footage.
I tested it with discord and steam beforehand. Both had the same behavior of hanging at 0%.

I have a hunch that it might have to do with 32 bit architectures or something like that...
Comment 5 Paul Degenhard 2024-10-29 12:48:13 UTC
Currently preparing fresh install (bad internet goes brrrrrr!).
I did some digging and stumbled across the same bug appearing on a older development build.

Maybe it is completely unrelated to my issue (different cause, same problems maybe?), but it could be possible that it is a resurfacing bug.

Link to similar bug report:
https://bugs.kde.org/show_bug.cgi?id=400389
Comment 6 Paul Degenhard 2024-11-08 23:36:19 UTC
As it turned out, the changelog of latest calamares release revealed that swap could not be created by calamares because of a bug that is now fixed in calamares 3.3.11 (2025-11-05)
Comment 7 Paul Degenhard 2024-11-09 13:27:00 UTC
This bug also caused the flatpak issues