Re: Duplicate .uno commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mike,

On Thu, Jan 02, 2020 at 07:23:36AM +0000, Kaganski Mike <mikekaganski@xxxxxxxxxxx> 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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux