Bug 109274 - Page properties (margins, orientation, columns, page size) controls only in Sidepanel missing in Toolbars
Summary: Page properties (margins, orientation, columns, page size) controls only in S...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.4.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Page Writer-Toolbars
  Show dependency treegraph
 
Reported: 2017-07-22 12:23 UTC by AvoMieliPide
Modified: 2017-07-24 12:34 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Page properties now only in Sidebar this way (210.68 KB, image/jpeg)
2017-07-22 12:25 UTC, AvoMieliPide
Details

Note You need to log in before you can comment on or make changes to this bug.
Description AvoMieliPide 2017-07-22 12:23:27 UTC
Description:
Page properties tools (margins, orientation, columns, page size) controls only in Sidepanel, but missing in Toolbars commands (so can't include those page properties tools commands in Toolbars yet). 

They would be very handy for users, who need to change those properties often, while making documents with different page properties (especially with different margins). 

Please include those tools in Toolbars commands too (selectable).

Also icons of those tools in Sidebar are unclear and need to be enhanced. 

Look at attached picture. 


Steps to Reproduce:
1. -------
2. -------
3. -------

Actual Results:  
-------

Expected Results:
-------


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Comment 1 AvoMieliPide 2017-07-22 12:25:51 UTC
Created attachment 134782 [details]
Page properties now only in Sidebar this way

These should be possible to include in Toolbars too
Comment 2 V Stuart Foote 2017-07-22 18:20:32 UTC
At 5.3 those Page controls were dropped from the Sidebar's Properties deck and a new Page deck with droplists was implemented.

As to placing them by default on an existing toolbar, Tools -> Customize -> Toolbars already provides the needed controls from the Format category.  

Page Settings
Orientation
Page Margin
Columns

Can add them to the toolbar if one prefers. Otherwise no reason to clutter any of the toolbar defaults as the menu, context menu, and Sidebar Page deck all cover this formatting.

Currently the Page Settings control has no Icon associated, it launches the Page Style dialog landing on the Page tab's Paper Format.  So rather than "Page Settings" there should be an alternate UNO command that would be a better choice for setting Page paper format/size as was done from the 5.2 Properties deck's "Page" content panel--or as now from the Page deck's Format content panel: Size droplist.
Comment 3 V Stuart Foote 2017-07-22 18:57:53 UTC
(In reply to V Stuart Foote from comment #2)
> 
> Currently the Page Settings control has no Icon associated, it launches the
> Page Style dialog landing on the Page tab's Paper Format.  So rather than
> "Page Settings" there should be an alternate UNO command that would be a
> better choice for setting Page paper format/size as was done from the 5.2
> Properties deck's "Page" content panel--or as now from the Page deck's
> Format content panel: Size droplist.

@Jay, Maxim

Page sizes [1] get populated from svx papersizelistbox with FillPaperSizeEntries() [2]. 

For adding a new toolbar format droplist-widget, rather than the full dialog, does this need a new UNO command? Or just use the source?

=-ref-=
[1] https://opengrok.libreoffice.org/xref/core/svx/inc/page.hrc
[2] https://opengrok.libreoffice.org/search?project=core&q=FillPaperSizeEntries&defs=&refs=&path=&hist=&type=
Comment 4 Yousuf Philips (jay) (retired) 2017-07-24 12:34:29 UTC
@Stuart:

All the 4 group buttons found in the page content panel are available as UNO commands and visible in the Page layout tab of the Notebookbar.

(In reply to V Stuart Foote from comment #2)
> Columns

Page Column Type (.uno:PageColumnType) is the correct one.

> Currently the Page Settings control has no Icon associated, it launches the
> Page Style dialog landing on the Page tab's Paper Format.

I see an icon in tango, so not sure why you arent seeing an icon. The control launches the dialog to the last used tab in the dialog.

> So rather than
> "Page Settings" there should be an alternate UNO command that would be a
> better choice for setting Page paper format/size as was done from the 5.2
> Properties deck's "Page" content panel--or as now from the Page deck's
> Format content panel: Size droplist.

UNO command is there for page size (.uno:AttributePageSize) but it is mistakenly set to not appear in toolbar customization.

https://gerrit.libreoffice.org/40367