Issue 121546 - Page count increases if a graphic file is inserted
Summary: Page count increases if a graphic file is inserted
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: 3.4.1
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact: miele angelo
Depends on:
Reported: 2012-12-25 04:15 UTC by HD
Modified: 2013-04-15 23:27 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 3.4.1
Developer Difficulty: ---

a file containing many pictures and text (61.01 KB, application/vnd.oasis.opendocument.text)
2012-12-25 04:15 UTC, HD
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description HD 2012-12-25 04:15:30 UTC
Created attachment 80069 [details]
a file containing many pictures and text

If a graphic file is inserted in a Writer document, page count increases uncontrollably.
This problem seems to occur in files containing many pictures and text.

Reproduced with OOo3.2.1,3.3.0 AOO3.4.0 3.4.1on Win 7 and XP.

Steps to reproduce:
1. Open the document "sample.odt".
2. Place a cursor at the first paragraph in Page1.
3. Insert a graphic file.(size: 1024x768)
4. Page count increases 15 to 21 gradually.
   (Scroll down the window.)

I found that in some cases, you can solve the problem if you set the following option, but this setting is needed on each file.
So I think it is not a fundamental solution of the problem. 

"Tool" - "Option" - " Writer" - "Compatibility" - 
"Use OpenOffice.org1.1 object positioning"

Thank you.
Comment 1 HD 2012-12-26 02:56:59 UTC
In my previous comment, I wrote the function-name as"Use OpenOffice.org1.1 object positioning" by mistake. I meant "Use OpenOffice.org1.1 text wrapping around object". I am sorry about that.
Comment 2 miele angelo 2013-01-16 14:28:32 UTC
I can confirm the bug.
Comment 3 Oliver-Rainer Wittmann 2013-04-15 15:13:02 UTC
I also reproduced the defect in AOO 3.4.1

The defect does not depend on the action to insert another picture.
If you place the cursor at the beginning of the second paragraph of the document and insert a page break (e.g. by hitting keys CTRL-RETURN) the page layout is also broken.

To 'correct' the layout just trigger another layout of the document by inserting another paragraph. Afterwards you can revert the insertion of this paragraph with the Undo function.
Comment 4 Ariel Constenla-Haile 2013-04-15 23:27:51 UTC
Resetting Difficulty to default