The new area fill options make it possible to add new colors, gradients, bitmaps, patterns and hatches. But after adding, it's not possible to rename it. You can only delete and re-add it but that's not user-friendly for example if you have added it in a sorted manner and deleting + re-adding would destroy that order.
Steps to reproduce:
- Open a Writer document.
- Go to Format > Paragraph > Area > Color
- Add a new color to the custom palette and enter a name.
There is no way to rename the color. (This also occurs for gradients, bitmaps, patterns and hatches.)
A rename button could be added beside the existing Add/Delete/Modify buttons.
(LibO version 18.104.22.168)
Definitely not as a button, that's a recipe for featuritis, but as a context menu. And we do have this function there, check the other sections such as gradients; everywhere except for solid colors. So yes, please add a function to rename custom colors.
The solid color section is a bit different to the other area fill options. During the design phase we talked about that and decided in the end to accept this inconsistency. And alternative solution could have been to show Add/Modify like everywhere else and to put the color name in an edit field that is enabled for custom colors only.
Smells like an easyhack, right?
Indeed, I missed the fact that in all others but the color tab a context menu exists that enables renaming and deleting of entries.
Wouldn't it be the easiest way to copy the button + contest menu design of Gradient/Bitmap/Pattern/Hatch tab to the Color tab - or do users more delete than modify colors in comparison to the other tabs? What's the advantage of the actual color tab design?
Personally (without any UX data) I would prefer to show Add/Modify in color tab like everywhere else and to put renaming and deleting to the context menu that is enabled for custom colors only.
Created attachment 143816 [details]
Libreoffice colors Palette Drop-Down
Libreoffice Version 22.214.171.124
I look forward to the ability to rename a color profile in Libreoffice via the GUI. Currently I just rename the file.
Under linux the .soc file is located:
Libreoffice then creates a .pack file with the same base name under:
However, I think the palettes installed as extensions are located under:
In addition to a Modify/Rename option, it would be helpful if the palette names in the Colors Palette drop-down were sorted. Currently there doesn't appear to be any sort order to the items in the list.
After reading the two blog enters below, I reviewed my color palettes and associated files. I have some files in my local directory with the same name as those on the shared system, and I wondered how that worked. Both entries, with the same name, appear in the drop-down, but in different locations in the list. The contents of some of the files are different, and for now I thought I would just rename the local files with a prefix until I have a better understanding.
Finding, in LibreOffice 6 on Linux, that custom palettes are no longer read from ...
... I have had to resort to using administrator privileges to place my .soc file at ...
This works for me, on a Linux desktop for myself. I am unsure how I'm going to deal with colleagues (on Windows or Mac desktops), when I send them an Impress presentation for editing). I guess they'll be restricted to the "Recent colors" that I've appended at the bottom of standard.soc .
(In reply to daviding from comment #5)
> ... I am unsure how I'm going
> to deal with colleagues (on Windows or Mac desktops), when I send them an
> Impress presentation for editing). I guess they'll be restricted to the
> "Recent colors" that I've appended at the bottom of standard.soc .
You can install palettes as an extension. And use my extension  to export the custom colors as that. Also, there would be the "Document colors" palette (but as reported in bug 84577 not working).
IIRC, palettes are sorted now alphabetically in 6.2.