Download it now!
Bug 99106 - Improve control alignment in header and footer dialog
Summary: Improve control alignment in header and footer dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected)
Hardware: All All
: low enhancement
Assignee: Not Assigned
Keywords: needsDevEval, topicUI
Depends on:
Blocks: Dialog
  Show dependency treegraph
Reported: 2016-04-05 21:29 UTC by Yousuf Philips (jay) (retired)
Modified: 2016-10-27 12:41 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

current vs two mockups (58.72 KB, image/png)
2016-04-05 21:29 UTC, Yousuf Philips (jay) (retired)
Prototype Glade file (16.42 KB, application/x-gtk-builder)
2016-04-06 19:32 UTC, Adolfo Jayme

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2016-04-05 21:29:53 UTC
Created attachment 124111 [details]
current vs two mockups

While watching a video tutorial i noticed now badly aligned the header and footer dialog was and decided to do so mockups for its improvement. Here are the list of improvements illustrated in the mockup.

1) Alignment - Correctly align child label/controls under their parents and align input controls together

2) Labels - Change 'Fixed' and 'Footer text:' to 'Text:' and 'Language:' to 'Locale:'

3) Separator - As 'Do not show on the first slide' checkbox is not related to the preview.

4) The 'Slide' tab has the heading 'Include in Slide' and the 'Notes and Handouts' tab has the heading 'Include in page', so one of these need to be changed to correct the case.

5) Was wondering if we should change the 'Apply to All' button to simply 'Apply', as applying header and footer properties to all slides is what is the most common. If so, then we should likely change the 'Apply' button to something like 'Apply to Current Slide'.

These changes would be made both to the 'Slide' and 'Notes and Handouts' tabs. 

Glade file -
Comment 1 Yousuf Philips (jay) (retired) 2016-04-05 21:40:44 UTC
6) Format label should be disabled when the variable date and time isnt selected.
Comment 2 Heiko Tietze 2016-04-05 22:04:20 UTC
Clearly #2. The preview needs alignment - or whitespace. And "Do not show on first page" title and indentation. The HR has no reason, or does it?
'Apply to All' is same confusing as 'Apply to Current'. Better solution would be to start the dialog from different origins, like master = apply to all vs. context menu = apply current. Somehow.
Comment 3 Adolfo Jayme 2016-04-06 19:32:44 UTC
Created attachment 124134 [details]
Prototype Glade file

So, this dialog’s alignment is all messed up because of the abuse of boxes to contain controls that should be hidden or shown dynamically (for example, the box “header_box” whose presence is checked in Instead, the controls themselves should be checked in the code for this purpose.

I’ve attached a modified, simplified .ui file for you to open in Glade and tell me what you think. If you try to load it in LibreOffice, it will crash, because I’ve removed all of the redundant boxes (such as the mentioned “header_box”) and you need to adapt the file headerfooterdlg.cxx accordingly. (Which is an Easy Hack, IMO).
Comment 4 Yousuf Philips (jay) (retired) 2016-04-15 16:56:32 UTC
Not an expert in glade like you are adolfo, so if you say its as good as the mockup, i'm fine with it, though i'd change 'Header text:' and 'Footer text:' to just 'Text:'.