Bug 411178

Summary: Calling kRun.openUrl from QML stopped working in KF5 5.61.0
Product: [Frameworks and Libraries] frameworks-kio Reporter: Daniel Faust <hessijames>
Component: generalAssignee: David Faure <faure>
Status: REPORTED ---    
Severity: normal CC: kde, kdelibs-bugs
Priority: NOR    
Version: 5.61.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel Faust 2019-08-22 15:52:05 UTC
I'm the author of a QML Plasma applet that launches applications using kio.kRun.openUrl. openUrl is called with the application's .desktop file as the argument. This used to work until KF5 5.61.0. Now kwrite opens with the .desktop file loaded.

Relevant code: https://github.com/dfaust/plasma-applet-popup-launcher/blob/322e0518bb10157972311fa018c08c76fda45fde/package/contents/ui/FullRepresentation.qml#L93
Github issue: https://github.com/dfaust/plasma-applet-popup-launcher/issues/8

Operating System: openSUSE Tumbleweed 20190810
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0
Comment 1 Kai Uwe Broulik 2019-08-22 16:26:15 UTC
There were some changes to that part recently, possibly causing this:
https://cgit.kde.org/kdeclarative.git/commit/?id=52b1133c3dcd3dbcce3e221090f4e8cee8e023f4 (most likely)
https://cgit.kde.org/kdeclarative.git/commit/?id=41d5c34874b85884e1cab254d7f923a3504f74b2