Issue 103177 - Find and Replace with format in table unreliable, depends on where the cursor is positioned
Summary: Find and Replace with format in table unreliable, depends on where the cursor...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOO310m13
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2009-06-29 03:05 UTC by rebaileyjr
Modified: 2013-01-29 21:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Tristram Shandy page 119 - Try doing global format change to italicized liberation font (21.52 KB, application/vnd.oasis.opendocument.text)
2009-06-29 03:09 UTC, rebaileyjr
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description rebaileyjr 2009-06-29 03:05:47 UTC
This was found in version OOO300m15 (Build:9379).

Found this defect when attempting to do a global change to the italicized font
dispersed throughout a document - Specifically, changing from Liberation Serif
12pt Italic to URW Chancery L, 12pt, using "Find and Replace - More Options",
and "Replace All".  Many of the occurrences of the Liberation Serif 12pt Italic
were replaced, but others were not.  Hitting "Replace All" again results in
"Search key not found" window.  After this, in some cases I can place the cursor
right before an italicised word and hit "Replace" and the next occurrence of
italicised text will be modified.  And I can step through the document,
repeatedly hitting "Replace", modifying the next occurrence of italicised text
until I get a "Search key not found" window again.  But still there are more
occurrences of Liberation Serif 12pt Italic text to be found in the document. 
Again I can repeat this process to change more occurrences of italicised text -
I can place the cursor in front of one of the remaining occurrences of the
Liberation Serif 12pt Italic text, hit "Replace" and continue to step through
more occurrences, but again not all occurrences of Liberation Serif 12pt Italic
text will be found.  In some cases I can not get the Find and Replace to work at
all and must manually change the Format of the text.   

I can send you a one page document that shows this defect.
Comment 1 rebaileyjr 2009-06-29 03:09:53 UTC
Created attachment 63260 [details]
Tristram Shandy page 119 - Try doing global format change to italicized liberation font
Comment 2 rebaileyjr 2009-06-29 04:20:05 UTC
I figured out how to add an attachment.

To demonstrate the problem, open the attachment.  

With the cursor at the top of the page select "Edit->Find and Replace" to bring
up the "Find & Replace" window.  

Making sure the cursor is in the "Search for" text box in the "Find & Replace"
window, and that the text box does not have text in it, select "More Options"
and then "Format".  

In the ensuing Text Format(Search) window, select Font "Liberation Serif",
select Typeface "Italic", and select Size "12", then "OK" to close the window.

Click in the "Replace with" box to move the cursor there and click "Format" to
bring up "Text Format(Replace)" window.  

Select Font "URW Chancery L" and Size "12", leaving Typeface blank. 

Click "OK" to close the "Text Format(Replace)" window.  

In the "Find & Replace" window click "Replace All" to be greeted by "Search key
not found." pop-up window.  

Close the pop-up window.

Try "Replace" instead of "Replace All" with the same results. 

Close the "Search & Replace" window.

In the document, move the cursor to right of the capitalized word "NATURE".

Open "Edit->Find and Replace" again.  Do the "Replace All" action again.  Again
"Search key not found" pops up.

Close the "Find & Replace" window (Important to get the following to work).  

Note that cursor is back near the top of the page.  Move cursor to right of the
capitalized word "NATURE" again.

Open "Edit->Find and Replace" again.  This time select "Replace".  This time the
italicised "Cicero" is found and modified.  

Try "Replace" again.  No luck.  "Search key not found"
Comment 3 eric.savary 2009-07-02 22:34:56 UTC
Reassigned to SBA
Comment 4 lohmaier 2010-03-19 20:52:59 UTC
confirming. 

Search/replace all doesn't work because the text is in a table

I won't close this as duplicate since even when the cursor is in the table-cell, 
hitting search will report "not found" unless the cursor is placed right before 
the word Theodidaktos (i.e right before the T) or a later position. 

(If the cursor is placed after the last occurance of a match, the "not found" is 
expected again, along with the non-working search from beginning, because of the 
table issue)