Bug 113490 - Impossible to create new page style based on the current page
Summary: Impossible to create new page style based on the current page
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-28 05:31 UTC by george
Modified: 2017-10-29 21:53 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
reported bug example (101.79 KB, image/png)
2017-10-28 06:02 UTC, george
Details
reported bug example 2 (119.23 KB, image/png)
2017-10-28 06:17 UTC, george
Details
Screenshot of styles dialog (169.09 KB, image/jpeg)
2017-10-28 07:28 UTC, Dieter
Details
After installing Libreoffice-gtk2 and Libreoffice-gtk3 (95.73 KB, image/png)
2017-10-29 21:50 UTC, george
Details

Note You need to log in before you can comment on or make changes to this bug.
Description george 2017-10-28 05:31:58 UTC
Description:
According to online libre office documentation here (https://help.libreoffice.org/Writer/Creating_a_Page_Style_Based_on_the_Current_Page) it is possible to create a new page style based on the current page. The instructions are:

1.Open a new text document, choose View - Styles and Formatting, and then click the Page Styles icon.
2.Click the New Style from Selection icon and select New Styles from Selection from the submenu.
3.Type a name for the page in the Style name box, and then click OK.
4.Double-click the name in the list to apply the style to the current page.
5.Choose Insert - Header and Footer - Header, and choose the new page style from the list.
6.Type the text that you want in the header. Position the cursor into the main text area outside of the header.
7.Choose Insert - Manual Break.
8.In the Type area, select Page break and then select “Default” from the Style box.
9.Repeat steps 2-6 to create a second custom page style with a different header.

However no matter how many times I tried there is no "new style from selection icon" and as a result each time I create a new page style I have to configure it from scratch which is very very frustrating.

I think this is a major bug and should be fixed.


Steps to Reproduce:
1.Open writer
2.Go to view --> Styles and formatting (or just press F11)
3.Select Page Styles
4.Icon "create new style from selection" is nowhere to be found...

Actual Results:  
"Create new Style from selection" icon is missing.

Expected Results:
There should be a "create new style from selection" option, according to libre writer documentation here --> https://help.libreoffice.org/Writer/Creating_a_Page_Style_Based_on_the_Current_Page


Reproducible: Always


User Profile Reset: Yes



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36
Comment 1 george 2017-10-28 06:02:43 UTC
Created attachment 137332 [details]
reported bug example

When Styles and Formatting is docked this is what i see..
Comment 2 george 2017-10-28 06:17:12 UTC
Created attachment 137333 [details]
reported bug example 2

The "create new page style from selection" option is now revealed, but only when I undock the "styles and formatting" window.
Comment 3 george 2017-10-28 06:20:48 UTC
So as I found out by detailed examination:

1) There were "hidden" icons when the "styles and formatting was docked" (see attachment --> https://bugs.documentfoundation.org/attachment.cgi?id=137332)

2) Finally the "new page style from selection icon" was revealed, but only when I undocked the "styles and formatting" window.

I still think this is a bug and should be fixed, because the "styles and formatting" window is by default docked and all the icons should be shown.
Comment 4 Dieter 2017-10-28 07:28:15 UTC
Created attachment 137334 [details]
Screenshot of styles dialog

The icon is there (see attachment). I think you have to enlarge the dialog window and use icons instead of words. => Set to RESOLVED NOTABUG
Comment 5 george 2017-10-29 21:50:48 UTC
Created attachment 137362 [details]
After installing Libreoffice-gtk2 and Libreoffice-gtk3
Comment 6 george 2017-10-29 21:53:33 UTC
(In reply to Dieter Praas from comment #4)
> Created attachment 137334 [details]
> Screenshot of styles dialog
> 
> The icon is there (see attachment). I think you have to enlarge the dialog
> window and use icons instead of words. => Set to RESOLVED NOTABUG

As I already posted in comment #3 I knew that I had to enlarge and undock the dialogue windows. Nevertheless the icon should be visible without having to enlarge the window.

However the "use icons instead of words" gave me a hint and I looked up why there were no icons but only words. Finally I discovered that I had to install from the package manager the following:

Libreoffice-gtk2
Libreoffice-gtk3

I also installed 

Libreoffice-style-oxygen
Libreoffice-style-tango

then I restarted libreoffice and... voila: --> https://bugs.documentfoundation.org/attachment.cgi?id=137362

Apparently these packages were essential (Linux Mint 18.2 fully updated) for the Libreoffice UI to work perfectly. I don't know though why they weren't installed in the first place, since the installation of libreoffice was from the official repository... Maybe this should be investigated.