Bug 148840 - Find and replace does not function as expected or consistently
Summary: Find and replace does not function as expected or consistently
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 148933 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-04-28 16:32 UTC by Randy
Modified: 2023-05-10 03:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
screen shot of incomplete search (186.12 KB, image/jpeg)
2022-04-28 16:33 UTC, Randy
Details
Testing file (19.35 KB, application/vnd.oasis.opendocument.text)
2022-05-04 18:41 UTC, Martin Srdoš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randy 2022-04-28 16:32:24 UTC
Description:
I created a document with both Times New Roman text and Arial text.  It is a chord sheet.  All the chord notations are Times New Roman bold and the lyrics are Arial regular.  For easily changing a song from one key to another, find and replace works great.  However, I have found it to be inconsistent.  In the original document, "find" only found 7 A's out of probably 30.  When I changed all the text to Times New Roman it was then able to find all the A's.  After I changed all the chord symbols (letters) I went back through and changed all the lyrics to Arial and saved the document.  Then I saved it as a new document so I could change it to another key.  This time find and replace was able to find all of the letters I was searching for and I did not need to change the lyric text to Times New Roman.  I've experienced this inconsistency before.

Steps to Reproduce:
1.Type text into document in two fonts alternating fonts on each new line of text
2.Search for specific letters in text
3.

Actual Results:
Only some of the specific letter searched for are found

Expected Results:
all of the specific letter should be found


Reproducible: Sometimes


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no
Comment 1 Randy 2022-04-28 16:33:20 UTC
Created attachment 179827 [details]
screen shot of incomplete search
Comment 2 Martin Srdoš 2022-05-04 16:18:51 UTC
Hello Randy,

Thank you for reporting the bug.

I cant reproduce this problem. When I am finding Ases, or another letters, everything work good. However, in the picture in attachement I see that your searching mark more letters. My searching mark only one by one. However, I am propably doing this thing differently than you are. Can you upload your document of chords? And also write exactly step-by-step how do you search the letters.

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the steps are provided.
Comment 3 Randy 2022-05-04 17:29:53 UTC
Thanks for getting back.  I uploaded a chord sheet.  It's attached to Bub 148933.  That report has the steps.  That report probably should have been attached to this one somehow.

https://bugs.documentfoundation.org/show_bug.cgi?id=148933
Comment 4 Randy 2022-05-04 17:32:27 UTC
Is there a way to combine the two bug reports?  I explained the steps I use in the search process in Bug 148933
Comment 5 Martin Srdoš 2022-05-04 17:47:30 UTC
The bug 148933 seems like the same problem. Isn't these bugs duplicates?

Share your version of LibreOffice ("Help" -> "About LibreOffice" -> click the copy button with "Version Information"). If your version is the 7.2.5.2, could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/
Comment 6 Randy 2022-05-04 17:59:12 UTC
Yeah, its the same problem.  Couldn't find the previous bug (this bug report) so I started a new one.  But the new one has an attachment of the document I was most recently working on and the steps to take to duplicate the issue.
Comment 7 Martin Srdoš 2022-05-04 18:41:51 UTC
Created attachment 179924 [details]
Testing file

Adding attachment from duplicated bug.
Comment 8 Martin Srdoš 2022-05-04 18:42:53 UTC
*** Bug 148933 has been marked as a duplicate of this bug. ***
Comment 9 Rainer Bielefeld Retired 2022-10-10 19:04:02 UTC
Neither "Bug 148933 - Find and replace does not function as expected or consistently" with "Document most recently used when bug happened again."
nor this one with " Testing file"
reproducible  with  with Server Installation of Version: 7.5.0.0.alpha0+  Build ID: 2a7fcaf582df3ada57ca519b50e29011973a1b6f
CPU-Threads: 12; BS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: Calc: threaded |  Elementary Theme  |  Special devUserProfile  (based on my normal one) 
? 

My test results for  Testing file 2022-05-04 18:41 UTC, Martin Srdoš:
24 Hits: "A" + Match Case
22 Hits: "A" + Match Case + Times New Roman
   "A" in Line "Ending ..." are Arial!
16 Hits: "A" + Match Case + Times New Roman + 12px
   Correct, "A" inCopyright line and Heading are not 12 px
 0 Hits:  "A" + Match Case + Times New Roman + 12px + Bold

There seems to be a formatting problem in the sample document. Normally that works fine for me. But if you search the sample document for "Bold"as the only condition, there will be several hits, for example " |E   " in line "Intro: ...".  But none of the "A", although "A2" in the same line will be shown as "Bold" in 'Character Format' dialog.

Some more research will be required concerning this document.
Comment 10 QA Administrators 2023-04-09 03:26:27 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2023-05-10 03:16:34 UTC
Dear Randy,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp