Bug 161775 - Redacting small letter text misplaces the grey box
Summary: Redacting small letter text misplaces the grey box
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Redaction
  Show dependency treegraph
 
Reported: 2024-06-25 09:55 UTC by Gabor Kelemen (allotropia)
Modified: 2024-06-25 10:34 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example file from Writer (9.39 KB, application/vnd.oasis.opendocument.text)
2024-06-25 09:55 UTC, Gabor Kelemen (allotropia)
Details
The issue in Draw (185.50 KB, image/png)
2024-06-25 09:57 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-06-25 09:55:43 UTC
Created attachment 194944 [details]
Example file from Writer

If a word written in smaller font than the surrounding texts size is auto-redacted, the grey box is aligned too close to the top of the word below (instead of the redacted words baseline), leaving the top of the redacted word somewhat exposed.

1. Open attached file 
2. Go to Tools - Autoredact
3. Add a new target to the word Durchgang
4. Press OK in the Autoredact dialog
->The redacted file opens in Draw, observe the grey block around the first Durchgang word.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d7aeaeafc32f78ca38942868f965bae0e6c376b1
CPU threads: 14; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default

This became visible after the fix of bug 127169, but even before that the grey block was placed too low.
Comment 1 Gabor Kelemen (allotropia) 2024-06-25 09:57:35 UTC
Created attachment 194945 [details]
The issue in Draw
Comment 2 J_A 2024-06-25 10:34:25 UTC
Hello Gabor Kelemen,

Thank you for reporting the bug. I can confirm that the bug is present in the master version.

Tested using:
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded