Summary: | Opening pinned app that's a non-distro-provided executable fails with the error message "For security reasons, launching executables is not allowed in this context" | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Riccardo Robecchi <sephiroth_pk> |
Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Eike Hein <hein> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | apandada1, bizyaev, herzenschein, jarrard, kdelibs-bugs, nate, plasma-bugs, virdignus |
Priority: | VHI | Keywords: | regression |
Version: | 5.21.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/849cb67fcf8ff928074e5a0719efcbd90b11a75d | Version Fixed In: | 5.21.1 |
Sentry Crash Report: |
Description
Riccardo Robecchi
2021-02-18 09:37:53 UTC
Getting multiple user reports of this in support channels. Raising priority. For people experiencing this, what kind of apps are you opening? AppImages? Executables via .desktop files? etc. And how are they being Launched? From the Task manager? Kickoff? Dolphin? The desktop? etc. We'll need these kinds of details to triage the issue. In my case it's the WordPress app, installed through the official .deb and launched via Latte using a .desktop file. Launching from any other place works fine (Kickoff, panel, Dolphin). So it works if you launch it from a Task Manager applet on a Plasma Panel, but not on a Task manager applet on a Latte Dock? Or are we talking about Icon applets on the panel/dock? (In reply to Nate Graham from comment #3) > So it works if you launch it from a Task Manager applet on a Plasma Panel, > but not on a Task manager applet on a Latte Dock? Or are we talking about > Icon applets on the panel/dock? I hadn't tried with the Task Manager applet on a Plasma panel because I don't use it. I've just tried it, though, and it's the same as using Latte Dock: it throws the error. If I use an Icon applet it works as expected. Thanks. I see that you changed the title, but I'm not entirely sure that the provenance is what makes a difference. I also use Bluegriffon, Steam, ZenKit To Do and Waterfox, all manually installed through a .deb file, and they all work fine. Exactly, those are all non-distro-provided executables. :) A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/656 Git commit 83f9c9c45be2388bfebbf75d6644b34a513d612a by Alexander Lohnau. Committed on 18/02/2021 at 20:32. Pushed by alex into branch 'master'. libtaskmanager: Allow to launch executables I stumbled upon this when pinning qdbus viewer and it seems to be the same issue that many people have. FIXED-IN: 5.21.1 M +1 -0 libtaskmanager/tasktools.cpp https://invent.kde.org/plasma/plasma-workspace/commit/83f9c9c45be2388bfebbf75d6644b34a513d612a Git commit 849cb67fcf8ff928074e5a0719efcbd90b11a75d by Alexander Lohnau. Committed on 18/02/2021 at 21:33. Pushed by alex into branch 'Plasma/5.21'. libtaskmanager: Allow to launch executables I stumbled upon this when pinning qdbus viewer and it seems to be the same issue that many people have. FIXED-IN: 5.21.1 M +1 -0 libtaskmanager/tasktools.cpp https://invent.kde.org/plasma/plasma-workspace/commit/849cb67fcf8ff928074e5a0719efcbd90b11a75d It seems there's the same bug with app shortcuts that were dragged onto the desktop Probably needs the same fix as here. Can you file a new bug report for that? Thanks! Similar issue happens for xournalpp 1.1.0+dev version (https://github.com/xournalpp/xournalpp/) After upgrading to Plasma 5.21 (in KDE Neon User Edition), the application fails to launch from Latte Dock, showing the error "For security reasons, launching executables is not allowed in this context". Also, when I open the .desktop file, the xournalpp does open. However, the icon in Latte is different from what is shown in the .desktop file. This fix may also fix it in Latte Dock automatically, if it uses the Task Manager library. For some reason I still have this issue with Krunner and trying to execute a .EXE file. Works in Dolphin however just fine if right click select wine to run exe is used. If I double click on the exe it says security reason etc... I do have latte but doesn't explain dolphin not allowing double click on exe. (default app is set to wine) That's a different issue which is already fixed in Plasma 5.26. |