Bug 415845 - configurable "open with" menu under Windows
Summary: configurable "open with" menu under Windows
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-OpenWith (show other bugs)
Version: 7.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-03 16:23 UTC by Martin
Modified: 2024-03-05 20:35 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.3.0


Attachments
A73DDEF3A6E24FB9B72BA136DDBAEE7D.png (32.64 KB, image/png)
2020-01-03 18:32 UTC, Martin
Details
double commender (99.87 KB, image/jpeg)
2020-01-03 18:49 UTC, Martin
Details
double commander (119.82 KB, image/jpeg)
2020-01-03 18:49 UTC, Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2020-01-03 16:23:42 UTC
in Windows esp. in Windows 10 it's a pitty to configure the OS "open with" context menu.

To overcome this it would be great to have a digikam integrated "open with" menu which one can configure i.e. by editing a XML file or alike. This digikam "open with" menu doesn't need to be a context menu it also could be a drop down menu from the main menu.

SOFTWARE/OS VERSIONS
Windows: 10 version 1903
digikam version 7.0.0 beta
Comment 1 caulier.gilles 2020-01-03 16:40:50 UTC
Do you know an open source application running under Windows which implement "open with..." like under Linux.

I want mean, under linux there is external application discovered through .desktop file. This mechanism is not portable, but i'm sure that Open With can be automatized under Windows.

How Scribus, Clementine, Firefox, LibreOffice, etc. deal with this kind of feature ?

Note : Qt do not provide a solution for this problem...

Gilles Caulier
Comment 2 Martin 2020-01-03 18:32:53 UTC
Created attachment 124878 [details]
A73DDEF3A6E24FB9B72BA136DDBAEE7D.png

No, I don’t know an open source which replaces „open with“ in Windows, but I will have a look

In Scribus you have ti define the paths to some programs – sorry Image is in German … but it will work I hope

Look at „Bildbearbeitungsprogramm“ here you have to define the Name and path to gimp or some other

[cid:image001.png@01D5C26C.1724C580]

So Scribus isn’t using the „open with“ from the OS

Let me check if I can find an open source Explorer or something for Windows – free but closed source I could name some 😊 i.e. XnvieMP, which does it inside the Programm – it’s also available for Linux, but closed source


Cheers
Martin


Von: bugzilla_noreply@kde.org<mailto:bugzilla_noreply@kde.org>
Gesendet: Freitag, 3. Januar 2020 17:40
An: m.malepo@hotmail.com<mailto:m.malepo@hotmail.com>
Betreff: [digikam] [Bug 415845] configurable "open with" menu

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

caulier.gilles@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caulier.gilles@gmail.com

--- Comment #1 from caulier.gilles@gmail.com ---
Do you know an open source application running under Windows which implement
"open with..." like under Linux.

I want mean, under linux there is external application discovered through
.desktop file. This mechanism is not portable, but i'm sure that Open With can
be automatized under Windows.

How Scribus, Clementine, Firefox, LibreOffice, etc. deal with this kind of
feature ?

Note : Qt do not provide a solution for this problem...

Gilles Caulier

--
You are receiving this mail because:
You reported the bug.
Comment 3 Martin 2020-01-03 18:49:26 UTC
Created attachment 124879 [details]
double commender
Comment 4 Martin 2020-01-03 18:49:49 UTC
Created attachment 124880 [details]
double commander
Comment 5 Martin 2020-01-03 18:52:59 UTC
ok I found this: double Commender (https://doublecmd.sourceforge.io/)

inside this you can configure an so called "action" menu which will then included inside the Windows contect menu - see image of comment 3

for each mime type you can configure several actions - see image of comment 4
Comment 6 Martin 2020-01-03 19:53:02 UTC
there would be another possibility - a thing called KuShellExtension (https://sourceforge.net/p/kushellext/code/ci/master/tree/).

This small thing adds menues to the Windows OS contect menu and those show up in explorer and others but not inside digikam - so if it would be possible to show those menu items from KuShellExtension, then it would be fully konfigurable to whatever you need
Comment 7 Fredrik Viklund 2020-12-26 20:43:08 UTC
Agree this would be a very valuable setting! In many cases, the default application for opening a photo (e.g. photo viewer) is not the same I use to edit the photo (e.g. Gimp or RawTherapee). Also, it would be extremely useful to be able to choose between two or more applications to edit or process a file. It would be a great addition on all platforms.

It can be implemented in many ways. A flexible solution would be:
* In settings dialogue, add a tab for "External tools" where the user can define external tools by setting:
  - Name (in context menu)
  - path to executable
  - command line options (including suitable variables for current file name and path)
  - file types for which the tool should be displayed in the context menu

Simpler, but less flexible, is to define some common tools where the user can give the path to the executable. An example can be found in RawTherapee.
https://rawpedia.rawtherapee.com/Preferences#External_Editor
Comment 8 Maik Qualmann 2023-03-26 09:11:52 UTC
*** Bug 467805 has been marked as a duplicate of this bug. ***
Comment 9 Maik Qualmann 2024-03-05 20:34:25 UTC
We started with digiKam-8.3.0 to create/support *.desktop files under Windows. This makes it possible to integrate programs into an "Open with..." menu. Various *.desktop files are already available as standard, such as Darktable, RawTherapee, Windows Media Player, Microsoft Paint, VLC Player, DxO PhotoLab 7, etc. If these programs are available, they will be displayed in the menu.
It is possible to create your own *.desktop files under "C:\Users\%USERNAME%\AppData\Local\applications".

A typical *.desktop file looks like this:

-------------------------------------------------------------------------------
[Desktop Entry]
Type=Application
Name=Gimp
Exec="%ProgramFiles%/GIMP 2/bin/gimp-2.10.exe" %f
Icon="%ProgramFiles%/GIMP 2/bin/gimp-2.10.exe"
MimeType=image/jpg;image/raw
-------------------------------------------------------------------------------

I'm closing this bug now.

Maik