Bug Hunting Session
Bug 61242 - Customise comments background color in Writer
Summary: Customise comments background color in Writer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 118147 122596 124065 (view as bug list)
Depends on:
Blocks: Writer-Comments
  Show dependency treegraph
 
Reported: 2013-02-21 17:18 UTC by Pablo San Martín
Modified: 2019-07-03 18:25 UTC (History)
13 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 Pablo San Martín 2013-02-21 17:18:22 UTC
In addition to the author-color association, it would be great to chose the default comment colour, so that whatever authors edited the document and in whatever sequence, and independently of the document being opened, the user could set that his/her notes should always be displayed in the same colour.
Comment 1 Ronny Standtke 2013-03-28 21:51:16 UTC
I just run into this issue. It would be great if comment colors could be changed *at all*.
Comment 2 Nico Dorn 2013-04-05 21:02:30 UTC
Confirmed. It's even more pressing since the nice comments to ranges feature landed which use a background color similar to the comment box.
Comment 3 manj_k 2014-04-15 16:32:56 UTC
See also: Bug 77488 - Ability to Control Note Colors
Comment 4 Marcus 2014-04-30 14:08:50 UTC
-Sorry bout the mails, I'm noob around here-

I strongly add my name under the list. This is not a marginal feature. In a scientific document, it would help a great deal to really adjust comments by color and default font.
Comment 5 ftr 2014-10-11 20:35:15 UTC
It is a pity that you have to print a comment with a background colour evene if you don't want or don't need it.
Getting the possibility to reset the background colour to none would help.
Comment 6 Joel Madero 2014-10-11 21:02:44 UTC
Sure - patches welcome . . .
Comment 7 peter josvai 2016-05-22 16:30:31 UTC
"This is not a marginal feature."  -- totally agree... +1

imagine working on your own document some time after you've once finished it... it's so stupid that your NEW comments (from 2016) will be indistinguishable from your comments from 2014, for example...

the changeable color would be a HUGE enhancement, I agree...
Comment 8 peter josvai 2016-05-22 16:35:50 UTC
I think, it's important to

#1 link one color to one user...
#2 and that even this user could have different colors for different sessions... 

(I mean, you start working in August on a document... your notes: COLOR #1.... 
you then get to the next stage.. say in September... 
the same document.. but it's already more developed... then you set your notes'c color to COLOR #2..

when you open a collaborative or editorial debate about it, say in October, you would like to keep your original notes, too... but also to make new ones..
then you'd like to use: COLOR #3 ...
for the same user :) 
)
Comment 9 Stan Armstrong 2017-02-01 19:01:45 UTC
Please add me to the list of those who will be notified when the enhancement is added. It is distressing in a Linux program not to be able to change the colours associated with a given author.

Perhaps if I keep adding different author names, I will find colours I can live with.

Meanwhile, could someone tell us what the algorithm is that LibreOffice uses to "automatically" assign colours.
Comment 10 Stan Armstrong 2017-02-08 18:34:10 UTC
I have experimented with this a bit. Comment colors appear to be assigned to users from a list of several colors. Does anyone know where that list is kept?

The colors are not assigned to a user name with any regard for the actual letters of that name. Rather they are assigned in an order that depends upon whether any other User name has been associated with that color during the current session.

With a fresh start of Writer, the color assigned to the current User name will always be yellow, even if that User name had in an earlier session been associated with a different color.

If you already have a yellow note in any document that has been opened in the current Writer session, and you change the User to a new name, and enter a comment, the background of that comment will be blue.

If you change to another different User, a new color will be assigned to that new User. (I have reached seven different colors in this list; there may be more.)

If you use the second User name as your usual name, then if you open a new document under that name, the color will still be blue for your comments. This is true even if the first document is closed before you create the second document.

However, if you close Libreoffice Writer and restart it, you will find that whatever you have set the User name to, that name will be associated with yellow in every document you open or create using that name during the current session.

This means that you cannot fool the system into assigning your usual user blue by default in all circumstances.

Here are two workarounds that will avoid the colors of old documents being changed from blue to yellow for subsequent Writer sessions:

1. In a new session, before opening any document, use Tools | Options to set the author to Dummy Name.
2. Create a dummy document.
3. Add a note. This note will be yellow and assigned to Dummy Name.
4. Now open an existing document with Your Name assigned to blue. All of the Your Name notes will now be blue. Or create a new document and enter a note; it will be blue.
5. Change the author back to Your Name. All subsequent notes will be blue, the second color in the hierarchy.

Clearly, this is a pain, but it illustrates what is going on:

If the current session of Writer has no comments associated with the current User name, it will use yellow, when that user creates a comment.

If at any time during a session of Writer, it discovers a different color associated with that User name, it will use that color for that User.

Such a previous association between a User name and a color may be either in the current document or in another document—whether or not that other document is still open, so long as the current Writer session has not been closed.

So, if I want to associate all of my comments with blue rather than yellow, I have two choices:

1. At the start of any Writer session open a document that already has yellow associated with some other User name, (be sure that Your Name has been selected as the User name), or

2. Before you begin writing/editing create a new document with the User "Dummy Name", create a bogus note, and then open or create the document I want to write/edit. Change the User name back to My Name. Then when I create a note in a new or existing document, it will be blue.

My apologies if this is hard to follow. It is hard for me to explain clearly. Surely the principles involve can be stated more succinctly. I just haven't found how to do it.

If I knew where Libreoffice stored the color hierarchy for notes, I could alter it to put blue in place of yellow, and my problem would be solved.
Comment 11 Stan Armstrong 2017-08-18 16:55:01 UTC
I have returned to wanting this enhancement to avoid the annoyance, confusion, and lack of stability of the present system of automatically assigning background colors to comments in Writer. If it is not feasible to give users more control over the colors, could an option to defeat the automatic scheme be provided? 

Several of those who have commented on this issue might be satisfied if the could either choose a static comment background color for their comments that would not depending upon what other users might do.

We can assign permanent text font colors and permanent highlighting colors. Could we not have a similar ability to choose colors for comment backgrounds.

I am a long time Linux user. I am used to having control over the details in ways that are not available to me when I work in Windows.
Comment 12 Pablo San Martín 2017-08-18 17:36:08 UTC
Yes, this feature would be really useful! I wonder whether it is too complicated to implement or whether it's never been a priority?
Comment 13 Dieter Praas 2018-06-13 20:35:14 UTC
*** Bug 118147 has been marked as a duplicate of this bug. ***
Comment 14 peter josvai 2018-10-31 20:30:38 UTC
I just changed my name in LiO "user data" and now the note colors happen to come up GREEN !! 
it is so beautiful !! unlike those ugly yellow ones, not to mention those blues...

customizing the colors would be so cool...
I can imagine that it takes a lot of work, but today everything is about the look and feel... a new version of an entire OS might be "awesome" because of the new colorful icons...
I mean, whatever the amount of work, it may be worth it
Comment 15 Xisco Faulí 2019-01-09 12:26:34 UTC
*** Bug 122596 has been marked as a duplicate of this bug. ***
Comment 16 Heiko Tietze 2019-05-03 09:16:40 UTC
*** Bug 124065 has been marked as a duplicate of this bug. ***