Bug 142833

Summary: Print Preview button shouldn't be in LibreOffice Draw's Notebookbar UI
Product: LibreOffice Reporter: PJF <pjdapeach>
Component: UIAssignee: Justin L <jluth>
Status: RESOLVED FIXED    
Severity: normal CC: 79045_79045, heiko.tietze, jluth, kainz.a, vsfoote
Priority: medium    
Version: 7.1.3.2 release   
Hardware: All   
OS: All   
Whiteboard: target:24.2.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107237    
Attachments: Screen Shot of LibreOffice Draw 'Print Preview' button.

Description PJF 2021-06-13 09:35:13 UTC
Description:
When I click on the 'Print Preview' button in LibreOffice Draw nothing happens. The button works in LibreOffice Calc and LibreOffice Writer.

Actual Results:
Open a file in Draw, press the Print Preview button in the Notebook bar. 

Expected Results:
A preview of how the file shall look when sent to a printer.


Reproducible: Always


User Profile Reset: No



Additional Info:
It show the preview of the file before printing.
Comment 1 PJF 2021-06-13 09:40:28 UTC
Created attachment 172846 [details]
Screen Shot of LibreOffice Draw 'Print Preview' button.
Comment 2 [REDACTED] 2021-06-13 11:30:30 UTC
The bug here is more or less, that there is a "Print Preview" button within Tabbed UI at all, since Draw does *not* have a "Print Preview" (it has a "Preview in Web Browser") functionality.
Comment 3 Roman Kuznetsov 2021-06-14 18:46:31 UTC
(In reply to Uwe Auer from comment #2)
> The bug here is more or less, that there is a "Print Preview" button within
> Tabbed UI at all, since Draw does *not* have a "Print Preview" (it has a
> "Preview in Web Browser") functionality.

Of course it's a bug. We just should delete Print Preview button from Notebootbar (all variants) in Draw
Comment 4 QA Administrators 2023-06-15 03:15:13 UTC Comment hidden (obsolete, spam)
Comment 5 Commit Notification 2023-06-21 18:27:51 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2273c72730cc2ab040c191242989315c0805ba4d

tdf#142833 sd notebookbar: There is no PrintPreview, use WebHtml

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.