Bug 466670

Summary: Discover fails to load when run with an unknown --mode
Product: [Applications] Discover Reporter: Jonathan Wakely <zilla>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: aleixpol, nate
Priority: LO    
Version First Reported In: 5.27.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jonathan Wakely 2023-03-01 18:25:38 UTC
SUMMARY

Running 'plasma-discover --mode updates' opens with a "Loading..." progress bar that never makes progress. It just hangs there forever.



STEPS TO REPRODUCE
1.  plasma-discover --mode updates
2. 
3. 

OBSERVED RESULT

Discover prints an error to the terminal, then opens the GUI but just shows "Loading..." forever.

$ plasma-discover --mode updates
adding empty sources model QStandardItemModel(0x564516a39890)
org.kde.plasma.discover: unknown mode "updates" ("Browsing", "Installed", "Search", "Update", "Sources", "About")
org.kde.plasma.discover: couldn't open mode "updates"
packagekitqt.transaction: Unknown Transaction property: "Sender" QVariant(QString, ":1.14386")




EXPECTED RESULT

Go to Home or some other mode instead.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.11-200.fc37.x86_64 (64-bit)
Graphics Platform: X11



ADDITIONAL INFORMATION