Bug 39400 - First Page of first paragraph's copy problem because propery Text Flow > Break is set..
Summary: First Page of first paragraph's copy problem because propery Text Flow > Brea...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-20 05:34 UTC by Ildiko Molnar
Modified: 2016-09-29 10:20 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments
Copy problem of First Page style (702.45 KB, video/mp4)
2011-07-20 05:34 UTC, Ildiko Molnar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ildiko Molnar 2011-07-20 05:34:55 UTC
Created attachment 49340 [details]
Copy problem of First Page style

Create a document and be one of pages First Page style - Format/Styles and Formatting/Page Styles/ double click on First Page)

Copy some letters from the first paragraph of First Page to the other paragraph.
This will be created on the second page. It creates page break.

The rest of paragraph works well.
The AutoText created First Page causes same problem.

See the video
Comment 1 Rainer Bielefeld Retired 2011-07-20 21:59:52 UTC
I see the effect with "LibreOffice 3.4.1  - WIN7  Home Premium (64bit) German UI [OOO340m1 (Build:103)]" .

Same behavior with OOo 3.1.1.

May be that's the intended behavior? I don't know.

@Ildiko Molnar:
Please contribute information concerning your OS and LibO version!
Comment 2 Ildiko Molnar 2011-07-20 22:52:14 UTC
I tested it Hungarian Win XP 32-bit, LibreOffice 3.4.1 OOO340m1 (Build:103.)
Same behavior with OOO 3.2.1
Comment 3 Ildiko Molnar 2011-07-22 00:59:51 UTC
I can reproduce it on Hun Win7 too.
Comment 4 manj_k 2011-07-28 15:17:36 UTC
How to avoid this effect (for the first paragraph of the first page):
Format > Paragraph > Text Flow > Breaks
[ ] Insert [disabled]

That's always enabled for the first paragraph of the first page;
please don't ask me why ;)
I think it's the intended behavior (the same with OOo).
Comment 5 Cor Nouws 2011-08-15 15:13:24 UTC
maybe Cedric knows if this is needed ..?
Comment 6 Michael Stahl (allotropia) 2013-09-30 17:59:46 UTC
suspect the problem could be that paragraph attributes (including the
page break) are copied to the target paragraph; they should be copied
when the whole paragraph is copied but not if less than the whole
paragraph is selected.
Comment 7 QA Administrators 2015-04-01 14:40:29 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2015-04-22 11:17:57 UTC
Still happens.

Win 7 Pro 64-bit Version: 5.0.0.0.alpha0+ (x64)
Build ID: 211c12b9c64facd1c12f637a5229bd6a6feb032a
TinderBox: Win-x86_64@42, Branch:master, Time: 2015-04-18_01:51:17
Locale: fi_FI
Comment 9 János Néhrer 2015-09-13 05:59:41 UTC
Issue reproduced in English Win 8.1 x64, LibO 5.0.1

I don't know why the first paragraph has a page break before it, as i
Comment 10 János Néhrer 2015-09-13 06:10:48 UTC
Hello, I'm Janos from the company of Ildiko Molnar, who originally reported the bug:

Issue reproducible under Win 8.1 English + LibO 5.0.1

Observations:
- Every time I copy+paste the very first paragraph of the first page with 'first page' style, the copy will produce a new page with 'First Page' style.
- If I go to a page with Default page style and make it First page style, then write a paragraph into it, there won't be any page break produced.

Thus, I don't see any advantage of having a page break in the fist paragraph of a document. It must be a workaround for something).

However, the whole issue seems minor and the workaround in Comment #4 is ok.
Please consider fixing this by removing the page break or close the bug with won' fix.
Comment 11 Cor Nouws 2015-09-13 06:43:24 UTC
Thanks for your comment Ildiko. 
Let's keep this open. And glad that the work around helps for you.
Cor
Comment 12 QA Administrators 2016-09-20 10:32:37 UTC Comment hidden (obsolete)
Comment 13 János Néhrer 2016-09-21 03:57:02 UTC
Tested in the following environment:
Win 8.1 x86-64
Version: 5.2.1.2
Build ID: 31dd62db80d4e60af04904455ec9c9219178d620

Observations are as follows:

1. When setting page style of the first page, the first paragraph gets a page break set. It is set even if the same page style is applied again to the same page. It is set for any page style, not just First Page. It is set only on the very first paragraph of the document (tested with setting page style on page 2 with text flown there, no paragraph change was experienced).

2. When copying the whole paragraph, page break is inserted.

3. When copying some letters from the first paragraph, pasting doesn't insert page breaks any more.

Observation 1 happens for unknown reason. If there is an issue, the issue is this.
Observation 2 is working as designed.
Observation 3 shows that the original report is resolved.

I suggest to close the bug as fixed and either report Observation 1 as a new bug or document it to make it working as designed.
Comment 14 Buovjaga 2016-09-29 10:20:39 UTC
(In reply to János Néhrer from comment #13)
> I suggest to close the bug as fixed and either report Observation 1 as a new
> bug or document it to make it working as designed.

OK. You can continue with observation 1 as we (the QA team) is completely swamped with work. Search for a possible existing report etc.