<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 - EDITING Autofilter enables (empty) filtering if filtering for 0 is also enabled in a range containing empty cells"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142350">142350</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING Autofilter enables (empty) filtering if filtering for 0 is also enabled in a range containing empty cells
          </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>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>nemeth@numbertext.org, tundeth@gmail.com, varga.balazs3@nisz.hu
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>103512
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=172126" name="attach_172126" title="Example file from Calc">attachment 172126</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=172126&action=edit" title="Example file from Calc">[details]</a></span>
Example file from Calc

Attached example file contains some autofiltered number values and an empty
cell.
When this column B is filtered for values that include 0 but not the (empty)
entry, the (empty) entry also gets checked.

Steps to reproduce:
    1. Open attached file
    2. Drop down the autofilter on column B
    3. Uncheck the values 3, 4 and (empty) so tha 0, 1 and 2 are checked
    4. Click OK and drop down the autofilter again

Actual results:
The (empty) value is checked.

Expected results:
(empty) should stay unchecked. The row with the empty cell in column B should
be visible.

LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: b1099568ffe9ad199c3bf8f279bbac4d7ba445bb
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

We think this is a side effect from 

<a href="https://git.libreoffice.org/core/+/4fd1333ba4bb4f2311e9098291154772bd310429%5E%21">https://git.libreoffice.org/core/+/4fd1333ba4bb4f2311e9098291154772bd310429%5E%21</a>
<a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - FILEOPEN XLSX Autofilter does not take number formatting in account"
   href="show_bug.cgi?id=140968">tdf#140968</a> <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - FILEOPEN XLSX Autofiltered time entries are not selected"
   href="show_bug.cgi?id=140978">tdf#140978</a> XLSX import: fix lost rounded filters</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] AutoFilter-related bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=103512">Bug 103512</a>] [META] AutoFilter-related bugs and enhancements
              </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>