Bug 127569 - Print preview does not show hidden text when it's set to be printed
Summary: Print preview does not show hidden text when it's set to be printed
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Print-Preview
  Show dependency treegraph
 
Reported: 2019-09-16 07:38 UTC by Mike Kaganski
Modified: 2024-04-26 09:28 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2019-09-16 07:38:15 UTC
Print preview in Writer does not show hidden text when it's set to be printed

Steps:

1. In a new text document, add a character style named "Hidden", with '[x] Hidden' checked in Font Effects (possibly set it also to bold and/or red to easily see it when needed)
2. Type some lorem ipsum text; apply "Hidden" character style to part of it
3. In Options->LibreOffice Writer->Print, check the '[x] Hidden text' under Content group
4. Toggle Print Preview (File->Print Preview)
==> the hidden text is not shown - BAD
5. Open Print dialog (File->Print...)
==> the hidden text is visible in the preview panel (if enabled) - GOOD

Tested with Version: 6.3.1.2 (x64)
Build ID: b79626edf0065ac373bd1df5c28bd630b4424273
CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded
Comment 1 Dieter 2019-09-17 16:53:16 UTC Comment hidden (obsolete)
Comment 2 Xisco Faulí 2019-09-18 11:55:06 UTC
Also reproduced in

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 3 Dieter 2021-08-13 06:54:23 UTC
Still present in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ac80ec817eb07c77a51bc0729985a473c734182e
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 4 QA Administrators 2023-08-14 03:13:31 UTC Comment hidden (obsolete)
Comment 5 Dieter 2023-08-26 18:13:38 UTC
Still the same in

Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded


But there is something I don't understand: If "Hidden Text" is selected in options menu, why is it deselected in print dialog?

For me expected behaviour would be
1. If you select "Hidden Text" in optionas dialog, it is a general setting and therefore also active in print dialog of every document
2. If you select "Hidden Text" in print dialog, it is a setting only for the actual document and this option is deselected in options dialog

Heiko, can you give some insights?
Comment 6 Heiko Tietze 2024-04-26 09:28:13 UTC
(In reply to Dieter from comment #5)
> For me expected behaviour would be
> 1. If you select "Hidden Text" in optionas dialog, it is a general setting
> and therefore also active in print dialog of every document
> 2. If you select "Hidden Text" in print dialog, it is a setting only for the
> actual document and this option is deselected in options dialog
Sounds reasonable. But consider that you have to enable the view options per "toggle formatting marks" (ctrl+f10), which could only be done with some kind of invisible ink in the printer :-). My take: view and print options must not be aligned.

(Sorry for the delay, message got lost in the pile.)