After updating to plasma 5.17.5, when I click widgets (plasmoids?) that execute some .desktop file, now instead of executing the command it points to, it opens the actual .desktop file in a text editor. Example with this widget: https://store.kde.org/p/998908/ https://github.com/kotelnik/plasma-applet-resources-monitor In plasma <= 5.14, if I put that widget somewhere (e.g. in the taskbar) and click it, it would launch ksysguard, but now it just opens the .desktop file in my default text editor. Steps to reproduce: * Have some widget that would launch a .desktop file when clicked. * Click said widget. Expected behavior: should launch the application from the .desktop file. Actual behavior: opens the .desktop file in a text editor.
BTW, executing 'xdg-open the_file.desktop' also opens it in a text editor.
Does it happen with any built-in widgets? How about if you drag an app from the launcher menu to the desktop and double-click on it? Does that also fail?
(In reply to Nate Graham from comment #2) > Does it happen with any built-in widgets? How about if you drag an app from > the launcher menu to the desktop and double-click on it? Does that also fail? If I copy a .desktop file and put it under ~/Desktop, it will launch the app when I click it.
Hmm, sounds like an issue with those widgets then. Can you report this to their developers? Thanks!
(In reply to Nate Graham from comment #4) > Hmm, sounds like an issue with those widgets then. Can you report this to > their developers? Thanks! But I didn't update the widget, and it has been working since the earlier plasma5 releases. Also I think the gnome and xfce equivalents of xdg-open still launch .desktop files.
FYI, found a fork of the widget that solved the issue, and from the commit that did it, looks like it was something with KIO: https://github.com/XutaxKamay/plasma-applet-resources-monitor/commit/fe5332589cb839327ce89f03645a93934c0ab2c6