<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 - FILESAVE XLSX Extended conditional styles are saved but should not"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139167">139167</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILESAVE XLSX Extended conditional styles are saved but should not
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.2.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Keywords</th>
          <td>bibisected, bisected, filter:xlsx, regression
          </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>libreoffice@nisz.hu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>nagy.tibor2@nisz.hu, nemeth@numbertext.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>113782
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=168423" name="attach_168423" title="attachment #152829 saved by Calc">attachment 168423</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=168423&action=edit" title="attachment #152829 saved by Calc">[details]</a></span>
<span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=152829" name="attach_152829" title="Simplified example file from Excel">attachment #152829</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=152829&action=edit" title="Simplified example file from Excel">[details]</a></span> saved by Calc

This is a continuation of <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - FILEOPEN XLSX, Conditional formatting goes missing when opened in LO."
   href="show_bug.cgi?id=122102">bug #122102</a> 

Now Calc started to import a few more condition types, and generates temporary
cell styles for them named ExtConditionalStyle_N. This did not happen before
that fix, as a quick bibisect shows on the 7.2 repo.

Unlike ConditionalStyle_N styles these get written to XLSX format as cell
styles, then upon reopening in Calc a new set of “ExtConditionalStyle_N N”
styles gets generated, which are again written to the file upon a next save,
making the custom cell styles list grow by each save-reload.

Steps to reproduce:
    1. Open <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=152829" name="attach_152829" title="Simplified example file from Excel">attachment #152829</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=152829&action=edit" title="Simplified example file from Excel">[details]</a></span> 
    2. Save as XLSX, reload

Actual results:
Styles sidebar shows 8 ExtConditionalStyle_N styles, of which 4 has the format
“ExtConditionalStyle_N 1”

Expected results:
Styles sidebar shows 4 ExtConditionalStyle_N styles

LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64)
Build ID: e57665ea6f812aff9fc87073ce947f40a8b26e9d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] XLSX (OOXML) conditional formatting bug tracker"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113782">Bug 113782</a>] [META] XLSX (OOXML) conditional formatting bug tracker
              </li>
          </ul>
        </div>
        <br>

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

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