Duplicate .uno commands

Miklos Vajna vmiklos at collabora.com
Fri Jan 3 08:28:56 UTC 2020


Hi Mike,

On Thu, Jan 02, 2020 at 07:23:36AM +0000, Kaganski Mike <mikekaganski at hotmail.com> wrote:
> The problem with this, besides duplication itself (including e.g. 
> drawing icons), is that both of them appear in customization dialog, and 
> that's confusing.

You can avoid duplicated icons via icon-themes/.../links.txt.

> Having two elements in customization dialog with same 
> name, but different operation, as often happening, is already bad enough 
> (user has to experiment to find the one that is needed; that was handled 
> partially in tdf#108458); but having two totally identical elements is 
> too much IMO. Users would struggle to find the difference; and anyway 
> assume they just didn't find the scenario where they act differently.

Can't we label the deprecated one as "... (deprecated)"?

> The question is: how to handle this? I suppose that one of them 
> (.uno:BulletsAndNumberingDialog) should be deprecated and hidden from 
> the customization UI, and its uses replaced with the other. I suppose we 
> can't drop it completely for compatibility reasons (might it be used in 
> user code?).

Yes, you can dispatch uno commands from extensions or in-document
macros, so removing uno commands is an incompatible change (so you
always need to consider costs and benefits).

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20200103/0d4606c2/attachment.sig>


More information about the LibreOffice mailing list