<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 Autofill with userlist items in reversed order does not work"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=137654">137654</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING Autofill with userlist items in reversed order does not work
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.1.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>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, szucs.attila3@nisz.hu
          </td>
        </tr>

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

Calc can autofill cells with items in user lists but only if these are in
ascending/ order.
Excel however can autofill cells with user list items if they are in reversed
order so so migrating users can expect this feature from Calc too.


Steps to reproduce:
    1. Open attached file
    2. The range A2:C2 contains month names in reversed order from December.
This range was selected and autofilled to the D2:G2 range. New values are in
increasing order and start from October in C2.
    3. The range A3:C3 contains month names in reversed order from December
with a 2 month gap between them. This range was selected and autofilled to the
D3:G3 range. New values are in increasing order and start from July in C3.
    4. The same source lists are copied to A5:C5 and A6:C6 ranges and D5:G5 /
D6:G6 ranges demonstrate the expected result, i.e. what Excel would do in a
similar setup.

Actual results:
As above.

Expected results:
Calc should detect user list items in reversed order when autofilling with two
or more selected cells and apply user list items according to the difference
between items position found in the selected cells.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: e0c72e31c1d455c26110c35e8780d420e17cdea6
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: en-US (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] AutoFill bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113499">Bug 113499</a>] [META] AutoFill 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>