Subject: Re: bug#76120: [PATCH] Expose the native sharing dialog (macOS)

From: Björn Bidar <[email-masked]>
Date: Tue, 11 Feb 2025 00:14:22 +0200

Alvaro Ramirez <[email-masked]> writes:

> Stefan Kangas <[email-masked]> writes:
>
>> Eli Zaretskii <[email-masked]> writes:
>>
>>>> From: Stefan Kangas <[email-masked]>
>>>> Date: Mon, 10 Feb 2025 07:22:17 -0600
>>>> Cc: [email-masked], [email-masked]
>>>>
>>>> That makes sense to me, thanks.  So maybe we should just add the
>>>> proposed functionality to our already-existing context menus on
>>>> NS?
>>>
>>> That'd be my suggestion, yes.
>>
>> Álvaro, could you please rework your patch along these lines?
>
> Certainly! How about the following scope...
>
> 1. Add a "Share..." context menu item via context-menu-mode.
> 2. Make the "Share..." entry configurable (custom set to a function).
> 3. The default function invokes xdg-open on GNU/Linux and ns-share on
> macOS.
>
> Sound OK?

Since xdg-open isn't the same as "sharing" doesn't that only circumvent
the policy to not add functionality that is only supported on non-free
platforms?