Bug 5358

Only 1st page of rich text shows in report 24 October, 2020

Uri Netanel
30 September, 2020
Product: PowerBuilder Category: DataWindow
Version: 2019 R2 Build: 2323
Classification: Sybase (legacy) bug Publishing: Public
Priority: P3
Status: Scheduling Reason:
Mark Lee @Appeon 23 October, 2020
#6
Hi Uri,

Thanks for your update and for providing the new test case.
For the issue of "The pages after the 1st one never show in the report configuration which I tested, i.e. a nested report within a composite dw.", I can reproduce it on our side in PB 12.6 and PB 2019 R2 2353 using all the RichTextEdit control options.
 
We will escalate this issue to our development team for further analysis. We will need some time to figure it out and get back to you if any progress we would make.
 
For your situation, we don’t recommend using the richtext column to display multiple RTF content. I suggest you use RichText datawindow or RichTextEdit controls in the Window instead.
 
For the issue of "Please note that at the natural page break there isn't enough space between the lines so that the line at which the page breaks is split vertically between the pages, viewing its upper half only on the previous page and its lower half on the next.", we suggest that you report a new bug for it. This helps us to identify and manage our bugs. Our policy is one bug one ticket. Thanks for your understanding!

Regards,
Mark Lee
Uri Netanel 18 October, 2020
#5
RichTextReport - update.zip (6988KB)

Hi Mark

Thank you for your answer.
The pages after the 1st one never show in the report configuration which I tested, i.e. a nested report within a composite dw.
As far as I found, Paper Orientation has no effect on the problem. Please check this out with the Orientation radio buttons in the attached test case.
BTW, On most reports in our business realm the Paper Orientation attribute would need to be Portrait.
The fact that a manual page break or a natural one causes different behaviour does not solve the problem.
Please note that at the natural page break there isn't enough space between the lines, so that the line at which the page breaks is split vertically between the pages, viewing its upper half only on the previous page and its lower half on the next.
Of course, we still require a solution to the special case when a user puts a manual page break for their needs.

To this test case I added to the secondary window (activated via "Show Rich Text Internally" button) 2 radio buttons setting the rich text column's TabSequence to 0 and 10 respectively. Please note that the effect of tab order on displaying pages is similar to the effect of the datawindow gaining or losing focus.
Thank you
Uri
Mark Lee @Appeon 16 October, 2020
#4
Hi Uri,

Thanks for reporting this problem.
I can reproduce it on our side. But for your issue, it seems that the child report column being too long while the report visual page width being too small causes this problem.
 
If you change the Paper Orientation attribute of nested DataWindows to landscape, then you can see that it is a manual page break or a natural one causes different behaviour.

Regards,
Mark Lee
Mark Lee @Appeon 01 October, 2020
#3
Hi Uri,

Thanks for report the problem. We'll work on it and get back to you soon.
Thanks for your patience and understanding.

Regards,
Mark Lee
Chris Pollach @Appeon 30 September, 2020
#2
Hi Uri;

  Thank you for providing a Test Case for this issue. 

  FYI: PB 2019 R3 will have the newer TX Edit object v 28.0. The public beta version is now available for you to try if you like:  https://www.appeon.com/developers/pb-2019r3-beta.html

  In the mean-time, I will now transfer this ticket over to the main Support / Engineering Team for their review of your issue.

Regards ... Chris
Uri Netanel 30 September, 2020
#1
report.zip (4698KB)

*Phenomenon:
In a report with nested datawindows containing rich text style columns only 1st page of the rich text data is displayed. Beyond the first page all is truncated. I could not discern whether a manual page break or a natural one caused different behaviour.
Attached are screenshots from our application VS from TX editor showing that the next page does not appear in our application. Instead you see the next nested report.
Currently I made a demo application in which not data is shown at all, but I'll try to make a more relevant demo and if I succeed I'll send you additional attachments.

*Reproduce Steps:
Configure ODBC to connect to the attached pbdemo2019R2.db file. Use can use or view the attached "demo DB.reg" file.
Run the demo and press the Retrieve button.
Data is retrieved but nothing is shown.
The same behaviour is experienced with the TX text control activeX X14 professional/enterprise (licensed*) , the Built-in TX text control and the Built-in Rich Edit control. 

Remarks:
*our TX license is for version 28.0.
We put  manual page breaks in our data using both the TX editor and MS Word.
In our application the column with the rich text style is defined char(32766). We tried other values such as 10000, 100000 and 3276600 but it did not help.
OS:
Windows 10
Platform:
64-bit
Database Type:
SAP SQL Anywhere
Database Version: