Bug 88748 - Font color shortcut not working writer
Summary: Font color shortcut not working writer
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: 4.2.8.2 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-23 13:03 UTC by hk80s
Modified: 2015-01-24 09:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description hk80s 2015-01-23 13:03:16 UTC
I tried to assign the keyboard shortcut to change the font color, but results were not as expected

Steps to reproduce:
1. Create a new Writer document
2. Go to Tools > Customize... > Keyboard
3. Select Format from the Category list and Blue (and red) from the Function list
4. Apply it to the keyboard combination of your choice (I chose Alt+B and Alt+R respectively)
5. Click OK
6. Type anything in the Writer document
7. Select some text
8. Press the keyboard combination from 4 above

Actual results:
The text color remains unchanged.

Expected results: 
The text color should become Blue/Red depending on key combination pressed as if chosen from color pallet.
Comment 1 tommy27 2015-01-24 09:26:25 UTC
you have misunderstood the function of those "red", "green" and "blue" items in the format categories.

those are not supposed to change the color of the font but they refer to RGB (red, green, blue) setting of image or graphic in documents.

try loading an .odt with a picture. click on that picture and you will see that the sidebar graphic menu will pop up showing the red, green and blue % menus.

if you aim to assign a custom shortcut to a specific color font you have to use the macro recorder.

enable it from "Tools/Options/LibreOffice/Advanced" and tick "enable macro recording"

then click "Tools/Macros/Record macro" and save your macro.
you just have to select a pre-existing text, then click on the font color dropdown selector to change the color of the font, when you have don stop recording and save the macro with a custom name (i.e. FontRed)

to assign it to a shortcut just open the customize keyboard menu you already know and select the LibreOffice macro from the category list, then locate your macro (it should be under "user") and assign it.

do the same thing for all the color you want.
you may also create custom macros with any specific font setting (i.e. blue font + bold + underlined) 

I hope these infos will help you.
so I set status to RESOLVED NOTABUG


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.