Bug 81227 - UI: Improve header/footer label to show it is for first/left/right page
Summary: UI: Improve header/footer label to show it is for first/left/right page
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: ux-advise (show other bugs)
Version:
(earliest affected)
4.4.0.0.alpha0+ Master
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: target:4.4.0
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-11 11:44 UTC by Luke Deller
Modified: 2014-07-25 13:15 UTC (History)
2 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 Luke Deller 2014-07-11 11:44:49 UTC
When editing a page header, a label is shown just below the header area with the text "Header (Default Style)" - where the text in brackets is the name of the current page style.

It would be really helpful if this label showed whether we were editing the header for the first page only, or for left or right pages only.  This depends on the page style header settings "same content on first page" and "same content left/right".

For comparison, Microsoft Word shows labels such as:
- "First Page Header -Section 1-" (within a section named "Section 1")
- "Odd Page Header -Section 1-"
- "Even Page Header -Section 1-"
(Word omits the section name if the document contains only one section)

My proposal for LibreOffice would be to add a prefix to the existing label where applicable, i.e.:
- "First Page Header (Default Style)"
- "Left Page Header (Default Style)"
- "Right Page Header (Default Style)"
- or just the existing label "Header (Default Style)" if none of the above apply

Perhaps others would have a different opinion on the precise wording - feedback on this needed.  Some alternatives:
- "Header (Default Style, Left Page)"
- "Left Header (Default Style)"

The same change should be done for footers.

(I can propose a patch to implement this change, if agreed it is a good idea)
Comment 1 Yousuf Philips (jay) (retired) 2014-07-11 12:24:28 UTC
Hello Luke,

I think labelling these differently so that the user doesnt have to go into header properties is a good thing. Possibly even color them different might be a good thing.
Comment 2 Luke Deller 2014-07-11 13:10:48 UTC
Thanks Jay.  Thinking about the idea for possibly using a different colour: I see the current colour is based on Preferences -> LibreOffice -> Appearance -> Custom Colors -> Text Document -> "Headers and Footer delimiter".  I suppose we would need to add another two or three items into that list, and choose some default colours for them.

I can start off with the label text change as that seems clearest.
Comment 3 Yousuf Philips (jay) (retired) 2014-07-11 21:15:41 UTC
Yes it would be good to work on the easier part first, but i'd wait for the ux team to chime in on the wording.
Comment 4 Commit Notification 2014-07-25 10:26:58 UTC
Luke Deller committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=7ec3da8bb6c82d78f4bfaa69c7c91d6fc99dfad4

Improve header/footer UI label (fdo#81227)



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 5 Luke Deller 2014-07-25 13:15:46 UTC
I see that my patch proposed for the label text change has been pushed through by a reviewer as there was no UX feedback.  If any alterations are desired now that it can be seen in daily builds then please let me know.