<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Toolbar created at Document Scope does not save associated icons."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130445">130445</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Toolbar created at Document Scope does not save associated icons.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.3.4.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dbm-bgzlla0@fininf.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Creating a toolbar at the document scope and associating icons with custom
macros does not save with the icons. Icons are present after having created
tool bar and document, however closing the document are re-opening results in
text-only toolbars and no saved icons. I have only tested and replicated this
using Calc.

I did some poking around and found that the icon file saved in
Configurations2/images/Bitmaps is corrupt. Replacing this file with a file
created when building the toolbar at the Libreoffice Calc scope from the
soffice.cfg/modules/scalc/images/Bitmaps will result in the images being loaded
properly. 

This problem is reproducible in Safe-Mode and with OpenGL both enabled and
disabled.


Steps to Reproduce:
1.Tools --> Customize
2.Scope --> <some document> (not LibreOffice Calc)
3.Add new Toolbar (Option selected is Icon and Text)
4.Assign some macro to the toolbar.
5.Associate an icon with that Macro
6.Save the document.
7.Close the document.
8.Reopen the document.


Actual Results:
Newly created toolbar shows with text only and no icon.

Expected Results:
Newly created toolbar with Icon and text tips.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.3.4.2 (x64)
Build ID: 60da17e045e08f1793c57c00ba83cdfce946d0aa
CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>