Plasma Discover doesn't open after I close it

When I bootup my system and open Plasma Discover it works fine. However when I close it and click on the icon again, it won’t open it.
As a workaround I can close the Discover process from the system monitor (or using pkill), then I can open it again, but the same thing happens after I close it again.
Alternatively when I try to launch the app from terminal using the command plasma-discover it will not launch and also it doesn’t show any output in the terminal.
When I close the process manually then I open Discover from terminal, it will launch with the following output (and when I close the app window the process in the terminal does not stop):

usbee@localhost:~> plasma-discover
usbee@localhost:~> pkill plasma-discover
usbee@localhost:~> plasma-discover
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x55a0f556a160)
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:127:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 15. Use 'sequences: [ <key> ]' to bind to all of them.
looking up wrong category or too early "Games"
looking up wrong category or too early "Development"
looking up wrong category or too early "All Applications"
qt.qml.propertyCache.append: Member focusPolicy of the object CarouselPageIndicator_QMLTYPE_392 overrides a member of the base object. Consider renaming it or adding final or override specifier
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
fwupd: Device not supported: UEFI dbx No releases found

** (process:21031): WARNING **: 13:38:01.306: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.mobile.plasmasettings/*', skipping it.

** (process:21031): WARNING **: 13:38:01.310: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.komodo/*', skipping it.

** (process:21031): WARNING **: 13:38:01.335: Found icon of unknown type 'unknown' in 'system/package/os/armagetronad/*', skipping it.

** (process:21031): WARNING **: 13:38:01.377: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.discover.flatpak/*', skipping it.

** (process:21031): WARNING **: 13:38:01.381: Found icon of unknown type 'unknown' in 'system/package/os/io.github.bit_team.back_in_time.gui/*', skipping it.

** (process:21031): WARNING **: 13:38:01.386: Found icon of unknown type 'unknown' in 'system/package/os/io.github.syllo.nvtop/*', skipping it.

** (process:21031): WARNING **: 13:38:01.398: Found icon of unknown type 'unknown' in 'system/package/os/org.naev.Naev/*', skipping it.

** (process:21031): WARNING **: 13:38:01.452: Found icon of unknown type 'unknown' in 'system/package/os/io.poez.Poezio/*', skipping it.

** (process:21031): WARNING **: 13:38:01.475: Found icon of unknown type 'unknown' in 'system/package/os/org.luanti.luanti/*', skipping it.

** (process:21031): WARNING **: 13:38:01.477: Found icon of unknown type 'unknown' in 'system/package/os/com.kdocker.KDocker.desktop/*', skipping it.

** (process:21031): WARNING **: 13:38:01.496: Found icon of unknown type 'unknown' in 'system/package/os/im.dino.Dino/*', skipping it.

** (process:21031): WARNING **: 13:38:01.550: Found icon of unknown type 'unknown' in 'system/package/os/com.bhh32.gui-scale-applet/*', skipping it.

** (process:21031): WARNING **: 13:38:01.557: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.discover.appstreampreview/*', skipping it.

** (process:21031): WARNING **: 13:38:01.609: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.mobile.plasmasettings/*', skipping it.

** (process:21031): WARNING **: 13:38:01.618: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.komodo/*', skipping it.

** (process:21031): WARNING **: 13:38:01.639: Found icon of unknown type 'unknown' in 'system/package/os/armagetronad/*', skipping it.

** (process:21031): WARNING **: 13:38:01.657: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.discover.flatpak/*', skipping it.

** (process:21031): WARNING **: 13:38:01.659: Found icon of unknown type 'unknown' in 'system/package/os/io.github.bit_team.back_in_time.gui/*', skipping it.

** (process:21031): WARNING **: 13:38:01.664: Found icon of unknown type 'unknown' in 'system/package/os/io.github.syllo.nvtop/*', skipping it.

** (process:21031): WARNING **: 13:38:01.667: Found icon of unknown type 'unknown' in 'system/package/os/org.naev.Naev/*', skipping it.

** (process:21031): WARNING **: 13:38:01.720: Found icon of unknown type 'unknown' in 'system/package/os/io.poez.Poezio/*', skipping it.

** (process:21031): WARNING **: 13:38:01.743: Found icon of unknown type 'unknown' in 'system/package/os/org.luanti.luanti/*', skipping it.

** (process:21031): WARNING **: 13:38:01.746: Found icon of unknown type 'unknown' in 'system/package/os/com.kdocker.KDocker.desktop/*', skipping it.

** (process:21031): WARNING **: 13:38:01.764: Found icon of unknown type 'unknown' in 'system/package/os/im.dino.Dino/*', skipping it.

** (process:21031): WARNING **: 13:38:01.816: Found icon of unknown type 'unknown' in 'system/package/os/com.bhh32.gui-scale-applet/*', skipping it.

** (process:21031): WARNING **: 13:38:01.823: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.discover.appstreampreview/*', skipping it.
PackageKitBackend: No distro component found for "org.opensuse.opensuse-tumbleweed"
AppStreamIntegration: No distro component found for "org.opensuse.opensuse-tumbleweed"
QIODevice::read (QSslSocket): device not open
PackageKit stopped running!
1 Like

Did Discover ever work correctly?
If yes, “what” recently changed about the system?
A recent “zypper dup”?
You made some changes in Discover’s Settings?
Something else?

Why ask, you’ve already been in a number of TW threads and know Plasma 6.8 arrived 2 days ago?

I started using Tumbleweed around 2 months ago starting with Plasma 6.7 and it was an issue already, so it’s not a recent change.

So, here’s a simple troubleshooting test, and doesn’t take long.

  1. Create a new user account. (easy to do if using YaST → User management, or in Cockpit if using it)
  2. Now, logout of your regular user account
  3. Log in to the new user account.
  4. Now perform the same steps as in your regular account … start Discover, quit, start it, …

Any difference?? Does Discover start up as expected now?

The issue is seemingly doesn’t appear with a new user.
The question remains that what causes this.

Open a terminal window and start plasma-discover. Then try to close it, and look at the output in the terminal window. Copy / paste the last 20 lines of output here in pre-formatted text ( the </> in the editor ).

With the new user, right?
Well, I see no difference between the output I sent from my main account:

teszt@localhost:~> plasma-discover
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x560885ac4740)
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:127:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 15. Use 'sequences: [ <key> ]' to bind to all of them.
looking up wrong category or too early "Games"
looking up wrong category or too early "Development"
qt.qml.propertyCache.append: Member focusPolicy of the object CarouselPageIndicator_QMLTYPE_320 overrides a member of the base object. Consider renaming it or adding final or override specifier
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
fwupd: Device not supported: UEFI dbx No releases found

** (process:32087): WARNING **: 09:29:33.688: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.gridcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.690: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.vectorcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.716: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.gridcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.719: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.vectorcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.725: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.lightcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.753: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.wordcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.757: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.lightcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.778: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.mobile.plasmasettings/*', skipping it.

** (process:32087): WARNING **: 09:29:33.781: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.komodo/*', skipping it.

** (process:32087): WARNING **: 09:29:33.785: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.wordcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.792: Found icon of unknown type 'unknown' in 'system/package/os/armagetronad/*', skipping it.

** (process:32087): WARNING **: 09:29:33.808: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.discover.flatpak/*', skipping it.

** (process:32087): WARNING **: 09:29:33.809: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.mobile.plasmasettings/*', skipping it.

** (process:32087): WARNING **: 09:29:33.810: Found icon of unknown type 'unknown' in 'system/package/os/io.github.bit_team.back_in_time.gui/*', skipping it.

** (process:32087): WARNING **: 09:29:33.812: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.komodo/*', skipping it.

** (process:32087): WARNING **: 09:29:33.815: Found icon of unknown type 'unknown' in 'system/package/os/io.github.syllo.nvtop/*', skipping it.

** (process:32087): WARNING **: 09:29:33.817: Found icon of unknown type 'unknown' in 'system/package/os/org.naev.Naev/*', skipping it.

** (process:32087): WARNING **: 09:29:33.823: Found icon of unknown type 'unknown' in 'system/package/os/armagetronad/*', skipping it.

** (process:32087): WARNING **: 09:29:33.837: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.deckcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.840: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.discover.flatpak/*', skipping it.

** (process:32087): WARNING **: 09:29:33.842: Found icon of unknown type 'unknown' in 'system/package/os/io.github.bit_team.back_in_time.gui/*', skipping it.

** (process:32087): WARNING **: 09:29:33.843: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.artcraft-launcher/*', skipping it.

** (process:32087): WARNING **: 09:29:33.846: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.photocraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.846: Found icon of unknown type 'unknown' in 'system/package/os/io.github.syllo.nvtop/*', skipping it.

** (process:32087): WARNING **: 09:29:33.848: Found icon of unknown type 'unknown' in 'system/package/os/org.naev.Naev/*', skipping it.

** (process:32087): WARNING **: 09:29:33.864: Found icon of unknown type 'unknown' in 'system/package/os/io.poez.Poezio/*', skipping it.

** (process:32087): WARNING **: 09:29:33.870: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.deckcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.875: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.artcraft-launcher/*', skipping it.

** (process:32087): WARNING **: 09:29:33.878: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.photocraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.885: Found icon of unknown type 'unknown' in 'system/package/os/org.luanti.luanti/*', skipping it.

** (process:32087): WARNING **: 09:29:33.887: Found icon of unknown type 'unknown' in 'system/package/os/com.kdocker.KDocker.desktop/*', skipping it.

** (process:32087): WARNING **: 09:29:33.895: Found icon of unknown type 'unknown' in 'system/package/os/io.poez.Poezio/*', skipping it.

** (process:32087): WARNING **: 09:29:33.904: Found icon of unknown type 'unknown' in 'system/package/os/im.dino.Dino/*', skipping it.

** (process:32087): WARNING **: 09:29:33.905: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.pdfcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.915: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.effectcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.915: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.cadcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.916: Found icon of unknown type 'unknown' in 'system/package/os/org.luanti.luanti/*', skipping it.

** (process:32087): WARNING **: 09:29:33.919: Found icon of unknown type 'unknown' in 'system/package/os/com.kdocker.KDocker.desktop/*', skipping it.

** (process:32087): WARNING **: 09:29:33.929: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.soundcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.935: Found icon of unknown type 'unknown' in 'system/package/os/im.dino.Dino/*', skipping it.

** (process:32087): WARNING **: 09:29:33.936: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.pdfcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.944: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.effectcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.945: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.cadcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.952: Found icon of unknown type 'unknown' in 'system/package/os/com.bhh32.gui-scale-applet/*', skipping it.

** (process:32087): WARNING **: 09:29:33.959: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.discover.appstreampreview/*', skipping it.

** (process:32087): WARNING **: 09:29:33.960: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.soundcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.984: Found icon of unknown type 'unknown' in 'system/package/os/com.bhh32.gui-scale-applet/*', skipping it.

** (process:32087): WARNING **: 09:29:33.989: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.discover.appstreampreview/*', skipping it.

** (process:32087): WARNING **: 09:29:33.996: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.figcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:33.999: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.designcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:34.029: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.figcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:34.031: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.designcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:34.035: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.filmcraft/*', skipping it.

** (process:32087): WARNING **: 09:29:34.066: Found icon of unknown type 'unknown' in 'system/package/os/ai.storyteller.filmcraft/*', skipping it.
PackageKitBackend: No distro component found for "org.opensuse.opensuse-tumbleweed"
packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
AppStreamIntegration: No distro component found for "org.opensuse.opensuse-tumbleweed"
packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"

No, from the main account. And the output at the moment it’s “hanging”, We already found out the new user does not experience the issue, so it is not a system problem, but something in your main user’s homedir. Please also include de trailing prompt ( if any ).

Okay, I understand that.
Unfortunately when I try to open Discover after I closed it on my main account, there is no output at all when I launch it from the terminal.

That is weird. It should give the kind of output you saw in the other account.
Try this:

rm -rf ~/.cache/discover
rm ~/.config/discoverrc
rm -rf ~/.local/share/discover

Then see what happens

The same remains after removing these.

Any customizations done on plasma?

I use the Oxygen theme.
I also have some additional repos added, namely the VLC repo and patterns for the Cosmic desktop.

That could be the culprit. Try switching back to Breeze or Breeze Dark and see if the issue persists.

Setting up Oxygen on the fresh account doesn’t break Discover so it shouldn’t be the issue.