Issue 122302

Summary: [sidebar] Color controls in text property panel have different functionality from toolbar
Product: General Reporter: Andre <awf.aoo>
Component: uiAssignee: Andre <awf.aoo>
Status: RESOLVED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: issues
Version: 4.0.0-dev   
Target Milestone: 4.0.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 121420    

Description Andre 2013-05-13 12:36:28 UTC
The controls for changing font and highlight color have different functionality for text in Writer: when there is no selection then a click on the font color and highlight color buttons changes to water can mode that allows coloring text just like setting a text selection with the mouse.
This water can mode is missing from the color controls in the text property panel.

The reason for the different functionality is that the sidebar panel does not use the toolbox controls of the toolbar.
Comment 1 SVN Robot 2013-05-14 15:24:35 UTC
"af" committed SVN revision 1482384 into trunk:
122302: Use tool bar controls for color controls in text property panel.
Comment 2 Andre 2013-05-14 15:40:03 UTC
Changed the text property panel to use the regular toolbar controls for font color and highlight.  To do this in a way that allows more such changes in the future I moved some of the tool box code from InsertPropertyPanel to SidebarToolBox so that SidebarToolBox now can automatically set up its controls from a resource file.  For this it needs
   Command = ".uno:...";
lines in the ToolBoxItem definitions.

As a result the color controls in both the tool bar and the text property panel should behave identical now.
Comment 3 SVN Robot 2013-05-14 16:26:38 UTC
"af" committed SVN revision 1482424 into trunk:
122302: Added missing includes.