[digiKam-users] DIgikam 7.1 on Mac OS can images be opened with external editor?

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

[digiKam-users] DIgikam 7.1 on Mac OS can images be opened with external editor?

robert lindsay
I've tried right clicking on the image but the only option is "open" which brings up the internal editor. I'd Ideally like to have it be able to open Affinity or Dx0


Reply | Threaded
Open this post in threaded view
|

Re: DIgikam 7.1 on Mac OS can images be opened with external editor?

Gilles Caulier-4
Hi Robert,

In fact yes and not. You can use open with the default macOS
application from the Item menu. It will call Finder to open the
default application registered in macOS to open this kind of image.

For the Open With... feature, I haven't yet found the right code
(osascript by preference, or Objective C) to call Finder and to show
the open with dialog from macOS.

Example of osascript in digiKam to open Finder and select current
items from album thumbnails view :

https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/threadimageio/engine/dfileoperations.cpp#L301

All help is welcome.

Gilles Caulier

Le jeu. 28 janv. 2021 à 23:34, robert lindsay
<[hidden email]> a écrit :
>
> I've tried right clicking on the image but the only option is "open" which brings up the internal editor. I'd Ideally like to have it be able to open Affinity or Dx0
>
>
Reply | Threaded
Open this post in threaded view
|

Re: DIgikam 7.1 on Mac OS can images be opened with external editor?

robert lindsay
OK I got this this information from a friend that is a mac developer. Hopefully this will help you.



On Fri, Jan 29, 2021 at 4:34 AM Gilles Caulier <[hidden email]> wrote:
Hi Robert,

In fact yes and not. You can use open with the default macOS
application from the Item menu. It will call Finder to open the
default application registered in macOS to open this kind of image.

For the Open With... feature, I haven't yet found the right code
(osascript by preference, or Objective C) to call Finder and to show
the open with dialog from macOS.

Example of osascript in digiKam to open Finder and select current
items from album thumbnails view :

https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/threadimageio/engine/dfileoperations.cpp#L301

All help is welcome.

Gilles Caulier

Le jeu. 28 janv. 2021 à 23:34, robert lindsay
<[hidden email]> a écrit :
>
> I've tried right clicking on the image but the only option is "open" which brings up the internal editor. I'd Ideally like to have it be able to open Affinity or Dx0
>
>

AppsForFileExtension.cpp (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: DIgikam 7.1 on Mac OS can images be opened with external editor?

Gilles Caulier-4
Thanks Robert.

I open a file in bugzilla with your code proposal :

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

We will take a look at how to implement this file later.

Best regards

Gilles Caulier

Le dim. 31 janv. 2021 à 04:20, robert lindsay
<[hidden email]> a écrit :

>
> OK I got this this information from a friend that is a mac developer. Hopefully this will help you.
>
>
>
> On Fri, Jan 29, 2021 at 4:34 AM Gilles Caulier <[hidden email]> wrote:
>>
>> Hi Robert,
>>
>> In fact yes and not. You can use open with the default macOS
>> application from the Item menu. It will call Finder to open the
>> default application registered in macOS to open this kind of image.
>>
>> For the Open With... feature, I haven't yet found the right code
>> (osascript by preference, or Objective C) to call Finder and to show
>> the open with dialog from macOS.
>>
>> Example of osascript in digiKam to open Finder and select current
>> items from album thumbnails view :
>>
>> https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/threadimageio/engine/dfileoperations.cpp#L301
>>
>> All help is welcome.
>>
>> Gilles Caulier
>>
>> Le jeu. 28 janv. 2021 à 23:34, robert lindsay
>> <[hidden email]> a écrit :
>> >
>> > I've tried right clicking on the image but the only option is "open" which brings up the internal editor. I'd Ideally like to have it be able to open Affinity or Dx0
>> >
>> >