Description: Libreoffice Writer: If the "Export directly as PDF" function is cancelled, all text marked as "hidden" in the document is deleted. Steps to Reproduce: 1. Text is marked as "hidden" and file is saved. 2. "Export directly as PDF" is selected. 3. Instead of saving the file, the process is cancelled. Actual Results: All text marked as "hidden" in the document is deleted. Expected Results: Canceling the process must not change the text of the document. Text marked as "hidden" may not be deleted. Reproducible: Always User Profile Reset: No Additional Info: Version: 24.2.5.2 (X86_64) / LibreOffice Community Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: de-CH (de_CH); UI: de-DE Calc: threaded
Please attach a sample file to test.
Created attachment 195640 [details] screenshot of the steps to reproduce the bug
A screenshot is not the text file where to text the issue.
Created attachment 195663 [details] ODT-Dokument
There is no hidden text on the file, I think.
Created attachment 195680 [details] Line 2 is marked as "hidden" Line 2 is marked as "hidden". Can be displayed using the formatting icon.
Not in the attached odt file, at least I can't find it.
Created attachment 195760 [details] screen capture to reproduce bug with uploaded odt-document Too bad you can't reproduce this. When I download and open the uploaded odt-file, the 2nd line is marked as "hidden". You can see this in the attached screencast. If it looks different for you, maybe someone else can reproduce the bug? I'm at the end of my rope. Thanks for your efforts.
Ok, I see, but I not able to reproduce the lost of text. Version: 24.2.5.2 (X86_64) / LibreOffice Community Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
To display text hidden via character formatting's font effects when Toggle Formatting Marks is active, you need to check this option: Tools > Options > Writer > Formatting Aids > Display Formatting > Hidden characters. There is a request to implement a UNO command for this toggle: bug 107722. Bibisected with linux-64-7.5 to 1e007e8f1703851b01c68884e87c906f6bae5a5e sw: fix merge mail to direct export as pdf The text is deleted immediately after opening the Export directly as PDF dialog. After saving the modified document, the text "2 Zeile 2" is no longer found in content.xml, so this is real data loss.