Bug 142833 - Print Preview button shouldn't be in LibreOffice Draw's Notebookbar UI
Summary: Print Preview button shouldn't be in LibreOffice Draw's Notebookbar UI
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.1.3.2 release
Hardware: All All
: medium normal
Assignee: Justin L
URL:
Whiteboard: target:24.2.0
Keywords:
Depends on:
Blocks: Notebookbar-Tabbed
  Show dependency treegraph
 
Reported: 2021-06-13 09:35 UTC by PJF
Modified: 2023-06-21 18:27 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Screen Shot of LibreOffice Draw 'Print Preview' button. (157.01 KB, image/png)
2021-06-13 09:40 UTC, PJF
Details

Note You need to log in before you can comment on or make changes to this bug.
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.