Apache OpenOffice (AOO) Bugzilla – Issue 56449
Find&Replace in selection replaces whole selection with replacement string
Last modified: 2017-05-20 11:18:10 UTC
Find&Replace in selection replaces whole selection with replacement string (actully - substing existing in some of the words) - if i select a column of table, open F&R dialog, enter the stings to search for and replace with and press Replace, i get the whole column full of replace with strings (original text is replaced in whole). If Replace all is pressed, all goes as expected - but in that case step by step replacement is not possible.
Same here. To Reproduce, repeat steps 1)-5) two times, using 5a) and 5b) resp.: 1) Open attached text document (containing 2x2 table) 2) Select the first column 3) In the Edit Menu choose Find&Replace (or press ^F) 4) Insert "2" as text to search, Insert "44" as text to replace with 5a) Press "Replace" 5b) Press "Replace All" Results with 5a) The text in both fields of the selected column gets replaced with "44". Results with 5b) The Message "Search key not found." is displayed, not replacements are done. Behaviour in 5a) is wrong. Should be the same as in 5b).
Created attachment 30729 [details] Simple table to show find/replace misbehaviour
Confirmed Using Win XP Pro SP2 OOo 2.0.0 final and attached file (OOo 1.1 Text Document), same results when using a new OpenDocument Text file. However, your description is not clear and there is more to the defect. Step 2 should be "Select the first row". Rows are horizontal, columns are vertical. This is irrelevant however, since it does not matter which row is selected. For all rows selected, if one of the cells has the search string, every cell (that has data in it) in that selection changes to the replace string. I consider this an embarrassing defect, and strongly recommend it fixed in 2.0.1. I have attached a file that can be used to illustrate the defect. Select the whole Table, and use the search string "a" and replace string "00" (both without quotes). The Replace All feature is not defected.
Created attachment 30746 [details] Example Text Doc With Table
Reassigned to SBA.
Recommending fix at milestone 2.0.1
confirmed on src680_m135 set target OOo2.0.2 lowered prio to P3 reassigned to os workarround, just press find all bevor pressing replace
*** Issue 74707 has been marked as a duplicate of this issue. ***
SBA: Though this is not broken, (1) this is a trap far too easy to run into (2) in a dialog I expect average users to use frequently. Set target to OOo 2.3.
The similar problem also happens when do "Find" and "Find All". 1) Open attached text document (containing 2x2 table) 2) Select the first column 3) In the Edit Menu choose Find&Replace (or press ^F) 4) Insert "1" as text to search 5a) Press "Find" 5b) Press "Find All" Results with 5a) Writer can only find "1" in the first cell. Results with 5b) "1" in all selected cells can be found. Behaviour in 5a) is wrong. Should be the same as in 5b).
Re-target to 2.x
move target to 3.x according http://wiki.services.openoffice.org/wiki/Target_3x
Any chnace for 3.2?
Reset assigne to the default "issues@openoffice.apache.org".