Bug 86630 - MENU: Easily insert page number into header/footer
Summary: MENU: Easily insert page number into header/footer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.0.alpha2
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords: needsDevEval, topicUI
: 106239 (view as bug list)
Depends on:
Blocks: Main-Menu UNO-Command Toolbar-Split-Group-Buttons
  Show dependency treegraph
 
Reported: 2014-11-23 14:45 UTC by Yousuf Philips (jay)
Modified: 2017-04-24 14:32 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments
Inserting a page number in MS Word (39.81 KB, image/png)
2014-11-25 14:45 UTC, Yousuf Philips (jay)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) 2014-11-23 14:45:11 UTC
In order to make it easier for individuals to add a page number to a document, we could provide this in the Insert Menu in the following way.

Insert
  Page Number
    Into Current Position
    - separator -
    Into Footer Centered
    Into Footer Left Aligned
    Into Footer Right Aligned
    - separator -
    Into Header Centered
    Into Header Left Aligned
    Into Header Right Aligned

Alternatively we could shrink this down by allowing just one in entry each for footer and header and it have it centered and then a user can adjust it accordingly.
Comment 1 Cor Nouws 2014-11-23 15:00:39 UTC
Hi Jay,

I expect that in other applications Insert > Page number also takes care of placing the cursor in the footer, and adding a footer first when needed.
"Adding a page number to the document" is not the same.
Comment 2 Yousuf Philips (jay) 2014-11-23 16:12:21 UTC
Hi Cor,

Well this one was targeting Writer. :D

With Calc, it would have to modify the styles used in the Header and Footer dialog. With Impress it would check the checkboxes in the Header and Footer dialog for footer and slide number.
Comment 3 Cor Nouws 2014-11-23 21:15:54 UTC
(In reply to Jay Philips from comment #2)
> Hi Cor,
> 
> Well this one was targeting Writer. :D

Well, I'm a bit baffled here. What makes you think that I think it is not Writer?

What is the use of Insert > Page number when the cursor is _not_ in a header/footer?
What people know from the other application, Insert > Page number that is a combination of our Insert > Footer .. and Insert > Field > Page number.
Just as I wrote in the other issue where you suggested to create the Insert > Page number menu. It's not a change as simple as you suggest in you initial comment in this issue.

I assume that an attitude more focused on trying to understand what someone writes, rather then again explaining what your idea was, may be beneficial here.

> With Calc, it would have to modify the styles used in the Header and Footer
> dialog. With Impress it would check the checkboxes in the Header and Footer
> dialog for footer and slide number.

Therefore, since the header/footer in Calc is default, the menu Edit > Header/Footer is logic there. So that one can edit the contents and formatting.
And in Impress indeed Insert > Page number to activate the placeholder that is in the footer and part of the masterpage.
Comment 4 Yousuf Philips (jay) 2014-11-24 05:06:40 UTC
(In reply to Cor Nouws from comment #3)
> Well, I'm a bit baffled here. What makes you think that I think it is not
> Writer?

As you had mentioned other applications (i'm assuming you meant Calc and Impress by that) i was just clarifying the concept.

> What is the use of Insert > Page number when the cursor is _not_ in a
> header/footer?

Insert > Page Number > Into Footer is intended to create a footer if one is not already present and add the page number to it.

> What people know from the other application, Insert > Page number that is a
> combination of our Insert > Footer .. and Insert > Field > Page number.
> Just as I wrote in the other issue where you suggested to create the Insert
> > Page number menu. It's not a change as simple as you suggest in you
> initial comment in this issue.

Yes i should have been clearer with the concept in the initial description.

> Therefore, since the header/footer in Calc is default, the menu Edit >
> Header/Footer is logic there. So that one can edit the contents and
> formatting.

Yes you are correct about this as LO acts different to other apps, which dont put in the header/footer until a user decides to insert it.
Comment 5 Frank Berke 2014-11-25 12:14:19 UTC
Instead of inflating the menu structure, which slows down workflow, what is the point in letting the user choose whether or not to alter align in a second step?

Please mind, that activating header/footer decreases the real estate on your page, so that an unconscious acitation of these areas might lead to higher frustration levels if the users' carefully arranged content suddenly floats around.

And, as a final point: you usually enter page numbers just once, so there's no big saving anyway. If people repeatedly need documents that contain page numbering, they shoud be encouraged to create page templates.
Comment 6 Yousuf Philips (jay) 2014-11-25 14:45:29 UTC
Created attachment 110002 [details]
Inserting a page number in MS Word

(In reply to Frank Berke from comment #5)
> Instead of inflating the menu structure, which slows down workflow, what is
> the point in letting the user choose whether or not to alter align in a
> second step?

The point is to automate this process for the user. Have a look in the attachment for how MS Word does it for users.

> Please mind, that activating header/footer decreases the real estate on your
> page, so that an unconscious acitation of these areas might lead to higher
> frustration levels if the users' carefully arranged content suddenly floats
> around.

Most documents have page numbers put in the headers and footers, so i dont understand your argument.

> And, as a final point: you usually enter page numbers just once, so there's
> no big saving anyway. If people repeatedly need documents that contain page
> numbering, they shoud be encouraged to create page templates.

In a single document, you may have different sections and in those sections you would insert the page number each time or in different locations. You may also have different content on left and right pages.
Comment 7 Robinson Tryon (qubit) 2014-12-22 03:25:23 UTC
Merry UX-mas!
Comment 8 Yan Pas 2015-06-08 21:26:04 UTC
The purpose of this suggestion is to make life easier for newbies. It was impossible for me to insert page number without Google. But on the other side there is one extra entry in huge submenu.
As a Compromise:
Insert
	Footer
		Basic
		<Other styles>
		------------
		Page number in current page-style
	Header
		Basic
		<Other styles>
		------------
		Page number in current page-style

Footer and headers contain mostly only page number, so...
Comment 9 Robinson Tryon (qubit) 2016-08-25 05:39:25 UTC
We're replacing our use of the 'ux-advise' component with a keyword:
 Component -> LibreOffice
 Add Keyword: needsUXEval

[NinjaEdit]
Comment 10 Zenaan Harkness 2016-09-07 04:47:39 UTC
In MSO Word 2002, there is the option:
HEADER/FOOTER Toolbar -> Insert AutoText -> Page X of Y

This is a very useful shortcut, which I find myself lamenting the lack of in LO.

Would such a menu entry be a separate enhancement request, or part of this one?
Comment 11 Yousuf Philips (jay) 2016-09-07 20:32:43 UTC
(In reply to Zenaan Harkness from comment #10)
> Would such a menu entry be a separate enhancement request, or part of this
> one?

I think it is fine here as an alternative option for each of the submenu entries.
Comment 12 Yousuf Philips (jay) 2017-03-02 10:07:23 UTC
*** Bug 106239 has been marked as a duplicate of this bug. ***
Comment 13 mr.Pablo 2017-03-02 10:15:38 UTC
I agree that the submenu structure mentioned above by Yousuf Philips (Jay) makes a lot of sense and life would be made easier for LO users.

The submenu entries could also be called:

Insert
  Page Number
    Into Current Position
    - separator -
    Bottom Centered
    Bottom Left Aligned
    Bottom Right Aligned
    - separator -
    Top Centered
    Top Left Aligned
    Top Right Aligned
Comment 14 Heiko Tietze 2017-03-02 10:22:57 UTC
I'm against the proposed shortcut, in particular with all the formatting options, and agree with comment 5.

Removing UXEval
Comment 15 mr.Pablo 2017-03-02 10:38:48 UTC Comment hidden (no-value)
Comment 16 V Stuart Foote 2017-03-02 14:33:54 UTC
Adjusting the menu control is fine.

We already have the "Page Number" entry on the Insert menu. So simply making it a split menu to add the sub-menu as indicated in comment 0 or comment 13 does not clutter the UI and makes sense.  Although I would use the "At Current Position" and "Into" for the header/footer.

It becomes a more specialized alternative to the current Insert -> Field sub-menu.
Comment 17 Yousuf Philips (jay) 2017-04-24 14:32:26 UTC
So we need a group button type UNO command of .uno:InsertPageNumberField, similar to .uno:InsertFieldCtrl. It will be useful button that can go into the Insert tab of the Notebookbar.