Bug 406655 - Fails to load snap the first time
Summary: Fails to load snap the first time
Status: REPORTED
Alias: None
Product: Discover
Classification: Applications
Component: Snap Backend (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-18 13:24 UTC by Kai Uwe Broulik
Modified: 2024-09-23 20:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2019-04-18 13:24:34 UTC
SUMMARY
The first time I tried to open a snap in Discover, it stood forever at a "Loading..." screen. Only when I closed it and opened it again would it show information about that snap and let me install it.

STEPS TO REPRODUCE
1. Try any of the snaps on https://snapcraft.io/publisher/kde
2. click "Install"
3. click "View in Desktop store" 
4. Confirm "xdg-open" request

OBSERVED RESULT
Discover opens, showing "Loading..." indefinitely

EXPECTED RESULT
Discover opens, shows information about the snap and lets me install it.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION
Failed to reproduce the issue, perhaps an issue when it hasn't been running for a while and is updating its backends or looking for updates simultaneously or something?
Comment 1 Nate Graham 2019-04-18 17:13:51 UTC
I wonder if the backend was still updating the first time Discover was opened, but the UI didn't update when it was done, which would explain why it worked the second time Discovered was opened. If so, it's a similar problem to Bug 402928 and Bug 402104.
Comment 2 Soumyadeep Ghosh 2024-09-23 20:26:20 UTC
This bug is currently at a very interesting state. I just tried in the store. And when I click on the install button, and then say yes to open link, I get a chooser, to select the app, now I had snap store also installed, so it'd come up instantly. But, even if I search and open it using Discover it never loaded. It just opened Discover and loaded the front page of discover. I double checked it with `xdg-open "snap://konversation"`. In this case though, the snap-store wouldn't open. Rather, discover directly would load the app page.