Bug 144143 - Writer: With style sheet formatted text not found with search by format
Summary: Writer: With style sheet formatted text not found with search by format
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-28 13:51 UTC by Manfred
Modified: 2021-09-24 07:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
bug report with example (38.51 KB, application/vnd.oasis.opendocument.text)
2021-08-28 13:56 UTC, Manfred
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred 2021-08-28 13:51:15 UTC
Description:
When I search for a certain format in a document, only those text passages with the searched format are found that have not been assigned their format by means of a style sheet.

Steps to Reproduce:
1.create any text twice having the same format (e.g. in two lines)
2.define a style sheet for the used format and 
3.assign thew style sheet to only one of them
4.create search options only for the used format (NOT the text)
5.click "search all"

Actual Results:
Onla the text not formatted by a style sheet will be found. 

Expected Results:
Both text passages should be fond independently if their format was assigned by a style sheet or not


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Finding both text passages
Comment 1 Manfred 2021-08-28 13:56:26 UTC
Created attachment 174589 [details]
bug report with example
Comment 2 Manfred 2021-09-09 10:15:23 UTC
In the meantime, I have learned that the behavior I described is the intended one.

However, I would like to point out that it can also be helpful to find both the directly and the indirectly formatted texts based on detailed format information.
Comment 3 Dieter 2021-09-24 07:39:21 UTC
(In reply to Manfred from comment #2)
> In the meantime, I have learned that the behavior I described is the
> intended one.

So let's close this report.
=> RESOLVED NOTABUG

> However, I would like to point out that it can also be helpful to find both
> the directly and the indirectly formatted texts based on detailed format
> information.

It would be better to open a new bug report for that proposal. Please mark it as enhancemnt. Thank you