https://bugs.freedesktop.org/show_bug.cgi?id=35459

Roman Eisele <b...@eikota.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
                 CC|                            |b...@eikota.de

--- Comment #2 from Roman Eisele <b...@eikota.de> 2012-05-01 08:42:24 PDT ---
[REPRODUCIBLE] with LibreOffice 3.5.3.2 (Build-ID:
235ab8a-3802056-4a8fed3-2d66ea8-e241b80), German UI, running on MacOS X 10.6.8
German.

Stepts to reproduce:
1) Start LibreOffice, create a new empty Writer (ODT) document.
2) Optional, but useful in order to make results visible easily: change the
page style 'First page', e.g. by increasing the top margin and/or adding a
background color, to make it look different from the 'Default' page style.
3) From the menu bar, select 'Format > Title Page'; in the dialog window 'Title
Pages', select 'Insert new title pages' (instead of 'Convert existing pages to
title pages'); don't change any of the other settings, just click 'OK'.
4) A new page is added before the first page; the new page has the page style
'First page' -- good!
5) Repeat step 3.
6) A new page is added between page 1 (the title page) and 2 (the default
page); but the new page has the page style 'Default' -- wrong!

Expected behaviour:
Step 5 should have exactly the same result as step 3: one new page of style
'First page' is added at the beginning of the document. Therefore, after step
5, there should be 3 pages in the document, both the 1st and the 2nd of page
style 'First page'.

Actual behaviour:
After step 5, there are 3 pages in the document, of course, but only the 1st
one is of page style 'First page', the 2nd is of page style 'Default'.

*

Additional observation:
The results are the same if, in step 3 and within the 'Title Pages' dialog
window, you change the count of title pages to insert from '1' to '2': two new
pages are inserted at the start of the document, but only the 1st one is of
style 'First page'.

The results are also the same if, in step 5 and within the 'Title Pages' dialog
window, you change the 'Place title pages' setting from 'Document start'
(default value) to 'Page ...' and insert '1' into the edit field after the
'Page' value.

But the results are DIFFERENT if, in step 5 and within the 'Title Pages' dialog
window, you change the 'Place title pages' setting from 'Document start'
(default value) to 'Page ...' and insert '2' into the edit field after the
'Page' value. Now both page 1 and 2 have the page style 'First page', as
expected.

*

Some ideas:
At the first glance, this looked like a very minor issue to me; I even wondered
why someone should want to add more that one title page to a single document.
But after thinking about it, I see at least three reasons why the current
behaviour is wrong:

1) StefanW's description also has some ideas about the background of this bug,
i.e. about what is going wrong here. If his ideas are right, there is an
underlying problem (or error) behind the current behaviour which should get
fixed.

2) The dialog window 'Title Pages' always speaks of 'title pages' in plurality
-- the controls are labelled 'Insert new title pages', 'Place title pages',
etc., and you can even insert more than one title page at once. So this
function clearly should be able to insert more than one title page. And, well,
a title page should have the page style 'First page' -- at least, this is the
setting at the bottom of the 'Title Pages' dialog window.

3) The current behaviour is inconsistent: see my additional observation. Just
changing the 'Place title pages' setting does not only change the place where
the new page gets inserted, but also changes the page style used for it. We
should either NEVER allow more than one page of style 'First page' per
document, or the 'Format > Title Page' function should always add pages of the
page style selected at the bottom of the 'Title Pages' dialog window, which is,
per default, the 'First page' page style.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to