Bug 150466 - Hide Print File Directly by default in the tabbed and tabbed compact user interfaces
Summary: Hide Print File Directly by default in the tabbed and tabbed compact user int...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.3.5.2 release
Hardware: All All
: medium enhancement
Assignee: Justin L
URL:
Whiteboard: target:24.2.0
Keywords: difficultyMedium, easyHack, skillDesign, topicUI
Depends on:
Blocks: Notebookbar-Tabbed
  Show dependency treegraph
 
Reported: 2022-08-18 07:26 UTC by João Paulo
Modified: 2023-10-15 00:49 UTC (History)
5 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 João Paulo 2022-08-18 07:26:35 UTC
Description:
The rationale is the same as in bug 74455:

+ printing, when done wrong, can waste lots of time & paper
  => try to prevent printing without confirmation, as any number of this
     can go wrong
    + wrong printer
    + wrong range
    + wrong colour/bw setting
    (to only name the most common ones)
+ many other applications (e.g. GNOME applications, MS Office) also do not
  print without confirmation by default

Workaround: Manually hide the Print File Directly button on the compact notebook toolbar.

Steps to Reproduce:
1. With a new user profile, go to Menu, View, User interface, select Tabbed or Tabbed compact.
2. Open the File tab.

Actual Results:
The Print Directly button is shown by default.

Expected Results:
The Print Directly button should be hidden by default.

It would save screen space, avoiding hiding other buttons on the right side, and also would help preventing waste of time and paper, as only users who explicitly enable the Print Directly button will see it.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.5.2 (x64) / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: pt-BR (pt_BR); UI: en-US
Calc: threaded
Comment 1 V Stuart Foote 2022-08-18 12:58:49 UTC
reasonable, +1

And once hidden, for users who understand the action, the button can be added back via MUFFIN NB customization.
Comment 2 Heiko Tietze 2022-08-19 09:00:46 UTC
Sure, if we've done it for the classic UI it applies to all alternatives as well.

Easyhackable, see notebookbar.ui, notebookbar_compact.ui, notebookbar_groupedbar_compact.ui, notebookbar_groupedbar_full.ui, notebookbar_single.ui, and notebookbar_groups.ui (not sure if the command is added to all variants).
Comment 3 Commit Notification 2023-10-15 00:48:59 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/489da34e9bffb234fa27155cef1931bd6f21dc1d

tdf#150466 notebookbar: hide PrintDefault on compact and standardize

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.