<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - DRAW - ODG fails to save after switching sheet and editing selected sheet"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=137418#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - DRAW - ODG fails to save after switching sheet and editing selected sheet"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=137418">bug 137418</a>
              from <span class="vcard"><a class="email" href="mailto:ilmari.lauhakangas@libreoffice.org" title="Buovjaga <ilmari.lauhakangas@libreoffice.org>"> <span class="fn">Buovjaga</span></a>
</span></b>
        <pre>(In reply to Alex Thurgood from <a href="show_bug.cgi?id=137418#c4">comment #4</a>)
<span class="quote">> (In reply to Buovjaga from <a href="show_bug.cgi?id=137418#c3">comment #3</a>)
> > Alex: regarding confidentiality, could you try unzipping the ODG, replacing
> > the images with some dummy ones and then re-zipping the thing again?
> > Hopefully the saving failure would be preserved in the sanitised one.

> If someone can show me how to do that without destroying the ODG on rezip,
> then I can give it a try. So far, every time I've tried to unzip/rezip an
> ODF file on MacOS, it kills the file because manifest.xml gets included in
> the wrong order.</span >

Maybe in the console, while being inside the unzipped directory:

zip -r -X drawing.odg ./

The -X option is supposed to skip adding the invisible macOS resource files.

Alternatively, use 7-zip console application:
<a href="https://www.7-zip.org/a/7z2102-mac.tar.xz">https://www.7-zip.org/a/7z2102-mac.tar.xz</a>

The syntax for 7-zip is

7z a -tzip drawing.odg ./*

based on this guide
<a href="https://info.nrao.edu/computing/guide/file-access-and-archiving/7zip/7z-7za-command-line-guide">https://info.nrao.edu/computing/guide/file-access-and-archiving/7zip/7z-7za-command-line-guide</a>
and some info I found about preserving the directory structure. Didn't test,
but hopefully it would work.</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>