<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 - UX: The Find bar should search in “Current selection only” if a cell range is selected"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125282">125282</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>UX: The Find bar should search in “Current selection only” if a cell range is selected
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.3.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>needsUXEval
          </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>kelemeng@ubuntu.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>libreoffice-ux-advise@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=151402" name="attach_151402" title="Searching in the selected range only with Find & Replace">attachment 151402</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=151402&action=edit" title="Searching in the selected range only with Find & Replace">[details]</a></span>
Searching in the selected range only with Find & Replace

In Calc searching happens in the selected range if there are non-empty cells
selected, as the “Current selection only” option of the Find & Replace window
is then turned on by default. This is good.

In the Find bar however even if there is a cell range with non empty cells
selected the search happens in the whole sheet.

I think it would be a sane default to assume that users who selected a range
and start searching with the Find bar want to limit the search to the range,
just like we assume it in case of the Find & Replace window.

Steps to reproduce:
1.      In Calc type some text in a few cells
2.      Select a cell range with some, but not all of the cells
3.      Press Ctrl-H and search for the word just typed
4.      Calc searches only in the selected range
5.      Press Ctrl-F and try to search for the same string with the Find bar.
6.      Notice that it finds results outside the selected range as well.

Actual results:
Searching with the Find bar happens on the whole sheet.

Expected results:
Searching with the Find bar should happen only inside the selected cell range
if there is one.

LibreOffice details:

Version: 6.3.0.0.alpha0+
Build ID: c5c425296debb2fbd67af8ec29f87e285d08575f
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: threaded</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>