Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 202106

Summary: [Improve Page Break Management] [Automation][Regression]PageBreak avoid does not work in PDF
Product: z_Archived Reporter: Wen Lin <wlin>
Component: BIRTAssignee: Gang Liu <hustlg>
Status: CLOSED FIXED QA Contact: Xiaodan Wang <xwang>
Severity: normal    
Priority: P3 CC: bluesoldier, digulla, krishna.shankar.v, lissaa, lshen, pchar, s.beni, w.schindling, wenfeng.fwd, wyan, xwang
Version: unspecifiedKeywords: plan
Target Milestone: 2.5.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 266647    
Bug Blocks:    
Attachments:
Description Flags
report design
none
Screen shot
none
Screen shot none

Description Wen Lin CLA 2007-09-03 22:35:53 EDT
Created attachment 77606 [details]
report design

Description:
   GroupPageBread avoid does not work in PDF

TestDate:
20080904

steps to reproduce:

   - use the attached report design
   - preview 

Expected Result:
GroupPageBread avoid works correctly

Actual Result:
Please refer to the snapshot attached.
Comment 1 Wen Lin CLA 2007-09-03 22:36:39 EDT
Created attachment 77607 [details]
Screen shot
Comment 2 Wen Lin CLA 2007-09-03 22:37:18 EDT
Created attachment 77608 [details]
Screen shot
Comment 3 Wei Yan CLA 2007-09-05 22:42:57 EDT
scheduler to 2.3 to enhance the page-break-avoid supporting.
Comment 4 Gang Liu CLA 2007-10-17 01:14:24 EDT
*** Bug 206564 has been marked as a duplicate of this bug. ***
Comment 5 Maggie Shen CLA 2007-10-29 23:34:11 EDT
There's the same problem with ps and ppt emmitter. 
Comment 6 Lisa CLA 2007-12-21 02:56:48 EST
There's the same problem with pdf in BIRT 2.2.1 v 20070710
Comment 7 Lisa CLA 2007-12-21 03:11:31 EST
There's the same problem with pdf in BIRT 2.2.1 v 20070710 on Linux, Windows XP and Win2003.
Comment 8 Gang Liu CLA 2008-01-28 22:39:29 EST
*** Bug 216553 has been marked as a duplicate of this bug. ***
Comment 9 Wei Yan CLA 2008-04-13 23:44:20 EDT
defer to future release.
Comment 10 Aaron Digulla CLA 2008-04-24 11:38:41 EDT
Here is an issue which is probably related: Create a table with two columns. Put a short item into the first column and a long one (which breaks into several lines) into the second.

If you enable "avoid page break inside" for the table detail rows, you'll get this effect with BIRT 2.2.2: The text in the first column will appear on the first page but the big element will be pushed to the next page.

If you have more columns beyond that, they will also show up on the first page, if they are small enough.

So basically, the page break algorithm doesn't work on table rows at all, only on individual cells and when it pushes a big cell to the next page, it forgets to do the same for the other cells on the same row.
Comment 11 Wei Yan CLA 2008-06-03 22:56:02 EDT
defer to future and should be resolved with the page number/page model/page event together.
Comment 12 Werner Schindling CLA 2008-07-23 05:52:51 EDT
This doesn't work for me with version 2.3 either.
"avoid page break inside" doesn't work for groups when exporting to PDF.
Comment 13 Sankar Veeraiyan CLA 2008-08-21 12:41:17 EDT
Hi,

I am also facing this issue.

"Page Break After" is not working in BIRT 2.3.0 for any controls.



Comment 14 Patrick _ CLA 2008-10-22 03:45:39 EDT
cc
Comment 15 jokma CLA 2008-11-07 07:23:13 EST
I have a similar problem in BIRT 2.2.2.
The grid has property: page break inside == avoid.
1. but the grid breaks apart.
2. breaked row appears twice in report. Some cells of row are on page N, and others are on page N+1.
3. the braked row overlays page footer.
Comment 16 Wei Yan CLA 2009-02-04 03:31:36 EST
need more time to resolve those issues.
Comment 17 Gang Liu CLA 2009-03-04 23:59:29 EST
fixed.
Comment 18 Xiaodan Wang CLA 2009-03-11 02:26:45 EDT
Verified in build (2.5.0.v20090311-0630)
Comment 19 Gang Liu CLA 2009-03-11 03:20:18 EDT
*** Bug 206564 has been marked as a duplicate of this bug. ***
Comment 20 Wen Lin CLA 2009-03-11 03:57:51 EDT
Closed.