https://bugs.documentfoundation.org/show_bug.cgi?id=143759

stragu <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|6.2.5.2 release             |5.2.0.4 release

--- Comment #4 from stragu <[email protected]> ---
Thanks Eike.
About the range outside of the data area: that makes sense that it is not
currently searched currently.
It is even commented about in the code:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=69ac605191860aceee09f1147a5234222d1b3300
But wondering if ScTable::SearchAndReplaceEmptyCells could be improved by
adding an extra step:
1. remove the range outside the data area before searching (current behaviour);
2. search inside the data area (current behaviour);
3. add the outside selection back into returned selection (added step).
That wouldn't add unnecessary overhead, but would result in a more expected
behaviour, in my opinion.

In any case, the most important issue is obviously the second part about
returning selected cells that weren't originally part of the selection.

Reproduced in 5.2.0 as well, so assuming the behaviour started with the commit
linked above.

Version: 5.2.0.0.alpha1
Build ID: 902b28a39528b6c92602e9b521a1d0861be1caf9
CPU Threads: 4; OS Version: Linux 5.4; UI Render: default; 
Locale: en-AU (en_AU.UTF-8)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to