Bug 84467 - Searching for font size does not always work
Summary: Searching for font size does not always work
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Find-Search
  Show dependency treegraph
 
Reported: 2014-09-29 14:08 UTC by Axel Niedenhoff
Modified: 2021-01-12 11:12 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Niedenhoff 2014-09-29 14:08:11 UTC
Searching for a font size does not work when the manual font size happens to be the same as the one set by the style. A step-by-step procedure will make this clear:

* Create a new document in Writer. I assume that your standard font size is 12 pt.
* Type “Test Test Test”.
* Manually assign a font size of 14 pt to the middle “Test”.
* Invoke the Search and Replace dialog.
* Select to search for the font size attribute.
* Run the search. This will highlight the middle »Test«.
* Dismiss the Search and Replace dialog.
* Manually assign a font size of 12 pt to the middle “Test”. (Not by undoing, nor by removing manual formatting, but by selecting a new font size.)
* Invoke the Search and Replace dialog.
* Run the search again. (The attributes flag is still set.) LO does not find the manually assigned font size attribute.

To verify that the manual font size attribute is actually there, go to the right edge of the middle “Test”, hit Enter, type something like “Title” and assign a parapgraph format of Title to this new paragraph. It will use a font size of 12 pt.
Comment 1 tommy27 2014-10-14 05:25:59 UTC
(In reply to Axel Niedenhoff from comment #0)
> ....
> * Select to search for the font size attribute.
> ...

please define exactly which flags do you mark to reproduce the isse.
I see "Other options" and then "Attributes" and "Format" buttons.
Comment 2 Axel Niedenhoff 2014-10-15 08:00:33 UTC
(In reply to tommy27 from comment #1)
> (In reply to Axel Niedenhoff from comment #0)
> > ....
> > * Select to search for the font size attribute.
> > ...
> 
> please define exactly which flags do you mark to reproduce the isse.
> I see "Other options" and then "Attributes" and "Format" buttons.

In the “Find & Replace” dialog, under “Other Options”, click “Attributes…”. In the dialog that opens, select “Font size”.
Comment 3 sophie 2014-10-23 12:24:57 UTC
Hi, confirmed with Version: 4.4.0.0.alpha1+
Build ID: 72f368f6bfedb680ffcbd1c7fe28e8fc6d19ad2b
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-10-22_22:23:11 Ubuntu 14.04 following your test case - Set as New - Sophie
Comment 4 QA Administrators 2015-12-20 16:08:15 UTC Comment hidden (obsolete)
Comment 5 Axel Niedenhoff 2016-01-11 15:28:04 UTC
The bug is still there (LO 5.0.4.2, RHEL 6.7).
Comment 6 Timur 2016-01-11 16:29:24 UTC
This never worked fine. OO would finally find only the middle »Test«. Current behavior is from 4.3.
Comment 7 QA Administrators 2017-03-06 13:51:45 UTC Comment hidden (obsolete)
Comment 8 Axel Niedenhoff 2017-04-07 15:27:10 UTC
Yes, this is still the same for LO 5.3.2. (Tested with Linux 64 bit.)
Comment 9 QA Administrators 2019-01-08 03:43:13 UTC Comment hidden (obsolete)
Comment 10 Axel Niedenhoff 2019-01-25 10:04:30 UTC
The bug is still there. Current version:

LO 6.1.4.2 (x64)
CPU-Threads: 8; Windows 10.0; UI-Render: GL; de-DE; Calc: CL
Comment 11 sdc.blanco 2021-01-12 11:12:02 UTC
(In reply to Axel Niedenhoff from comment #0)
> Searching for a font size does not work when the manual font size happens to
> be the same as the one set by the style.
Confirm that described behavior is found in 7.2.0.0.alpha0+

and can also confirm that the middle TEST has direct character formatting.

Additional information.

1.  If Asian languages are selected in Tools-Options-Languages, then "Size of Asian font" appears in the Attributes list, and with this Attribute selected, the middle TEST is found. 

iow, it seems that the "Size of Asian font" is implemented correctly,
while "Font size" does not "notice" the direct formatting when the directly applied font size is the same as the style font size.