| Summary: | Can't execute desktop files/scripts in Konsole Flatpak | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Nate Graham <nate> |
| Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | kdelibs-bugs-null, nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Flatpak | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Nate Graham
2024-10-29 21:58:46 UTC
relevant code is at https://invent.kde.org/frameworks/kio/-/blob/master/src/core/desktopexecparser.cpp#L491 It doesn't handle this correctly, it should be looking up terminal apps by desktop entry name, not command. KTerminalLauncherJob handles this much better: https://invent.kde.org/frameworks/kio/-/blob/master/src/gui/kterminallauncherjob.cpp#L85 Would it make sense to port it to use KTerminalLauncherJob directly? Maybe. Or extract the relevant part of it into a shared function |