[Libreoffice-bugs] [Bug 128612] Toolbars show wrong area type for pattern and do not work correctly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 23 13:18:34 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=128612

Heiko Tietze <heiko.tietze at documentfoundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|lowest                      |medium
           Severity|trivial                     |normal
                 CC|                            |bubli at bubli.org

--- Comment #4 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
It's beyond my skills. 

In svx/source/tbxctrls/fillctrl.cxx the function
SvxFillToolBoxControl::StateChangedAtToolBoxControl() receives
SID_ATTR_FILL_BITMAP; there is no SID_ATTR_FILL_PATTERN defined. 

Pattern and Bitmaps seems to be handled similar, see for example
svx/source/sidebar/area/AreaPropertyPanelBase.cxx
AreaPropertyPanelBase::Update() 

            case eFillStyle::BITMAP:
            case eFillStyle::PATTERN:
            {
...
                    if(pSh && pSh->GetItem(SID_BITMAP_LIST) && eXFS == BITMAP)
                    {
                    else if(pSh && pSh->GetItem(SID_PATTERN_LIST) && eXFS ==
PATTERN)
                    {
...

Maybe Bubli knows whether this is easy to solve or just not implemented yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210623/7c6db0fb/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list