<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - When saving user-defined menus, standard menu entries are (partially) lost."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=129104#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - When saving user-defined menus, standard menu entries are (partially) lost."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=129104">bug 129104</a>
              from <span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span></b>
        <pre>(In reply to Heiko Tietze from <a href="show_bug.cgi?id=129104#c8">comment #8</a>)
<span class="quote">> No idea how user-defined menus are integrated into the shipped
> configuration.</span >
Same way this is done for customization which stored in the user profile:
There's a menubar.xml file inside the odf package, which overrides the shipped
one. So basically this is the same problem as reported for the user profile in
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Change in UI user configuration will cause new UI items in next versions of LibreOffice to be invisible, when that previous userprofile is used"
   href="show_bug.cgi?id=57466">Bug 57466</a>.

My take is that regardless of the outcome of <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Change in UI user configuration will cause new UI items in next versions of LibreOffice to be invisible, when that previous userprofile is used"
   href="show_bug.cgi?id=57466">Bug 57466</a>, user who need to
add/remove menu items in a portable way, should really consider creating an
extension, instead of this menubar-inside-document misfeature. Extensions have
a proper way to merge individual command into the shipped menu structure. In
addition, it's possible to change the runtime menu structure using the UNO api,
which can be done also from document macros.</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>