Bug 391410 - Installed list is empty if selected immediately after discover is opened
Summary: Installed list is empty if selected immediately after discover is opened
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-05 04:13 UTC by tguen
Modified: 2018-03-17 13:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tguen 2018-03-05 04:13:15 UTC
If I click the 'installed' option in the bottom-left within about 1 second of opening Discover, the right panel will say "Sorry, nothing found..."

If I switch to another section and back again, the list will display as expected.
Comment 1 Aleix Pol 2018-03-05 12:09:30 UTC
Do you see the same issue if you run discover with "plasma-discover --mode installed"?
Comment 2 tguen 2018-03-06 08:02:34 UTC
Yes, same thing happens. Here's the output, not sure if it's useful. It does start showing the installed section despite what the first line says.


unknown mode "installed"
file:///usr/lib/qt/qml/org/kde/kirigami.2/PageRow.qml:291: TypeError: Cannot read property 'page' of null
error loading "flatpak-backend" "Cannot load library /usr/lib/qt/plugins/discover/flatpak-backend.so: (libflatpak.so.0: cannot open shared object file: No such file or directory)" QJsonObject({"IID":"org.kde.muon.AbstractResourcesBackendFactory","MetaData":{},"className":"FlatpakBackendFactory","debug":false,"version":330241})
invalid kns backend! "/etc/xdg/servicemenu.knsrc" because: "Config group not found! Check your KNS3 installation."
invalid kns backend! "/etc/xdg/ksysguard.knsrc" because: "Config group not found! Check your KNS3 installation."
error loading "packagekit-backend" "Cannot load library /usr/lib/qt/plugins/discover/packagekit-backend.so: (libpackagekitqt5.so.1: cannot open shared object file: No such file or directory)" QJsonObject({"IID":"org.kde.muon.AbstractResourcesBackendFactory","MetaData":{},"className":"PackageKitBackendFactory","debug":false,"version":330241})
Discarding invalid backend "servicemenu.knsrc"
Discarding invalid backend "ksysguard.knsrc"
falling back applications backend to -1
Comment 3 Patrick Silva 2018-03-12 13:58:40 UTC
cannot confirm on Arch Linux, Discover 5.12.3.
Comment 4 Nate Graham 2018-03-13 02:51:12 UTC
Also cannot reproduce, with 5.12.3 or from git master.
Comment 5 Aleix Pol 2018-03-16 11:30:29 UTC
It's weird that you don't seem to have libpackagekitqt5.so.1 or libflatpak.so.0 so none are loaded.
I wonder why it works later.
Comment 6 tguen 2018-03-17 05:56:08 UTC
Installing `packagekit-qt5` fixed the issue. (It also now integrates pacman repos, which I have been wondering how to fix.) Should this be listed as a dependency?
Comment 7 Nate Graham 2018-03-17 13:57:27 UTC
Yes, but and that would be the responsibility of your packagers (in this case, the Arch packaging team). Please file a bug for them.