You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/05/26 18:32:13 UTC

[Bug 122387] New: [sidebar] Font colour of text inside a shape in Writer not set by toolbar item

https://issues.apache.org/ooo/show_bug.cgi?id=122387

            Bug ID: 122387
        Issue Type: DEFECT
           Summary: [sidebar] Font colour of text inside a shape in Writer
                    not set by toolbar item
           Product: General
           Version: AOO400-dev
          Hardware: All
                OS: All
            Status: CONFIRMED
          Keywords: regression
          Severity: normal
          Priority: P3
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: arielch@apache.org
                CC: issues@openoffice.apache.org
            Blocks: 121420

- New Writer document
- Insert a shape
- Write some text inside the shape
- Try to change the text colour with the "Font Color" toolbar item in the Text
properties panel of the Sidebar

The colour does not change.

On TextPropertyPanel::TextPropertyPanel


        mpToolBoxFontColor(ControlFactory::CreateToolBox(
                mpToolBoxFontColorBackground.get(),
                rContext.GetApplication_DI() ==
sfx2::sidebar::EnumContext::Application_WriterVariants
                    ? SVX_RES(TB_FONTCOLOR_SW)
                    : SVX_RES(TB_FONTCOLOR),
                rxFrame)),

when the context is Writer, the controller is created for ".uno:FontColor", as
defined in ToolBox TB_FONTCOLOR_SW.

This works for text in text context but not for drawing context. In Writer,
font colour of text inside shape can be set with ".uno:Color", not with
".uno:FontColor", this command is the one on the toolbar (right-click on the
drawing toolbar, select "Visible Buttons" and set "Font Color" visible).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122387] [sidebar] Font colour of text inside a shape in Writer not set by toolbar item

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122387

Regina Henschel <rb...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel@t-online.de

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122387] [sidebar] Font colour of text inside a shape in Writer not set by toolbar item

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122387

--- Comment #2 from SVN Robot <sv...@dev.null.org> ---
"af" committed SVN revision 1486603 into trunk:
122387: Use the right tool box for font color in text sidebar.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 122387] [sidebar] Font colour of text inside a shape in Writer not set by toolbar item

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122387

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |AOO 4.0

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 122387] [sidebar] Font colour of text inside a shape in Writer not set by toolbar item

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122387

Andre <aw...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
                 CC|                            |awf.aoo@googlemail.com
         Resolution|---                         |FIXED
           Assignee|issues@openoffice.apache.or |awf.aoo@googlemail.com
                   |g                           |

--- Comment #1 from Andre <aw...@googlemail.com> ---
Added a second toolbox for the font color.  Now we have 
mpToolBoxFontColor for .uno:Color and
mpToolBoxFontColorSW for .uno:FontColor.

The right toolbox is selected when the text panel is created or on context
changes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.