Bug 431874

Summary: Can't launch PackageKit-installed apps on openSUSE distros from within Discover
Product: [Applications] Discover Reporter: Tobias G. <kde-bugzilla.oink169>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, kinofhek, nate
Priority: VHI Keywords: regression
Version First Reported In: 5.20.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tobias G. 2021-01-21 13:15:03 UTC
SUMMARY
When trying to start krita that was installed from system repositories doesn't work. Either nothing happens or the message: "couldn't find package" is shown

STEPS TO REPRODUCE
1. Open Discover
2. Install Krita
3. Try to start Krita in Discover

OBSERVED RESULT
Krita doesn't start

EXPECTED RESULT
Krita starts

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
Operating System: openSUSE Tumbleweed 20210119
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.7-1-default
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz
Memory: 23.4 GiB of RAM
Graphics Processor: GeForce GTX 1080/PCIe/SSE2

ADDITIONAL INFORMATION
The output when starting Discover in a terminal:
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/ActionToolBar.qml:110:18: QML ToolBarLayout: Binding loop detected for property "actions"
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/ActionToolBar.qml:110:18: QML ToolBarLayout: Binding loop detected for property "actions"
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth"
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:65:9: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "maximumWidth"
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/ActionToolBar.qml:110:18: QML ToolBarLayout: Binding loop detected for property "actions"
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
qml: message: Krita kann nicht gestartet werden
qml: message: Krita kann nicht gestartet werden
qml: message: Krita kann nicht gestartet werden
qml: message: Krita kann nicht gestartet werden
qml: message: Krita kann nicht gestartet werden
qml: message: Krita kann nicht gestartet werden
(translation: "Krita could not be started")
(this happens when no message is shown, Krita just doesn't start)
PackageKit stopped running!
Transaction error:  "couldn't find package" 
(this happens when "couldn't find package" message is shown)
PackageKit::Transaction(0x5639c6c8c6b0)
qml: message: couldn't find package
PackageKit stopped running!
Comment 1 Nate Graham 2021-01-22 17:38:19 UTC
Can reproduce on openSUSE Tumbleweed. Does not seem to be the same issue as Bug 412986 as the symptoms are a bit different (something is printed to the console this time).
Comment 2 Nate Graham 2021-04-13 14:24:46 UTC
*** Bug 435661 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2021-05-17 15:54:25 UTC
This seems to be working for me now. All apps tested launch via the button, except for Blender. I suspect that to be a packaging issue.
Comment 4 Aleix Pol 2021-05-18 02:04:14 UTC
No error message on the terminal for blender?
Comment 5 Nate Graham 2021-05-18 02:38:48 UTC
Nope, nothing at all. :(

What's weird is that Blender briefly shows up in the task manager with its launch feedback animation and then it disappears, but the app isn't launched.