Bug 453870

Summary: Download/Install new service menu fails
Product: [Applications] dolphin Reporter: Juan Simón <decedion>
Component: generalAssignee: Alexander Lohnau <alexander.lohnau>
Status: RESOLVED FIXED    
Severity: major CC: alexander.lohnau, kfm-devel, nate
Priority: NOR    
Version: 22.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 22.04.2

Description Juan Simón 2022-05-16 07:45:15 UTC
```
Operating System: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.17.6-zen1-1-zen (64-bit)
Graphics Platform: X11
```
------------------------------------------------------------
I have tried to add several services from the Dolphin option: `Configure` > `Configure Dolphin` > `Context menu` > `Download new services` but it fails:
```
An error occurred during the installation process:
Installation failed with code 1 when trying to execute the command:
servicemenuinstaller install /home/juan/.local/share/servicemenu-download/comic-book-kservicemenu_1.3.3.tar.gz

The returned output was:
"An install script could not be found in /home/juan/.local/share/servicemenu-download/comic-book-kservicemenu_1.3.3.tar.gz-dir."
```
I have tried to install this one: https://store.kde.org/p/1235423 and this one: https://store.kde.org/p/1754455, but both fail with the same error.
Comment 1 Bug Janitor Service 2022-05-18 06:14:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/395
Comment 2 Alexander Lohnau 2022-05-20 04:31:41 UTC
Git commit 9bdb36abf09fbae9ba045b95bcf1b676c8e5da41 by Alexander Lohnau.
Committed on 20/05/2022 at 04:26.
Pushed by alex into branch 'master'.

Fix QDirIterator wildcard when fallback install script is searched for

Otherwise, we do not find scripts like "install-user.sh".

M  +1    -1    src/settings/contextmenu/servicemenuinstaller/servicemenuinstaller.cpp

https://invent.kde.org/system/dolphin/commit/9bdb36abf09fbae9ba045b95bcf1b676c8e5da41
Comment 3 Alexander Lohnau 2022-05-20 04:32:20 UTC
Git commit f932b6eb9fc8567f4615d6b32e8cea1a9839c3f1 by Alexander Lohnau.
Committed on 20/05/2022 at 04:32.
Pushed by alex into branch 'release/22.04'.

Fix QDirIterator wildcard when fallback install script is searched for

Otherwise, we do not find scripts like "install-user.sh".


(cherry picked from commit 9bdb36abf09fbae9ba045b95bcf1b676c8e5da41)

M  +1    -1    src/settings/contextmenu/servicemenuinstaller/servicemenuinstaller.cpp

https://invent.kde.org/system/dolphin/commit/f932b6eb9fc8567f4615d6b32e8cea1a9839c3f1