Bug 483785

Summary: Discover can't open links from snapcraft.io
Product: [Applications] Discover Reporter: aronkvh
Component: Snap BackendAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aleixpol, mobile.harvey, sitter
Priority: NOR Keywords: qt6
Version: 6.0.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description aronkvh 2024-03-16 19:13:58 UTC
1. Click "Open in desktop store" on a snap's app page
2. Discover says "Check if snap support is enabled"
3. the snap backend page opens, it's installed 

KDE neon 6.0
KDE Plasma 6.0.2 on X11
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-25-generic (64-bit)


libs QList("/usr/lib/x86_64-linux-gnu/qt6/plugins", "/usr/bin")
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x59dd3adc87a0)
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
Failed to refresh appstream metadata for  kdeapps :  "Error updating appstream2: No such ref 'appstream2/x86_64' in remote kdeapps; Error updating appstream: No such ref 'appstream/x86_64' in remote kdeapps"
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/discover/qml/BrowsingPage.qml:17:1: QML BrowsingPage: Created graphical object was not placed in the graphics scene.
AppStreamIntegration: No distro component found for "org.kde.neon.neon"
PackageKitBackend: No distro component found for "org.kde.neon.neon"
kf.newstuff.core: Could not find category "Calligra Flow Stencil"
KNS error in "Calligra_stencils" : KNSCore::ErrorCode::ConfigFileError "Minden kategória hiányzik" QVariant(Invalid)
invalid kns backend! "/etc/xdg/calligra_stencils.knsrc" because: "A(z) Calligra_stencils backend érvénytelen, lépjen kapcsolatba a disztribúció készítőivel."
kns error "/etc/xdg/calligra_stencils.knsrc" "A(z) Calligra_stencils backend érvénytelen, lépjen kapcsolatba a disztribúció készítőivel."
flatpak-Message: 20:11:09.448: Warning: Treating remote fetch error as non-fatal since runtime/org.kde.krecorder.Locale/x86_64/master is already installed: No such ref 'runtime/org.kde.krecorder.Locale/x86_64/master' in remote kdeapps
flatpak-Message: 20:11:09.449: Warning: Treating remote fetch error as non-fatal since runtime/org.kde.itinerary.Locale/x86_64/master is already installed: No such ref 'runtime/org.kde.itinerary.Locale/x86_64/master' in remote kdeapps
flatpak-Message: 20:11:09.464: Warning: Treating remote fetch error as non-fatal since app/org.kde.plasmatube/x86_64/master is already installed: No such ref 'app/org.kde.plasmatube/x86_64/master' in remote kdeapps
flatpak-Message: 20:11:09.464: Warning: Treating remote fetch error as non-fatal since app/org.kde.krecorder/x86_64/master is already installed: No such ref 'app/org.kde.krecorder/x86_64/master' in remote kdeapps
flatpak-Message: 20:11:09.466: Warning: Treating remote fetch error as non-fatal since app/org.kde.itinerary/x86_64/master is already installed: No such ref 'app/org.kde.itinerary/x86_64/master' in remote kdeapps
flatpak-Message: 20:11:09.466: Warning: Treating remote fetch error as non-fatal since app/org.kde.audiotube/x86_64/master is already installed: No such ref 'app/org.kde.audiotube/x86_64/master' in remote kdeapps
qrc:/qt/qml/org/kde/discover/qml/LoadingPage.qml:3:1: QML LoadingPage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:19:1: QML ApplicationPage: Created graphical object was not placed in the graphics scene.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:41:5: QML ReviewsPage: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:848:5: QML AddonsView: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/kirigami/Dialog.qml:334:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight"
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:41:5: QML ReviewsPage: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/kirigami/private/PrivateActionToolButton.qml:71:5: QML Binding: Binding loop detected for property "value"
flatpak-Message: 20:11:16.262: Warning: Treating remote fetch error as non-fatal since runtime/org.kde.krecorder.Locale/x86_64/master is already installed: No such ref 'runtime/org.kde.krecorder.Locale/x86_64/master' in remote kdeapps
flatpak-Message: 20:11:16.263: Warning: Treating remote fetch error as non-fatal since runtime/org.kde.itinerary.Locale/x86_64/master is already installed: No such ref 'runtime/org.kde.itinerary.Locale/x86_64/master' in remote kdeapps
flatpak-Message: 20:11:16.277: Warning: Treating remote fetch error as non-fatal since app/org.kde.plasmatube/x86_64/master is already installed: No such ref 'app/org.kde.plasmatube/x86_64/master' in remote kdeapps
flatpak-Message: 20:11:16.277: Warning: Treating remote fetch error as non-fatal since app/org.kde.krecorder/x86_64/master is already installed: No such ref 'app/org.kde.krecorder/x86_64/master' in remote kdeapps
flatpak-Message: 20:11:16.279: Warning: Treating remote fetch error as non-fatal since app/org.kde.itinerary/x86_64/master is already installed: No such ref 'app/org.kde.itinerary/x86_64/master' in remote kdeapps
Comment 1 Nick 2024-03-23 17:57:50 UTC
Hi - I'm on Neon 6.0.2 (snap installed by default) and have gone to snapcraft.io. I select an app, click "install" and then "View in desktop store". Firefox then asks me to open the link in Discover. I say yes, and then nothing happens.

Is this the bug you are reporting - i.e we would expect Discover to open, but it does not? If so then this does look like a bug to me.

Thanks
Nick
Comment 2 Harald Sitter 2024-05-07 09:44:55 UTC

*** This bug has been marked as a duplicate of bug 471344 ***