Bug 446717

Summary: Discover shows emtpy window after startup
Product: [Applications] Discover Reporter: Luca76 <luca76>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED DUPLICATE    
Severity: critical CC: aleixpol, nate
Priority: NOR    
Version: 5.23.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot describing the bug

Description Luca76 2021-12-09 08:22:57 UTC
Created attachment 144386 [details]
Screenshot describing the bug

1. Open discover
2. Wait until he discovers updates
3. The window is empty, impossible to do anything

see the attachment
Comment 1 Nate Graham 2021-12-09 19:26:51 UTC
This means that a part of the application is broken, likely due to a botched update.

Can you try to launch it using the command-line by typing `plasma-discover`? That should show the window and also print a bunch of text into your terminal window. Can you please paste the text here?
Comment 2 Luca76 2021-12-10 06:26:21 UTC
I've run plasma-discovery, then I clicked on the "Updates":


adding empty sources model QStandardItemModel(0x5640c644ffa0)

** (process:5566): WARNING **: 07:22:34.623: Not changing AppStream cache location: No longer supported.
QDir::mkpath: Empty or null file name
org.kde.plasma.libdiscover: Couldn't find a category for  "fwupd-backend"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:74:5: QML Binding: Binding loop detected for property "value"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/RefreshableScrollView.qml:175:13: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/BasicListItem.qml:261:18: QML QQuickItem*: Binding loop detected for property "implicitWidth"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/RefreshableScrollView.qml:175:13: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

took really long to fetch PackageKitBackend(0x5640c63a0cc0)

<<--- I CLICKED ON UPDATES BUTTON

QQmlComponent: Component is not ready
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:813: Error: Error while loading page: qrc:/qml/UpdatesPage.qml:94 Type TextArea unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls.2/org.kde.desktop/TextArea.qml:15 module "org.kde.sonnet" is not installed
Comment 3 Nate Graham 2021-12-10 17:20:00 UTC
Ah, this is a Neon packaging issue. You can fix it by installing qml-module-org-kde-sonnet manually, if you haven't gotten an update that fixe sit yet.

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