[digikam] [Bug 379956] New: Can't open a file with a shell script from digiKam

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 379956] New: Can't open a file with a shell script from digiKam

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=379956

            Bug ID: 379956
           Summary: Can't open a file with a shell script from digiKam
           Product: digikam
           Version: 5.5.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: AlbumsView
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

I have added few bash scripts to the system "Open with" menu.
Normally I select files - right click - "open with" - select the script.
Everything works just fine from my file manager (dolphin) but it is not working
from digikam.
Any ideas on why is this happening?

https://youtu.be/jT1wo0aKJuo

To reproduce the issue you can create a test script test.sh and make it
executable:
----beginning of the code---
#!/usr/bin/env bash
for FILE in "$@"; do
echo "File is "$FILE" "
done
----end of the code----

then create test.desktop file, copy it to $HOME/.local/share/applications/ and
make executable.

---beginning of the code----
[Desktop Entry]
Categories=AudioVideo;Video;
Comment=Test
Exec="/PATH/TO/test.sh" %F
GenericName=Test
Icon=
MimeType=video/x-msvideo;video/quicktime;video/mpeg;video/mp4;
Name=Test
NoDisplay=false
Path=
StartupNotify=true
Terminal=true
TerminalOptions=\s--noclose
Type=Application
Version=1.0
X-DBUS-ServiceName=
X-DBUS-StartupType=none
X-KDE-SubstituteUID=false
X-KDE-Username=
----end of the code----

Then open Dolphin - select few video files - open with - Test
which will work.

Then open digiKam - select few video files - open with - Test
it won't work.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 379956] Can't open a file with a shell script from digiKam

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=379956

--- Comment #1 from wildcowboy <[hidden email]> ---
I think this is fixed. I am able to open images with my script in digikam 5.6.0
appimage

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 379956] Can't open a file with a shell script from digiKam

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=379956

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |5.6.0
         Resolution|---                         |FIXED

--- Comment #2 from [hidden email] ---
Good news. Closed...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 379956] Can't open a file with a shell script from digiKam

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=379956

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|AlbumsView                  |Interroperability

--
You are receiving this mail because:
You are the assignee for the bug.