[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 Nate Graham changed: What|Removed |Added Status|REPORTED|RESOLVED Version Fixed In||5.15.0 Latest Commit||https://cgit.kde.org/discov ||er.git/commit/?id=798514c11 ||66823846e64cb8e5ca7608db805 ||1ae3 Resolution|--- |FIXED --- Comment #19 from Nate Graham --- author Dan Leinir Turthra Jensen 2019-01-15 09:18:29 + committer Dan Leinir Turthra Jensen 2019-01-15 09:18:29 + commit 798514c1166823846e64cb8e5ca7608db8051ae3 (patch) tree786741f0f923de3c84a335336fdddfd881419c54 parent b59109351a1e69b045340be3051bdc9161fce059 (diff) Fix premature firing of allInitialized signal In case this is in fact the first backend to be added, and also happens to be pre-filled, we still need for the rest of the backends to be added before trying to send out the initialized signal. To ensure this happens, this patch schedules it for the start of the next run of the event loop, and ensures that it only happens if there are no more backends to initialise. Specifically, this happens if e.g. the fwupd backend is the first to be initialised, and results in (amongst other things) that the application loads up and insists that there are no application backends. Differential Revision: https://phabricator.kde.org/D18246 BUG: 401334 Diffstat -rw-r--r-- libdiscover/resources/ResourcesModel.cpp14 -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 dexx...@gmail.com changed: What|Removed |Added CC||dexx...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 --- Comment #18 from Aleix Pol --- Can you still see this? This is very weird... -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 --- Comment #17 from Aleix Pol --- That doesn't make much sense, as it means that this from PackageKitBackend returns false: bool hasApplications() const override { return true; } -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 Jonathan Riddell changed: What|Removed |Added Product|neon|Discover Assignee|neon-b...@kde.org |aleix...@kde.org Component|general |discover -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 --- Comment #13 from Chase Lau --- Here's the output from `plasma-discover --backends packagekit-backend` ~ plasma-discover --backends packagekit-backend adding empty sources model QStandardItemModel(0x55f15472d230) no packages for "org.kde.plasma.systemloadviewer" no packages for "timeshift.desktop" no packages for "org.kde.plasma.showActivityManager" no packages for "org.kde.plasma.grouping" no packages for "org.kde.plasma.diskquota" no packages for "org.kde.kscreen" no packages for "org.gnupg.scdaemon" no packages for "org.kde.plasma.kimpanel" no packages for "audoban.applet.separator" no packages for "org.kde.plasma.timer" no packages for "im.riot.webapp" no packages for "org.kde.plasma.appmenu" no packages for "org.kde.plasma.quicklaunch" Could not resolve property : #a -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 --- Comment #12 from Chase Lau --- Aleix, I'm running KDE Neon Dev Unstable. I posted the output of `plasma-discover` in comment 5 -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 --- Comment #11 from Aleix Pol --- Chase Lau, which distro are you on? Can you run discover from a terminal and show us the output you get? -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 --- Comment #10 from Chase Lau --- This appears to be a problem with discover not loading available backends by default. `plasma-discover --listbackends` shows that I do have backends available, and launching with `plasma-discover --backends packkagekit-backend` shows the desired featured screen on launch. I've attached screenshots of these behaviors. -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 --- Comment #9 from Chase Lau --- Created attachment 116900 --> https://bugs.kde.org/attachment.cgi?id=116900=edit Discover when launched without --backends packagekit-backend -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 --- Comment #8 from Chase Lau --- Created attachment 116899 --> https://bugs.kde.org/attachment.cgi?id=116899=edit Discover when launched with --backends packagekit-backend -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 Alexander Mentyu changed: What|Removed |Added Resolution|WAITINGFORINFO |--- Status|NEEDSINFO |REPORTED --- Comment #7 from Alexander Mentyu --- I'm reporting bugs of the Discover - it's initially displays 'No application back-ends found...' screen) -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 Aleix Pol changed: What|Removed |Added Resolution|--- |WAITINGFORINFO Status|REPORTED|NEEDSINFO --- Comment #6 from Aleix Pol --- Alexander, you've been reporting other bugs where you clearly have a backend. What happened here? -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 Chase Lau changed: What|Removed |Added CC||arealperson1234+...@me.com --- Comment #5 from Chase Lau --- Also experiencing this on Neon Dev Unstable. Here's the output of running `plasma-discover`: ~ plasma-discover invalid kns backend! "/etc/xdg/ksysguard.knsrc" because: "Config group not found! Check your KNS3 installation." invalid kns backend! "/etc/xdg/servicemenu.knsrc" because: "Config group not found! Check your KNS3 installation." adding empty sources model QStandardItemModel(0x55c781ba1360) no packages for "org.kde.plasma.systemloadviewer" no packages for "timeshift.desktop" no packages for "org.kde.plasma.showActivityManager" no packages for "org.kde.plasma.grouping" no packages for "org.kde.plasma.diskquota" no packages for "org.kde.kscreen" no packages for "org.gnupg.scdaemon" no packages for "org.kde.plasma.kimpanel" no packages for "audoban.applet.separator" no packages for "org.kde.plasma.timer" no packages for "im.riot.webapp" no packages for "org.kde.plasma.appmenu" no packages for "org.kde.plasma.quicklaunch" qml: error No application back-ends found, please report to your distribution. org.kde.plasma.libdiscover: Couldn't find a category for "fwupd-backend" -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 --- Comment #4 from Alexander Mentyu --- output from console: plasma-discover Using Wayland-EGL Using the 'xdg-shell-v6' shell integration file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls.2/org.kde.desktop/TextField.qml:57:21: Unable to assign [undefined] to QQmlComponent* adding empty sources model QStandardItemModel(0x55ee8dbdd7a0) no packages for "org.kde.plasma.systemloadviewer" no packages for "org.kde.plasma.showActivityManager" no packages for "org.kde.plasma.grouping" no packages for "org.kde.plasma.diskquota" no packages for "org.kde.kscreen" no packages for "org.kde.plasma.kimpanel" no packages for "audoban.applet.separator" no packages for "org.kde.plasma.timer" no packages for "im.riot.webapp" no packages for "org.kde.plasma.appmenu" no packages for "org.kde.plasma.quicklaunch" 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." qml: error No application back-ends found, please report to your distribution. file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:113: TypeError: Cannot read property 'globalToolBarItem' of null file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/AbstractApplicationHeader.qml:114: TypeError: Cannot read property 'globalToolBarItem' of null org.kde.plasma.libdiscover: Couldn't find a category for "fwupd-backend" -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 Nate Graham changed: What|Removed |Added CC||n...@kde.org --- Comment #3 from Nate Graham --- Weird, that shouldn't happen when you have those app backends installed. Can't reproduce on Neon dev unstable myself. -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 --- Comment #2 from Alexander Mentyu --- (In reply to Aleix Pol from comment #1) > Can you try running "plasma-discover --list-backends" and tell us what's the > output? plasma-discover --listbackends Available backends: * fwupd-backend * packagekit-backend * flatpak-backend * kns-backend * snap-backend -- You are receiving this mail because: You are watching all bug changes.
[Discover] [Bug 401334] No application back-ends found, please report to your distribution error when launching Discover
https://bugs.kde.org/show_bug.cgi?id=401334 --- Comment #1 from Aleix Pol --- Can you try running "plasma-discover --list-backends" and tell us what's the output? -- You are receiving this mail because: You are watching all bug changes.