Bug 411178 - Calling kRun.openUrl from QML stopped working in KF5 5.61.0
Summary: Calling kRun.openUrl from QML stopped working in KF5 5.61.0
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.61.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-22 15:52 UTC by Daniel Faust
Modified: 2019-08-22 16:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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