Bug 159022 - Color picker: Popular colors ...
Summary: Color picker: Popular colors ...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.2.0.0 beta1+
Hardware: All All
: medium enhancement
Assignee: Miklos Vajna
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Color-Picker-Dialog Area-Fill-Tab
  Show dependency treegraph
 
Reported: 2024-01-04 15:34 UTC by Michael Meeks
Modified: 2024-01-15 10:08 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Meeks 2024-01-04 15:34:34 UTC
Some UX feedback from users of COOL / Calc is that they really want to use 'recent colors' in a given document across machines. We could do this by stuffing yet more UI state into every file - but that seems silly.

Instead - I'd like to see if we can grok the item-pools to find eg. all the styles with background set, and (if we have a helpful reference count) get the top eight one sorted by some rough usage heuristic; and include these into the color picker: with a "Popular colors" section or somesuch.

This it seems would meet 99% of their use-case, and (hopefully) not be horribly hard. It seems most calc sheets use only a few colors to highlight cells so the set is probably quite small.

I assume we could do the same for various other color pickers too by hunting for different color attributes (?)

Thanks!
Comment 1 m_a_riosv 2024-01-05 01:05:23 UTC
If I'm not wrong, it is a request for enhancement.
Comment 2 Heiko Tietze 2024-01-05 10:05:56 UTC
I'm hesitant to make the simple control more complex. And isn't it a task for templates? Or the document themes thingy.

Besides, the "new" color picker done for bug 94551 has the "Custom" palette where all user-defined colors are added. And this extension [1] exports the Custom palette so it can be added elsewhere.


[1] https://extensions.libreoffice.org/en/extensions/show/custom-palette-eport
Comment 3 Michael Meeks 2024-01-05 10:28:49 UTC
The user problem is: "I want to use the same color as is already in the document for this new <thing>" - and inevitably it is not a style color, or a theme color - it is some hard-coded, selected color present in the document; and this is thus very hard to fix. Perhaps another option would be to have a whole-document 'color picker' feature in the picker that might solve the same problem I guess.
Comment 4 Heiko Tietze 2024-01-05 12:10:11 UTC
Duplicate?

Bug 84577 - Custom color dialog should be able to grab colors from document
Bug 93813 - Integration of a color picker/pipette dropper control into the sidebar and color picker dialog
Bug 107380 - [META] Document colors palette issues
Comment 5 Telesto 2024-01-05 13:35:47 UTC
(In reply to Heiko Tietze from comment #4)
> Duplicate?
> 
> Bug 84577 - Custom color dialog should be able to grab colors from document
> Bug 93813 - Integration of a color picker/pipette dropper control into the
> sidebar and color picker dialog
> Bug 107380 - [META] Document colors palette issues

Bug 93813 is a duplicate of bug 84577 (or visa versa). The title of bug 84577 doesn't properly summarize the request.

The color picker idea is nice, however it probably doesn't solve the problem. It doesn't the required scale. Multiple people working on same document on multiple machines want to use the existing colors quickly. Not spending time to add the colors manually one by one each time the use the document (way to time consuming, I guess)

Couple of possibility's:
1. Color picker (clumsy)
2. Extract the most used colors from a document on file open (works for any file)
3. Store the last used colors (or custom pallet) inside the document (likely limited to native format; and probably not allowed by document specifications)
4. People should rely on custom cell styles (different workflow; possible compatibility with MSO file format)
Comment 6 Heiko Tietze 2024-01-05 13:43:15 UTC
(In reply to Telesto from comment #5)
> 2. Extract the most used colors from a document on file open (works for any
> file)
Known as "Document colors" with all the issues listed in bug 107380. Not to confuse with the Theme Colors, see bug 151507.
Comment 7 Michael Meeks 2024-01-08 09:20:47 UTC
Interestingly, it seems we already take the existing color of the attribute we're picking for into the recent colors list at the end which is rather nice =)
Comment 8 Michael Meeks 2024-01-15 09:49:53 UTC
Hmm - so I think this is actually just ignorance - the "Document Colors" palette which we already have does this, and we just exposed in LOK/Online =) so I'll tentatively close.
Comment 9 steve 2024-01-15 10:08:11 UTC
no commmit -> no fix. notabug seems to fit from the conversation in this bug. Feel free to change if you disagree.