Download it now!
Bug 125663 - After "replace all" only the part of the string is selected
Summary: After "replace all" only the part of the string is selected
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: implementationError
Depends on:
Blocks: Find-Search
  Show dependency treegraph
Reported: 2019-06-03 16:59 UTC by raal
Modified: 2020-07-03 12:47 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description raal 2019-06-03 16:59:03 UTC
follow-up of bug 44837 

Steps to Reproduce:
write  bsdbsd
select all
find and replace: b > a ; current selection only

Actual Results:
after "replace all" only the string "sdasd" is select

Expected Results:
string "asdasd" should be selected.

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 raal 2019-06-03 17:00:02 UTC
Xisco confirmed, setting as new
Comment 2 Xisco Faulí 2019-06-10 13:57:39 UTC
Yep, confirmed in

Build ID: 43ddddb703bcdb9430752af63ae46527f737f874
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 3 Aron Budea 2020-06-07 01:36:38 UTC
Still in (8aee8c0cf1bdda1866594e75b0f9bd4b9a69c724).
Started with, in the text is deselected after replace.
Comment 4 Andreas Heinisch 2020-07-03 12:47:52 UTC
The problem appears in DocumentContentOperationsManager::ReplaceRangeImpl in where the positions get corrected in, but the poblem exceeds my knowledge how to fix this behaviour.